|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectLineSegmentXZ
public class LineSegmentXZ
Field Summary | |
---|---|
VectorXZ |
p1
|
VectorXZ |
p2
|
Constructor Summary | |
---|---|
LineSegmentXZ(VectorXZ p1,
VectorXZ p2)
|
Method Summary | |
---|---|
VectorXZ |
getCenter()
|
VectorXZ |
getIntersection(VectorXZ segmentP1,
VectorXZ segmentP2)
returns the intersection between this line segment and the line segment defined by the parameters; null if none exists. |
boolean |
intersects(VectorXZ segmentP1,
VectorXZ segmentP2)
returns true if there is an intersection between this line segment and the line segment defined by the parameters |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final VectorXZ p1
public final VectorXZ p2
Constructor Detail |
---|
public LineSegmentXZ(VectorXZ p1, VectorXZ p2)
Method Detail |
---|
public VectorXZ getCenter()
public boolean intersects(VectorXZ segmentP1, VectorXZ segmentP2)
public VectorXZ getIntersection(VectorXZ segmentP1, VectorXZ segmentP2)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |