Shapes 3D  3.0
 All Classes Functions Variables Pages
shapes3d.contour.PathScale Class Reference
Inheritance diagram for shapes3d.contour.PathScale:

Public Member Functions

 PathScale (Path x_curve, Path y_curve)
 
float scaleX (float t)
 
float scaleY (float t)
 

Detailed Description

Use a BCurve2D or BSpline2D (or any curve that implements the Path interface)to define the shape of the scale curve.

Author
Peter Lager

Constructor & Destructor Documentation

shapes3d.contour.PathScale.PathScale ( Path  x_curve,
Path  y_curve 
)
Parameters
x_curve
y_curve

Member Function Documentation

float shapes3d.contour.PathScale.scaleX ( float  t)
Parameters
tin the range ≥0 and ≤1
Returns
returns the scale factor in the x direction

Implements shapes3d.contour.Scale.

float shapes3d.contour.PathScale.scaleY ( float  t)
Parameters
tin the range ≥0 and ≤1
Returns
returns the scale factor in the y direction

Implements shapes3d.contour.Scale.


The documentation for this class was generated from the following file: