Vertex Class Reference
Defines a vertex object that mostly parallels Cubit's RefVertex class.
Inheritance
EntityGeomEntity
Body Volume Surface Curve Vertex
Public Member Functions
std::array< double, 3 >
coordinates()
Get the Cartesian coordinates of the Vertex.
Vertex()
~Vertex()
Vertex( const Vertex & other)
Vertex( CubitEntity * entity_ptr)
Detailed Description
Defines a vertex object that mostly parallels Cubit's RefVertex class.
Member Function Documentation
int color()
Returns The color value associated with the vertex's current color
void color(
- int value)
Parameters
-
[in] valueThe color value that the vertex will have
std::array< double, 3 > coordinates()
Returns A vector containing the coordinates of the Vertex with indices corresponding to the coordinates as follows:
0 - x coordinate
1 - y coordinate
2 - z coordinate
0 - x coordinate
1 - y coordinate
2 - z coordinate
void set_color(
- int value)
Parameters
-
[in] valueThe color value that the vertex will have