java.lang.Object
org.jagatoo.util.geometry.Polygon
Simple class encapsulating a set of points which define the outline of a coplanar
polygon. Usually this is a triagle or a quad.
- Author:
- David Yazel, Marvin Froehlich (aka Qudus) [code cleaning]
-
Constructor Details
-
Polygon
-
Polygon
public Polygon()
-
-
Method Details
-
getVertices
-
add
public void add(float[] v) -
add
public void add(float x, float y, float z) -
contains
public boolean contains(float[] point) -
getAsTriangles
- Returns:
- a list of triangles
-
print
public void print()
-