CurvePoint Class Reference
#include <Curve.h>
Inheritance diagram for CurvePoint:
List of all members.
Detailed Description
Class to represent a point of a curve. A CurvePoint can be any point of a 1D curve (it doesn't have to be a vertex of the curve). Any
Interface1D is built upon ViewEdges, themselves built upon FEdges. Therefore, a curve is basically a polyline made of a list
SVertex. Thus, a CurvePoint is built by lineraly interpolating two
SVertex. CurvePoint can be used as virtual points while querying 0D information along a curve at a given resolution.
Constructor & Destructor Documentation
|
Builds a CurvePoint from two SVertex and an interpolation parameter. - Parameters:
-
| iA | The first SVertex |
| iB | The second SVertex |
| t2d | A 2D interpolation parameter used to linearly interpolate iA and iB |
|
|
Builds a CurvePoint from two CurvePoint and an interpolation parameter. - Parameters:
-
| iA | The first CurvePoint |
| iB | The second CurvePoint |
| t2d | The 2D interpolation parameter used to linearly interpolate iA and iB. |
|
Member Function Documentation
|
Returns the first SVertex upon which the CurvePoint is built. |
|
Returns the second SVertex upon which the CurvePoint is built. |
virtual NonTVertex* castToNonTVertex |
( |
|
) |
[inline, virtual] |
|
virtual SVertex* castToSVertex |
( |
|
) |
[inline, virtual] |
|
virtual TVertex* castToTVertex |
( |
|
) |
[inline, virtual] |
|
virtual ViewVertex* castToViewVertex |
( |
|
) |
[inline, virtual] |
|
real curvatureFredo |
( |
|
) |
const |
|
virtual string getExactTypeName |
( |
|
) |
const [inline, virtual] |
|
virtual Id getId |
( |
|
) |
const [inline, virtual] |
|
virtual Nature::VertexNature getNature |
( |
|
) |
const [inline, virtual] |
|
virtual Vec2f getPoint2D |
( |
|
) |
const [inline, virtual] |
|
virtual Vec3f getPoint3D |
( |
|
) |
const [inline, virtual] |
|
virtual real getProjectedX |
( |
|
) |
const [inline, virtual] |
|
|
Returns the projected 3D X coordinate of the point
Reimplemented from Interface0D. |
virtual real getProjectedY |
( |
|
) |
const [inline, virtual] |
|
|
Returns the projected 3D Y coordinate of the point
Reimplemented from Interface0D. |
virtual real getProjectedZ |
( |
|
) |
const [inline, virtual] |
|
|
Returns the projected 3D Z coordinate of the point
Reimplemented from Interface0D. |
virtual real getX |
( |
|
) |
const [inline, virtual] |
|
|
Returns the 3D X coordinate of the point
Reimplemented from Interface0D. |
virtual real getY |
( |
|
) |
const [inline, virtual] |
|
|
Returns the 3D Y coordinate of the point
Reimplemented from Interface0D. |
virtual real getZ |
( |
|
) |
const [inline, virtual] |
|
|
Returns the 3D Z coordinate of the point
Reimplemented from Interface0D. |
void SetA |
( |
SVertex * |
iA |
) |
[inline] |
|
|
Sets the first SVertex upon which to build the CurvePoint. |
void SetB |
( |
SVertex * |
iB |
) |
[inline] |
|
|
Sets the second SVertex upon which to build the CurvePoint. |
void SetT2d |
( |
float |
t |
) |
[inline] |
|
|
Sets the 2D interpolation parameter to use. |
float t2d |
( |
|
) |
const [inline] |
|
|
Returns the interpolation parameter. |
The documentation for this class was generated from the following file: