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 booleanadd(Point3dObject3d p)try to add a point to association list.Point3dObject3dextreme()return point farthest from support plane of this trianglintgetColorIndex(View3d v, int col)Object3dListgetPoints()return list of points associated with this trianglevoidrender(View3d v)render the triangle, given a 3D viewvoidselect(int n)Methods inherited from class au.edu.unsw.cse.Edge3d
equals, inside, toString, toVRMLBody, vrmlPROTOExtraFields, vrmlPROTOINBody, vrmlPROTOMaterials, vrmlPROTONameMethods inherited from class au.edu.unsw.cse.Object3dAdaptor
centre, depthBias, getFirstFrame, getLastFrame, getSelectFrame, id, setCentre, setFirstFrame, setLastFrame, toVRML, transform, visible, vrmlPROTO, vrmlPROTOBody, vrmlPROTOFields, vrmlPROTOINFieldsMethods 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:
selectin interfaceObject3d- Overrides:
selectin 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:
getColorIndexin classObject3dAdaptor
-