|
Core 1.0
|
Tapering deformation performed in a disc. More...
#include <taper.h>
Public Member Functions | |
| Taper2 (const Disc2 &, const double &, const double &) | |
| Creates a tapering operator. | |
| ~Taper2 () | |
| Empty. | |
| Box2 | GetBox () const |
| Compute the bounding box of the warping domain. | |
| Vector2 | Warp (const Vector2 &) const |
| Warping function. | |
Protected Attributes | |
| Disc2 | disc |
| Reference tapering circle. | |
| double | r = 1.0 |
| Falloff radius. | |
| double | a = 1.0 |
| Tapering coefficient. | |
Tapering deformation performed in a disc.
The tapering function is defined by a cubic.
|
explicit |
Creates a tapering operator.
| d | Disc. |
| r | Radius. |
| a | Tapering coefficient. |