Open CASCADE Technology
7.1.0.beta
|
This class represents a graphical 3D point. More...
#include <Graphic3d_Vertex.hxx>
Public Member Functions | |
Graphic3d_Vertex () | |
Creates a point with 0.0, 0.0, 0.0 coordinates. More... | |
Graphic3d_Vertex (const Graphic3d_Vertex &thePoint) | |
Creates a point with coordinates identical to thePoint. More... | |
Graphic3d_Vertex (const Standard_ShortReal theX, const Standard_ShortReal theY, const Standard_ShortReal theZ) | |
Creates a point with theX, theY and theZ coordinates. More... | |
Graphic3d_Vertex (const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ) | |
Creates a point with theX, theY and theZ coordinates. More... | |
void | SetCoord (const Standard_ShortReal theX, const Standard_ShortReal theY, const Standard_ShortReal theZ) |
Modifies the coordinates. More... | |
void | SetCoord (const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ) |
Modifies the coordinates. More... | |
void | Coord (Standard_ShortReal &theX, Standard_ShortReal &theY, Standard_ShortReal &theZ) const |
Returns the coordinates. More... | |
void | Coord (Standard_Real &theX, Standard_Real &theY, Standard_Real &theZ) const |
Returns the coordinates. More... | |
Standard_ShortReal | X () const |
Returns the X coordinates. More... | |
Standard_ShortReal | Y () const |
Returns the Y coordinate. More... | |
Standard_ShortReal | Z () const |
Returns the Z coordinate. More... | |
Standard_ShortReal | Distance (const Graphic3d_Vertex &theOther) const |
Returns the distance between two points. More... | |
Data Fields | |
float | xyz [3] |
This class represents a graphical 3D point.
|
inline |
Creates a point with 0.0, 0.0, 0.0 coordinates.
|
inline |
Creates a point with coordinates identical to thePoint.
|
inline |
Creates a point with theX, theY and theZ coordinates.
|
inline |
Creates a point with theX, theY and theZ coordinates.
|
inline |
Returns the coordinates.
|
inline |
Returns the coordinates.
Standard_ShortReal Graphic3d_Vertex::Distance | ( | const Graphic3d_Vertex & | theOther | ) | const |
Returns the distance between two points.
|
inline |
Modifies the coordinates.
|
inline |
Modifies the coordinates.
|
inline |
Returns the X coordinates.
|
inline |
Returns the Y coordinate.
|
inline |
Returns the Z coordinate.
float Graphic3d_Vertex::xyz[3] |