|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.geom.MannTriangulator.PointBag
protected class MannTriangulator.PointBag
A bag/pool of point objects
| Field Summary | |
|---|---|
protected org.newdawn.slick.geom.MannTriangulator.Point |
first
The first point in the bag - head of the list |
protected MannTriangulator.PointBag |
next
The next bag in the list of bags |
| Constructor Summary | |
|---|---|
protected |
MannTriangulator.PointBag()
|
| Method Summary | |
|---|---|
void |
add(org.newdawn.slick.geom.MannTriangulator.Point p)
Add a point to the bag |
void |
clear()
Clear all the points from this bag |
void |
computeAngles()
Compute the angles for the points in this bag |
boolean |
contains(Vector2f point)
Check if the point provided was contained |
int |
countPoints()
Get the number of points in the bag |
boolean |
doesIntersectSegment(Vector2f v1,
Vector2f v2)
Check if the points in this bag form a path intersecting with the specified path |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.newdawn.slick.geom.MannTriangulator.Point first
protected MannTriangulator.PointBag next
| Constructor Detail |
|---|
protected MannTriangulator.PointBag()
| Method Detail |
|---|
public void clear()
public void add(org.newdawn.slick.geom.MannTriangulator.Point p)
p - The point to addpublic void computeAngles()
public boolean doesIntersectSegment(Vector2f v1,
Vector2f v2)
v1 - The start point of the segmentv2 - The end point of the segment
public int countPoints()
public boolean contains(Vector2f point)
point - The point provided
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||