Package au.edu.unsw.cse
Class Edge3dPlus
java.lang.Object
au.edu.unsw.cse.Object3dAdaptor
au.edu.unsw.cse.Edge3d
au.edu.unsw.cse.Edge3dPlus
- All Implemented Interfaces:
Object3d
public class Edge3dPlus extends Edge3d
-
Field Summary
Fields inherited from class au.edu.unsw.cse.Object3dAdaptor
centre, firstFrame, lastFrame
-
Constructor Summary
Constructors Constructor Description Edge3dPlus(Point3d a, Point3d b, int frameNo)
-
Method Summary
Modifier and Type Method Description boolean
add(Point3dObject3d p)
try to add a point to association list.Point3dObject3d
extreme()
return point farthest from support plane of this trianglint
getColorIndex(View3d v, int col)
Object3dList
getPoints()
return list of points associated with this trianglevoid
render(View3d v)
render the triangle, given a 3D viewvoid
select(int n)
Methods inherited from class au.edu.unsw.cse.Edge3d
equals, inside, toString, toVRMLBody, vrmlPROTOExtraFields, vrmlPROTOINBody, vrmlPROTOMaterials, vrmlPROTOName
Methods inherited from class au.edu.unsw.cse.Object3dAdaptor
centre, depthBias, getFirstFrame, getLastFrame, getSelectFrame, id, 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
-
Edge3dPlus
-
-
Method Details
-
add
try to add a point to association list. Return true if succesful -
select
public void select(int n)- Specified by:
select
in interfaceObject3d
- Overrides:
select
in classObject3dAdaptor
-
getPoints
return list of points associated with this triangle -
extreme
return point farthest from support plane of this triangl -
render
render the triangle, given a 3D view -
getColorIndex
- Overrides:
getColorIndex
in classObject3dAdaptor
-