Public Member Functions |
| DEFINE_STANDARD_ALLOC | Graphic3d_Vertex () |
| | Creates a point with 0.0, 0.0, 0.0 coordinates.
|
| | Graphic3d_Vertex (const Graphic3d_Vertex &APoint) |
| | Creates a point with coordinates identical to <APoint>.
It's just a copy, but this simplifies the management
of the constructors of VertexC, VertexN and VertexNC.
|
| | Graphic3d_Vertex (const Standard_Real AX, const Standard_Real AY, const Standard_Real AZ) |
| | Creates a point with <AX>, <AY> and <AZ> coordinates.
|
| void | SetCoord (const Standard_Real Xnew, const Standard_Real Ynew, const Standard_Real Znew) |
| | Modifies the coordinates of the point <me>.
|
| void | SetXCoord (const Standard_Real Xnew) |
| | Modifies the X coordinate of the point <me>.
|
| void | SetYCoord (const Standard_Real Ynew) |
| | Modifies the Y coordinate of the point <me>.
|
| void | SetZCoord (const Standard_Real Znew) |
| | Modifies the Z coordinate of the point <me>.
|
| void | Coord (Standard_Real &AX, Standard_Real &AY, Standard_Real &AZ) const |
| | Returns the coordinates of the point <me>.
|
| Standard_Real | X () const |
| | Returns the X coordinates of the point <me>.
|
| Standard_Real | Y () const |
| | Returns the Y coordinate of the point <me>.
|
| Standard_Real | Z () const |
| | Returns the Z coordinate of the point <me>.
|
Static Public Member Functions |
| static Standard_Real | Distance (const Graphic3d_Vertex &AV1, const Graphic3d_Vertex &AV2) |
| | Returns the distance between <AV1> and <AV2>.
|