h o m e | d o c u m e n t a t i o n | c l a s s h i e r a r c h y |
#include <Curve.h>
Inheritance diagram for CurvePoint:
Public Member Functions | |
virtual string | getExactTypeName () const |
virtual real | getX () const |
virtual real | getY () const |
virtual real | getZ () const |
virtual Vec3f | getPoint3D () const |
virtual real | getProjectedX () const |
virtual real | getProjectedY () const |
virtual real | getProjectedZ () const |
virtual Vec2f | getPoint2D () const |
virtual FEdge * | getFEdge (Interface0D &inter) |
virtual Id | getId () const |
virtual Nature::VertexNature | getNature () const |
virtual SVertex * | castToSVertex () |
virtual ViewVertex * | castToViewVertex () |
virtual NonTVertex * | castToNonTVertex () |
virtual TVertex * | castToTVertex () |
CurvePoint () | |
CurvePoint (SVertex *iA, SVertex *iB, float t2d) | |
CurvePoint (CurvePoint *iA, CurvePoint *iB, float t2d) | |
CurvePoint (const CurvePoint &iBrother) | |
CurvePoint & | operator= (const CurvePoint &iBrother) |
virtual | ~CurvePoint () |
bool | operator== (const CurvePoint &b) |
SVertex * | A () |
SVertex * | B () |
float | t2d () const |
void | SetA (SVertex *iA) |
void | SetB (SVertex *iB) |
void | SetT2d (float t) |
real | curvatureFredo () const |
CurvePoint | ( | ) |
Defult Constructor.
CurvePoint | ( | SVertex * | iA, | |
SVertex * | iB, | |||
float | t2d | |||
) |
Builds a CurvePoint from two SVertex and an interpolation parameter.
CurvePoint | ( | CurvePoint * | iA, | |
CurvePoint * | iB, | |||
float | t2d | |||
) |
Builds a CurvePoint from two CurvePoint and an interpolation parameter.
iA | The first CurvePoint | |
iB | The second CurvePoint | |
t2d | The 2D interpolation parameter used to linearly interpolate iA and iB. |
CurvePoint | ( | const CurvePoint & | iBrother | ) |
Copy Constructor.
virtual ~CurvePoint | ( | ) | [inline, virtual] |
Destructor
virtual string getExactTypeName | ( | ) | const [inline, virtual] |
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.
virtual Vec3f getPoint3D | ( | ) | const [inline, virtual] |
Returns the 3D point.
Reimplemented from Interface0D.
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 Vec2f getPoint2D | ( | ) | const [inline, virtual] |
Returns the 2D point.
Reimplemented from Interface0D.
virtual FEdge* getFEdge | ( | Interface0D & | inter | ) | [virtual] |
Returns the FEdge that lies between this Interface0D and the Interface0D given as argument.
Reimplemented from Interface0D.
virtual Id getId | ( | ) | const [inline, virtual] |
Returns the CurvePoint's Id
Reimplemented from Interface0D.
virtual Nature::VertexNature getNature | ( | ) | const [inline, virtual] |
Returns the CurvePoint's Nature
Reimplemented from Interface0D.
virtual SVertex* castToSVertex | ( | ) | [inline, virtual] |
Cast the Interface0D in SVertex if it can be.
Reimplemented from Interface0D.
virtual ViewVertex* castToViewVertex | ( | ) | [inline, virtual] |
Cast the Interface0D in ViewVertex if it can be.
Reimplemented from Interface0D.
virtual NonTVertex* castToNonTVertex | ( | ) | [inline, virtual] |
Cast the Interface0D in NonTVertex if it can be.
Reimplemented from Interface0D.
virtual TVertex* castToTVertex | ( | ) | [inline, virtual] |
Cast the Interface0D in TVertex if it can be.
Reimplemented from Interface0D.
CurvePoint& operator= | ( | const CurvePoint & | iBrother | ) |
Operator =
bool operator== | ( | const CurvePoint & | b | ) | [inline] |
Operator ==
SVertex* A | ( | ) | [inline] |
Returns the first SVertex upon which the CurvePoint is built.
SVertex* B | ( | ) | [inline] |
Returns the second SVertex upon which the CurvePoint is built.
float t2d | ( | ) | const [inline] |
Returns the interpolation parameter.
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.
real curvatureFredo | ( | ) | const |
angle in radians