This class allows the creation and update of a
3D point.
#include <Graphic3d_Vertex.hxx>
Public Member Functions |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| | 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>.
|
| | 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>.
|
Constructor & Destructor Documentation
| Graphic3d_Vertex::Graphic3d_Vertex |
( |
| ) |
|
Member Function Documentation
| void Graphic3d_Vertex::operator delete |
( |
void * |
anAddress | ) |
[inline] |
| void* Graphic3d_Vertex::operator new |
( |
size_t |
size | ) |
[inline] |
| void* Graphic3d_Vertex::operator new |
( |
size_t |
, |
|
|
void * |
anAddress |
|
) |
| [inline] |
The documentation for this class was generated from the following file: