Open CASCADE Technology
6.5.4
|
This class allows the creation and update of a point
with a colour value.
//! Returns the color of this point.
#include <Graphic3d_VertexC.hxx>
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>. |
Graphic3d_VertexC::Graphic3d_VertexC | ( | const Standard_Real | AX, |
const Standard_Real | AY, | ||
const Standard_Real | AZ, | ||
const Quantity_Color & | AColor | ||
) |
Graphic3d_VertexC::Graphic3d_VertexC | ( | const Graphic3d_Vertex & | APoint, |
const Quantity_Color & | AColor | ||
) |
Quantity_Color Graphic3d_VertexC::Color | ( | ) | const |
void Graphic3d_VertexC::SetColor | ( | const Quantity_Color & | ColorNew | ) |