Class BaseTextureCoordinate

java.lang.Object
All Implemented Interfaces:
VRMLNode, FrameStateListener, VRMLGeometricPropertyNodeType, VRMLNodeType, VRMLTextureCoordinateNodeType
Direct Known Subclasses:
NRTextureCoordinate, OGLTextureCoordinate

public abstract class BaseTextureCoordinate extends BaseGeometricPropertyNode implements VRMLTextureCoordinateNodeType
Common base implementation of a texture coordinate node.

Points are held internally as a flat array of values. The point list returned will always be flat. We do this because renderers like point values as a single flat array. The array returned will always contain exactly the number of points specified.

The effect of this is that point values may be routed out of this node as a flat array of points rather than a 2D array. Receiving nodes should check for this version as well. This implementation will handle being routed either form.

Version:
$Revision: 1.17 $
Author:
Alan Hudson