com.ctreber.acearth.util
Class Polygon

java.lang.Object
  extended by com.ctreber.acearth.util.Polygon

public class Polygon
extends Object

A polygon in a 3 axis space.

© 2002 Christian Treber, [email protected]

Author:
Christian Treber, [email protected]

Field Summary
static int LAND
           
static int WATER
           
 
Constructor Summary
Polygon(int pType, Point3D[] pPoints)
           
 
Method Summary
 Point3D getPoint(int pIndex)
           
 Point3D[] getPoints()
           
 int getSize()
           
 int getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LAND

public static final int LAND
See Also:
Constant Field Values

WATER

public static final int WATER
See Also:
Constant Field Values
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 String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.