Open CASCADE Technology
6.5.4
|
#include <VrmlData_Coordinate.hxx>
Public Member Functions | |
VrmlData_Coordinate () | |
VrmlData_Coordinate (const VrmlData_Scene &theScene, const char *theName, const size_t nPoints=0, const gp_XYZ *arrPoints=0L) | |
const gp_XYZ & | Coordinate (const Standard_Integer i) const |
virtual Handle< VrmlData_Node > | Clone (const Handle< VrmlData_Node > &theOther) const |
virtual VrmlData_ErrorStatus | Read (VrmlData_InBuffer &theBuffer) |
virtual VrmlData_ErrorStatus | Write (const char *thePrefix) const |
Implementation of the node Coordinate
VrmlData_Coordinate::VrmlData_Coordinate | ( | ) | [inline] |
Empty Constructor
VrmlData_Coordinate::VrmlData_Coordinate | ( | const VrmlData_Scene & | theScene, |
const char * | theName, | ||
const size_t | nPoints = 0 , |
||
const gp_XYZ * | arrPoints = 0L |
||
) | [inline] |
Constructor
virtual Handle< VrmlData_Node > VrmlData_Coordinate::Clone | ( | const Handle< VrmlData_Node > & | theOther | ) | const [virtual] |
Create a copy of this node. If the parameter is null, a new copied node is created. Otherwise new node is not created, but rather the given one is modified.
Reimplemented from VrmlData_Node.
const gp_XYZ& VrmlData_Coordinate::Coordinate | ( | const Standard_Integer | i | ) | const [inline] |
Query one point
i | index in the array of points [0 .. N-1] |
virtual VrmlData_ErrorStatus VrmlData_Coordinate::Read | ( | VrmlData_InBuffer & | theBuffer | ) | [virtual] |
Read the Node from input stream.
Implements VrmlData_Node.
virtual VrmlData_ErrorStatus VrmlData_Coordinate::Write | ( | const char * | thePrefix | ) | const [virtual] |
Write the Node to the Scene output.
Reimplemented from VrmlData_Node.