Class Polygon


  • public class Polygon
    extends java.lang.Object

    A polygon in a 3 axis space.

    © 2002 Christian Treber, ct@ctreber.com

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int LAND  
      static int WATER  
    • Constructor Summary

      Constructors 
      Constructor Description
      Polygon​(int pType, Point3D[] pPoints)  
    • Constructor Detail

      • Polygon

        public Polygon​(int pType,
                       Point3D[] pPoints)
    • Method Detail

      • getType

        public int getType()
      • getPoints

        public Point3D[] getPoints()
      • getPoint

        public Point3D getPoint​(int pIndex)
      • getSize

        public int getSize()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object