All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.internal.geometry.Coordinate

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.internal.geometry.VrmlObject
                   |
                   +----vlc.vrml.internal.geometry.Coordinate

public class Coordinate
extends VrmlObject
JVerge

Version:
0.8 (beta 4) Copyright 1997 The Virtual Light Company under the GNU LGPL

The latest information and bugs in JVerge can be found at http://www.vlc.com.au/JVerge

For definition of the Coordinate node please see the VRML 97 Coordinate specification

Author:
Justin Couch justin@vlc.com.au

Constructor Index

 o Coordinate()
Default Constructor
 o Coordinate(Browser)
Default Constructor but provide your own browser reference

Method Index

 o clone()
Make a clone of this object
 o get_point()
Get the coordinate attributes of the node
 o set_point(float[][])
Set the coordinate attributes of the node
 o writeToStream(int)
Prints the formatted contents of this node to the given stream.

Constructors

 o Coordinate
 public Coordinate()
Default Constructor

 o Coordinate
 public Coordinate(Browser b)
Default Constructor but provide your own browser reference

Parameters:
b - A legal Browser reference

Methods

 o writeToStream
 public void writeToStream(int indent)
Prints the formatted contents of this node to the given stream.

Parameters:
indent - The number of spaces to indent this node in the string
Overrides:
writeToStream in class VrmlObject
 o set_point
 public void set_point(float point[][])
Set the coordinate attributes of the node

Parameters:
point - An array of points representing coordinates in 3-Space. \ Each color is described as \ color[i][0] = x, color[i][1] = y, color[i][2] = z
 o get_point
 public float[][] get_point()
Get the coordinate attributes of the node

Returns:
An array of points representing coordinates in 3-Space. \ Each color is described as \ color[i][0] = x, color[i][1] = y, color[i][2] = z
 o clone
 public Object clone()
Make a clone of this object

Returns:
A deep clone copy of this object
Overrides:
clone in class VrmlObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index