public class PathIntersection
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected PathPolygon |
cvPoly |
protected AOVector |
line1 |
protected AOVector |
line2 |
protected PathObject |
pathObject |
protected float |
where1 |
protected float |
where2 |
Constructor and Description |
---|
PathIntersection(PathObject pathObject,
float where1,
float where2,
AOVector line1,
AOVector line2) |
PathIntersection(PathObject pathObject,
PathPolygon cvPoly,
float where1,
float where2,
AOVector line1,
AOVector line2) |
Modifier and Type | Method and Description |
---|---|
static float |
distancePointLine(AOVector p,
AOVector line1,
AOVector line2) |
static PathIntersection |
findIntersection(AOVector s1,
AOVector e1,
AOVector s2,
AOVector e2) |
static PathIntersection |
findIntersection(PathObject pathObject,
float start1x,
float start1z,
float disp1x,
float disp1z,
float start2x,
float start2z,
float disp2x,
float disp2z) |
static PathIntersection |
findIntersection(PathObject pathObject,
PathPolygon cvPoly,
float start1x,
float start1z,
float disp1x,
float disp1z,
float start2x,
float start2z,
float disp2x,
float disp2z) |
PathPolygon |
getCVPoly() |
float |
getIntersectorLength() |
AOVector |
getIntersectorPoint(float where) |
static AOVector |
getLinePoint(float where,
AOVector loc1,
AOVector loc2) |
PathObject |
getPathObject() |
float |
getWhere1() |
float |
getWhere2() |
void |
setCVPoly(PathPolygon cvPoly) |
java.lang.String |
toString() |
protected PathObject pathObject
protected PathPolygon cvPoly
protected float where1
protected float where2
protected AOVector line1
protected AOVector line2
public PathIntersection(PathObject pathObject, float where1, float where2, AOVector line1, AOVector line2)
public PathIntersection(PathObject pathObject, PathPolygon cvPoly, float where1, float where2, AOVector line1, AOVector line2)
public java.lang.String toString()
toString
in class java.lang.Object
public static PathIntersection findIntersection(AOVector s1, AOVector e1, AOVector s2, AOVector e2)
public static PathIntersection findIntersection(PathObject pathObject, float start1x, float start1z, float disp1x, float disp1z, float start2x, float start2z, float disp2x, float disp2z)
public static PathIntersection findIntersection(PathObject pathObject, PathPolygon cvPoly, float start1x, float start1z, float disp1x, float disp1z, float start2x, float start2z, float disp2x, float disp2z)
public PathObject getPathObject()
public PathPolygon getCVPoly()
public void setCVPoly(PathPolygon cvPoly)
public float getWhere1()
public float getWhere2()
public AOVector getIntersectorPoint(float where)
public float getIntersectorLength()