Vertex Class Reference

Defines a vertex object that mostly parallels Cubit's RefVertex class.

Inheritance

Entity
GeomEntity
Body Volume Surface Curve Vertex

Public Member Functions

void
color( int value)
Set the color of the Vertex.

void
set_color( int value)
Set the color of the Vertex.

int
color()
Get the color of the Vertex.

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] value
      The 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
      void set_color(
      • int value)
      Parameters
      • [in] value
        The color value that the vertex will have