Package au.edu.unsw.cse
Class Edge3d
java.lang.Object
au.edu.unsw.cse.Object3dAdaptor
au.edu.unsw.cse.Edge3d
- All Implemented Interfaces:
Object3d
- Direct Known Subclasses:
Edge3dPlus
public class Edge3d extends Object3dAdaptor
-
Field Summary
Fields inherited from class au.edu.unsw.cse.Object3dAdaptor
centre, firstFrame, lastFrame
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
boolean
inside(Point3d x)
void
render(View3d v)
render the edge, given a 3D viewjava.lang.String
toString()
java.lang.String
toVRMLBody(VRMLState v)
java.lang.String
vrmlPROTOExtraFields()
java.lang.String
vrmlPROTOINBody()
java.lang.String[]
vrmlPROTOMaterials()
java.lang.String
vrmlPROTOName()
Methods inherited from class au.edu.unsw.cse.Object3dAdaptor
centre, depthBias, getColorIndex, getFirstFrame, getLastFrame, getSelectFrame, id, select, setCentre, setFirstFrame, setLastFrame, toVRML, transform, visible, vrmlPROTO, vrmlPROTOBody, vrmlPROTOFields, vrmlPROTOINFields
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Edge3d
-
Edge3d
-
-
Method Details
-
render
render the edge, given a 3D view- Specified by:
render
in interfaceObject3d
- Overrides:
render
in classObject3dAdaptor
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
inside
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
vrmlPROTOName
public java.lang.String vrmlPROTOName()- Overrides:
vrmlPROTOName
in classObject3dAdaptor
-
vrmlPROTOExtraFields
public java.lang.String vrmlPROTOExtraFields()- Overrides:
vrmlPROTOExtraFields
in classObject3dAdaptor
-
vrmlPROTOMaterials
public java.lang.String[] vrmlPROTOMaterials()- Overrides:
vrmlPROTOMaterials
in classObject3dAdaptor
-
vrmlPROTOINBody
public java.lang.String vrmlPROTOINBody()- Overrides:
vrmlPROTOINBody
in classObject3dAdaptor
-
toVRMLBody
- Overrides:
toVRMLBody
in classObject3dAdaptor
-