A vertex skeleton with a quadric or cubic falloff.
More...
#include <smooth.h>
|
| SmoothVertex (const Vector &, const double &, const double &=1.0, bool=true) |
| Create a smooth disc.
|
|
double | Value (const Vector &) const |
| Compute the intensity.
|
|
Vector | Center () const |
| Return the center.
|
|
double | Radius () const |
| Return the radius.
|
|
double | Strength () const |
| Return the intensity.
|
|
Box | GetBox () const |
| Compute the bounding box.
|
|
bool | CubicFalloff () const |
| Compute the Lipschitz constant.
|
|
bool | Inside (const Vector &) const |
| Compute the Lipschitz constant.
|
|
double | K () const |
| Compute the Lipschitz constant.
|
|
|
Vector | c |
| Center.
|
|
double | r |
| Falloff radius.
|
|
double | s |
| Intensity.
|
|
bool | cubic |
| Cubic or quadric falloff.
|
|
A vertex skeleton with a quadric or cubic falloff.
It uses either the cubic Cubic::SmoothCompact or Quadric::SmoothCompact falloff function.
- See also
- SmoothDisc, SmoothSegment
◆ SmoothVertex()
SmoothVertex::SmoothVertex |
( |
const Vector & | c, |
|
|
const double & | r, |
|
|
const double & | s = 1.0, |
|
|
bool | cubic = true ) |
|
explicit |
Create a smooth disc.
- Parameters
-
c | Center. |
r | Falloff radius. |
s | Intensity. |
cubic | Cubic flag, set to true to use cubic falloff, quadric otherwise. |
◆ Value()
double SmoothVertex::Value |
( |
const Vector & | p | ) |
const |
Compute the intensity.
- Parameters
-