Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
VrmlData_TextureCoordinate Class Reference

#include <VrmlData_TextureCoordinate.hxx>

Inheritance diagram for VrmlData_TextureCoordinate:
Inheritance graph
[legend]

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_XYPoints ()
void SetPoints (const size_t nPoints, const gp_XY *arrPoints)
virtual Handle< VrmlData_NodeClone (const Handle< VrmlData_Node > &theOther) const
virtual VrmlData_ErrorStatus Read (VrmlData_InBuffer &theBuffer)

Detailed Description

Implementation of the node TextureCoordinate


Constructor & Destructor Documentation

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


Member Function Documentation

Create a data array and assign the field myArray.

Returns:
True if allocation was successful.
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.

Query the number of points

Query the points

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


The documentation for this class was generated from the following file: