This class represents a graphical 3D point.
More...
#include <Graphic3d_Vertex.hxx>
|
| | Graphic3d_Vertex () |
| | Creates a point with 0.0, 0.0, 0.0 coordinates.
|
| | Graphic3d_Vertex (const float theX, const float theY, const float theZ) |
| | Creates a point with theX, theY and theZ coordinates.
|
| | Graphic3d_Vertex (const double theX, const double theY, const double theZ) |
| | Creates a point with theX, theY and theZ coordinates.
|
| void | SetCoord (const float theX, const float theY, const float theZ) |
| | Modifies the coordinates.
|
| void | SetCoord (const double theX, const double theY, const double theZ) |
| | Modifies the coordinates.
|
| void | Coord (float &theX, float &theY, float &theZ) const |
| | Returns the coordinates.
|
| void | Coord (double &theX, double &theY, double &theZ) const |
| | Returns the coordinates.
|
| float | X () const |
| | Returns the X coordinates.
|
| float | Y () const |
| | Returns the Y coordinate.
|
| float | Z () const |
| | Returns the Z coordinate.
|
| float | Distance (const Graphic3d_Vertex &theOther) const |
| | Returns the distance between two points.
|
| void | DumpJson (Standard_OStream &theOStream, int theDepth=-1) const |
| | Dumps the content of me into the stream.
|
This class represents a graphical 3D point.
◆ Graphic3d_Vertex() [1/3]
| Graphic3d_Vertex::Graphic3d_Vertex |
( |
| ) |
|
|
inline |
Creates a point with 0.0, 0.0, 0.0 coordinates.
◆ Graphic3d_Vertex() [2/3]
| Graphic3d_Vertex::Graphic3d_Vertex |
( |
const float | theX, |
|
|
const float | theY, |
|
|
const float | theZ ) |
|
inline |
Creates a point with theX, theY and theZ coordinates.
◆ Graphic3d_Vertex() [3/3]
| Graphic3d_Vertex::Graphic3d_Vertex |
( |
const double | theX, |
|
|
const double | theY, |
|
|
const double | theZ ) |
|
inline |
Creates a point with theX, theY and theZ coordinates.
◆ Coord() [1/2]
| void Graphic3d_Vertex::Coord |
( |
double & | theX, |
|
|
double & | theY, |
|
|
double & | theZ ) const |
|
inline |
◆ Coord() [2/2]
| void Graphic3d_Vertex::Coord |
( |
float & | theX, |
|
|
float & | theY, |
|
|
float & | theZ ) const |
|
inline |
◆ Distance()
Returns the distance between two points.
◆ DumpJson()
Dumps the content of me into the stream.
◆ SetCoord() [1/2]
| void Graphic3d_Vertex::SetCoord |
( |
const double | theX, |
|
|
const double | theY, |
|
|
const double | theZ ) |
|
inline |
Modifies the coordinates.
◆ SetCoord() [2/2]
| void Graphic3d_Vertex::SetCoord |
( |
const float | theX, |
|
|
const float | theY, |
|
|
const float | theZ ) |
|
inline |
Modifies the coordinates.
◆ X()
| float Graphic3d_Vertex::X |
( |
| ) |
const |
|
inline |
Returns the X coordinates.
◆ Y()
| float Graphic3d_Vertex::Y |
( |
| ) |
const |
|
inline |
Returns the Y coordinate.
◆ Z()
| float Graphic3d_Vertex::Z |
( |
| ) |
const |
|
inline |
Returns the Z coordinate.
◆ xyz
| float Graphic3d_Vertex::xyz[3] |
The documentation for this class was generated from the following file: