Core 1.0
Public Member Functions | Protected Attributes | List of all members
SmoothVertex2 Class Reference

A vertex skeleton with a cubic falloff. More...

#include <smooth.h>

Public Member Functions

 SmoothVertex2 (const Vector2 &, const double &)
 Create a smooth disc. More...
 
double Value (const Vector2 &) const
 Compute the intensity. More...
 
Box2 GetBox () const
 Compute the bounding box.
 

Protected Attributes

Vector2 c
 Center.
 
double r
 Falloff radius.
 

Detailed Description

A vertex skeleton with a cubic falloff.

Constructor & Destructor Documentation

◆ SmoothVertex2()

SmoothVertex2::SmoothVertex2 ( const Vector2 c,
const double &  r 
)
explicit

Create a smooth disc.

Parameters
cCenter.
rFalloff radius.

Member Function Documentation

◆ Value()

double SmoothVertex2::Value ( const Vector2 p) const

Compute the intensity.

Parameters
pPoint.