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

Public Member Functions

 FixedScale ()
 
 FixedScale (float sx, float sy)
 
float scaleX (float t)
 
float scaleY (float t)
 

Detailed Description

Defines the scale to be applied to the cross-section at various points along the shape's path.

Author
Peter Lager

Constructor & Destructor Documentation

shapes3d.contour.FixedScale.FixedScale ( )

Apply a 1:1 scale so effectively does nothing.

shapes3d.contour.FixedScale.FixedScale ( float  sx,
float  sy 
)

Apply a constant scale along along the path of the shape.

Parameters
sxscale to be applied on one axis
syscale to be applied on the other axis

Member Function Documentation

float shapes3d.contour.FixedScale.scaleX ( float  t)
Returns
the x axis scale

Implements shapes3d.contour.Scale.

float shapes3d.contour.FixedScale.scaleY ( float  t)
Returns
the y axis scale

Implements shapes3d.contour.Scale.


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