Graphic3d_Vertex Class Reference

This class allows the creation and update of a
3D point.

#include <Graphic3d_Vertex.hxx>

Inheritance diagram for Graphic3d_Vertex:
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_Vertex ()
 Creates a point with 0.0, 0.0, 0.0 coordinates.

 Graphic3d_Vertex (const Graphic3d_Vertex &APoint)
 Creates a point with coordinates identical to <APoint>.

 Graphic3d_Vertex (const Standard_Real AX, const Standard_Real AY, const Standard_Real AZ)
 Creates a point with <AX>, <AY> and <AZ> coordinates.

void SetCoord (const Standard_Real Xnew, const Standard_Real Ynew, const Standard_Real Znew)
 Modifies the coordinates of the point <me>.

void SetXCoord (const Standard_Real Xnew)
 Modifies the X coordinate of the point <me>.

void SetYCoord (const Standard_Real Ynew)
 Modifies the Y coordinate of the point <me>.

void SetZCoord (const Standard_Real Znew)
 Modifies the Z coordinate of the point <me>.

void Coord (Standard_Real &AX, Standard_Real &AY, Standard_Real &AZ) const
 Returns the coordinates of the point <me>.

Standard_Real X () const
 Returns the X coordinates of the point <me>.

Standard_Real Y () const
 Returns the Y coordinate of the point <me>.

Standard_Real Z () const
 Returns the Z coordinate of the point <me>.

Static Public Member Functions

static Standard_Real Distance (const Graphic3d_Vertex &AV1, const Graphic3d_Vertex &AV2)
 Returns the distance between <AV1> and <AV2>.


Constructor & Destructor Documentation

Graphic3d_Vertex::Graphic3d_Vertex (  ) 
Graphic3d_Vertex::Graphic3d_Vertex ( const Graphic3d_Vertex APoint  ) 
Graphic3d_Vertex::Graphic3d_Vertex ( const Standard_Real  AX,
const Standard_Real  AY,
const Standard_Real  AZ 
)

Member Function Documentation

void Graphic3d_Vertex::Coord ( Standard_Real AX,
Standard_Real AY,
Standard_Real AZ 
) const
static Standard_Real Graphic3d_Vertex::Distance ( const Graphic3d_Vertex AV1,
const Graphic3d_Vertex AV2 
) [static]
void Graphic3d_Vertex::operator delete ( void *  anAddress  )  [inline]
void* Graphic3d_Vertex::operator new ( size_t  size  )  [inline]
void* Graphic3d_Vertex::operator new ( size_t  ,
void *  anAddress 
) [inline]
void Graphic3d_Vertex::SetCoord ( const Standard_Real  Xnew,
const Standard_Real  Ynew,
const Standard_Real  Znew 
)
void Graphic3d_Vertex::SetXCoord ( const Standard_Real  Xnew  ) 
void Graphic3d_Vertex::SetYCoord ( const Standard_Real  Ynew  ) 
void Graphic3d_Vertex::SetZCoord ( const Standard_Real  Znew  ) 
Standard_Real Graphic3d_Vertex::X (  )  const
Standard_Real Graphic3d_Vertex::Y (  )  const
Standard_Real Graphic3d_Vertex::Z (  )  const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:56:18 2011 for Open CASCADE Technology by  doxygen 1.6.3