Open CASCADE Technology 6.5.2
Public Member Functions
Graphic3d_VertexN Class Reference

This class allows the creation and update of
a vertex with a 3D normal.

#include <Graphic3d_VertexN.hxx>

Inheritance diagram for Graphic3d_VertexN:
Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 Graphic3d_VertexN ()
 Creates a point with 0.0, 0.0, 0.0 coordinates
for which the normal is 0.0, 0.0, 1.0.

 Graphic3d_VertexN (const Standard_Real AX, const Standard_Real AY, const Standard_Real AZ, const Standard_Real ANX, const Standard_Real ANY, const Standard_Real ANZ, const Standard_Boolean FlagNormalise=Standard_True)
 Creates a point with coordinates <AX>, <AY>, <AZ> and
for which the normal is <ANX>, <ANY>, <ANZ>.
If <FlagNormalise> is True the normal is already normalised
Else the normal is not normalised, the graphic do it.

 Graphic3d_VertexN (const Graphic3d_Vertex &APoint, const Graphic3d_Vector &AVector, const Standard_Boolean FlagNormalise=Standard_True)
 Creates a point in <APoint> for which the normal is <AVector>.
If <FlagNormalise> is True the normal is already normalised
Else the normal is not normalised, the graphic do it.

void SetNormal (const Standard_Real NXnew, const Standard_Real NYnew, const Standard_Real NZnew, const Standard_Boolean FlagNormalise=Standard_True)
 Modifies the normal to the point <me>.
If <FlagNormalise> is True the normal is already normalised
Else the normal is not normalised, the graphic do it.

void Normal (Standard_Real &ANX, Standard_Real &ANY, Standard_Real &ANZ) const
 Returns the normal to the point <me>.


Constructor & Destructor Documentation

Graphic3d_VertexN::Graphic3d_VertexN ( )
Graphic3d_VertexN::Graphic3d_VertexN ( const Standard_Real  AX,
const Standard_Real  AY,
const Standard_Real  AZ,
const Standard_Real  ANX,
const Standard_Real  ANY,
const Standard_Real  ANZ,
const Standard_Boolean  FlagNormalise = Standard_True 
)
Graphic3d_VertexN::Graphic3d_VertexN ( const Graphic3d_Vertex APoint,
const Graphic3d_Vector AVector,
const Standard_Boolean  FlagNormalise = Standard_True 
)

Member Function Documentation

void Graphic3d_VertexN::Normal ( Standard_Real ANX,
Standard_Real ANY,
Standard_Real ANZ 
) const
void Graphic3d_VertexN::operator delete ( void *  anAddress) [inline]

Reimplemented from Graphic3d_Vertex.

Reimplemented in Graphic3d_VertexNT, and Graphic3d_VertexNC.

void* Graphic3d_VertexN::operator new ( size_t  size) [inline]

Reimplemented from Graphic3d_Vertex.

Reimplemented in Graphic3d_VertexNT, and Graphic3d_VertexNC.

void* Graphic3d_VertexN::operator new ( size_t  ,
void *  anAddress 
) [inline]

Reimplemented from Graphic3d_Vertex.

Reimplemented in Graphic3d_VertexNT, and Graphic3d_VertexNC.

void Graphic3d_VertexN::SetNormal ( const Standard_Real  NXnew,
const Standard_Real  NYnew,
const Standard_Real  NZnew,
const Standard_Boolean  FlagNormalise = Standard_True 
)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines