|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math3.geometry.euclidean.twod.Segment
public class Segment
Simple container for a two-points segment.
Field Summary | |
---|---|
private Vector2D |
end
End point of the segments. |
private Line |
line
Line containing the segment. |
private Vector2D |
start
Start point of the segment. |
Constructor Summary | |
---|---|
Segment(Vector2D start,
Vector2D end,
Line line)
Build a segment. |
Method Summary | |
---|---|
Vector2D |
getEnd()
Get the end point of the segment. |
Line |
getLine()
Get the line containing the segment. |
Vector2D |
getStart()
Get the start point of the segment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Vector2D start
private final Vector2D end
private final Line line
Constructor Detail |
---|
public Segment(Vector2D start, Vector2D end, Line line)
start
- start point of the segmentend
- end point of the segmentline
- line containing the segmentMethod Detail |
---|
public Vector2D getStart()
public Vector2D getEnd()
public Line getLine()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |