Package org.web3d.vrml.renderer
Class CRROUTE
java.lang.Object
org.web3d.vrml.renderer.CRROUTE
-
Constructor Summary
ConstructorsConstructorDescriptionCRROUTE
(VRMLNodeType sn, int si, VRMLNodeType dn, int di) Create a new representation of a Java 3D route. -
Method Summary
Modifier and TypeMethodDescriptionint
Get the index of the destination field of this routeGet the reference to the destination node of this routeint
Get the index of the source field of this routeGet the reference to the source node of this routetoString()
Print out a string representation of this route.
-
Constructor Details
-
CRROUTE
Create a new representation of a Java 3D route.- Parameters:
sn
- The source node referencesi
- The field index of the source nodedn
- The destination node referencedi
- The field index of the destination node
-
-
Method Details
-
getSourceNode
Get the reference to the source node of this route- Specified by:
getSourceNode
in interfaceROUTE
- Returns:
- The source node reference
-
getSourceIndex
public int getSourceIndex()Get the index of the source field of this route- Specified by:
getSourceIndex
in interfaceROUTE
- Returns:
- The source node field index
-
getDestinationNode
Get the reference to the destination node of this route- Specified by:
getDestinationNode
in interfaceROUTE
- Returns:
- The destination node reference
-
getDestinationIndex
public int getDestinationIndex()Get the index of the destination field of this route- Specified by:
getDestinationIndex
in interfaceROUTE
- Returns:
- The destination node field index
-
toString
-