Open CASCADE Technology 6.6.0
|
#include <VrmlData_TextureCoordinate.hxx>
Public Member Functions | |
VrmlData_TextureCoordinate () | |
VrmlData_TextureCoordinate (const VrmlData_Scene &theScene, const char *theName, const size_t nPoints=0, const gp_XY *arrPoints=0L) | |
Standard_Boolean | AllocateValues (const Standard_Size theLength) |
size_t | Length () |
const gp_XY * | Points () |
void | SetPoints (const size_t nPoints, const gp_XY *arrPoints) |
virtual Handle< VrmlData_Node > | Clone (const Handle< VrmlData_Node > &theOther) const |
virtual VrmlData_ErrorStatus | Read (VrmlData_InBuffer &theBuffer) |
Implementation of the node TextureCoordinate
VrmlData_TextureCoordinate::VrmlData_TextureCoordinate | ( | ) | [inline] |
Empty constructor
VrmlData_TextureCoordinate::VrmlData_TextureCoordinate | ( | const VrmlData_Scene & | theScene, |
const char * | theName, | ||
const size_t | nPoints = 0 , |
||
const gp_XY * | arrPoints = 0L |
||
) | [inline] |
Constructor
Standard_Boolean VrmlData_TextureCoordinate::AllocateValues | ( | const Standard_Size | theLength | ) |
Create a data array and assign the field myArray.
virtual Handle< VrmlData_Node > VrmlData_TextureCoordinate::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.
size_t VrmlData_TextureCoordinate::Length | ( | void | ) | [inline] |
Query the number of points
const gp_XY* VrmlData_TextureCoordinate::Points | ( | ) | [inline] |
Query the points
virtual VrmlData_ErrorStatus VrmlData_TextureCoordinate::Read | ( | VrmlData_InBuffer & | theBuffer | ) | [virtual] |
Read the Node from input stream.
Implements VrmlData_Node.
void VrmlData_TextureCoordinate::SetPoints | ( | const size_t | nPoints, |
const gp_XY * | arrPoints | ||
) | [inline] |
Set the points array