Vertex

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

Inheritance

PyObservable
Entity
GeomEntity
Vertex

Class Member Functions

  color Set the color of the Vertex.
int color Get the color of the Vertex.
[ float ] coordinates Get the Cartesian coordinates of the Vertex.

Member Function Documentation


color(value)

Set the color of the Vertex.

Example

 vertex.color(0)

Parameters

value The color value that the vertex will have

int color()

Get the color of the Vertex.

Example

 col = vertex.color()

Return

The color value associated with the vertex's current color


[ float ] coordinates()

Get the Cartesian coordinates of the Vertex.

Example

 position = vertex.coordinates()

Return

A vector containing the coordinates of the Vertexwith indices corresponding to the coordinates as follows: 0 - x coordinate 1 - y coordinate 2 - z coordinate