Shapes 3D
3.0
|
Public Member Functions | |
PVector | point (float t) |
PVector | tangent (float t) |
PVector | orthogonal (float t) |
int | nbrSlices () |
boolean | isOpenPath () |
boolean shapes3d.path.Path.isOpenPath | ( | ) |
The path may or may not be open. For most paths this will always be false e.g. Spiral; for some it is always true e.g. Torus and for some it is a user option e.g. BSpline.
Implemented in shapes3d.path.AbstractPath.
int shapes3d.path.Path.nbrSlices | ( | ) |
Implemented in shapes3d.path.AbstractPath.
PVector shapes3d.path.Path.orthogonal | ( | float | t | ) |
Get the best vector orthogonal to the path tangent.
t | ≥0 and ≤1.0 |
Implemented in shapes3d.path.BCurve2D, shapes3d.path.Spiral, shapes3d.path.Linear, shapes3d.path.AbstractPath, and shapes3d.path.Ring.
PVector shapes3d.path.Path.point | ( | float | t | ) |
Get the position along the path.
t | ≥0 and ≤1.0 |
Implemented in shapes3d.path.BCurve2D, shapes3d.path.BCurve3D, shapes3d.path.BSpline3D, shapes3d.path.BSpline2D, shapes3d.path.Lissajous, shapes3d.path.Spiral, shapes3d.path.AbstractPath, shapes3d.path.Linear, and shapes3d.path.Ring.
PVector shapes3d.path.Path.tangent | ( | float | t | ) |
Get the normalised tangent to the path.
t | ≥0 and ≤1.0 |
Implemented in shapes3d.path.BCurve2D, shapes3d.path.BCurve3D, shapes3d.path.BSpline3D, shapes3d.path.BSpline2D, shapes3d.path.Spiral, shapes3d.path.Linear, shapes3d.path.AbstractPath, and shapes3d.path.Ring.