Class Edge3dPlus

java.lang.Object
All Implemented Interfaces:
Object3d

public class Edge3dPlus
extends Edge3d
  • Constructor Details

    • Edge3dPlus

      public Edge3dPlus​(Point3d a, Point3d b, int frameNo)
  • Method Details

    • add

      public boolean add​(Point3dObject3d p)
      try to add a point to association list. Return true if succesful
    • select

      public void select​(int n)
      Specified by:
      select in interface Object3d
      Overrides:
      select in class Object3dAdaptor
    • getPoints

      public Object3dList getPoints()
      return list of points associated with this triangle
    • extreme

      public Point3dObject3d extreme()
      return point farthest from support plane of this triangl
    • render

      public void render​(View3d v)
      render the triangle, given a 3D view
      Specified by:
      render in interface Object3d
      Overrides:
      render in class Edge3d
    • getColorIndex

      public int getColorIndex​(View3d v, int col)
      Overrides:
      getColorIndex in class Object3dAdaptor