Class BaseCoordinate

java.lang.Object
All Implemented Interfaces:
VRMLNode, FrameStateListener, VRMLCoordinateNodeType, VRMLGeometricPropertyNodeType, VRMLNodeType
Direct Known Subclasses:
NRCoordinate, OGLCoordinate

public abstract class BaseCoordinate extends BaseGeometricPropertyNode implements VRMLCoordinateNodeType
Common base implementation of a 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