Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Graphic3d_VertexC Class Reference

This class allows the creation and update of a point
with a colour value.
//! Returns the color of this point.

#include <Graphic3d_VertexC.hxx>

Inheritance diagram for Graphic3d_VertexC:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC Graphic3d_VertexC ()
 Constructs an empty point

 Graphic3d_VertexC (const Standard_Real AX, const Standard_Real AY, const Standard_Real AZ, const Quantity_Color &AColor)
 Creates a point with coordinates <AX>, <AY>, <AZ> and
with colour <AColor>.

 Graphic3d_VertexC (const Graphic3d_Vertex &APoint, const Quantity_Color &AColor)
 Creates a point situated in <APoint> and
for which the colour is <AColor>.

void SetColor (const Quantity_Color &ColorNew)
 Modifies the colour of the point <me>.

Quantity_Color Color () const
 Returns the colour of the point <me>.


Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: