|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math3.geometry.euclidean.threed.Segment
public class Segment
Simple container for a two-points segment.
Field Summary | |
---|---|
private Vector3D |
end
End point of the segments. |
private Line |
line
Line containing the segment. |
private Vector3D |
start
Start point of the segment. |
Constructor Summary | |
---|---|
Segment(Vector3D start,
Vector3D end,
Line line)
Build a segment. |
Method Summary | |
---|---|
Vector3D |
getEnd()
Get the end point of the segment. |
Line |
getLine()
Get the line containing the segment. |
Vector3D |
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 Vector3D start
private final Vector3D end
private final Line line
Constructor Detail |
---|
public Segment(Vector3D start, Vector3D end, Line line)
start
- start point of the segmentend
- end point of the segmentline
- line containing the segmentMethod Detail |
---|
public Vector3D getStart()
public Vector3D getEnd()
public Line getLine()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |