Class Segment
java.lang.Object
org.apache.commons.math3.geometry.euclidean.threed.Segment
Simple container for a two-points segment.
- Since:
- 3.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
start
Start point of the segment. -
end
End point of the segments. -
line
Line containing the segment.
-
-
Constructor Details
-
Segment
Build a segment.- Parameters:
start
- start point of the segmentend
- end point of the segmentline
- line containing the segment
-
-
Method Details
-
getStart
Get the start point of the segment.- Returns:
- start point of the segment
-
getEnd
Get the end point of the segment.- Returns:
- end point of the segment
-
getLine
Get the line containing the segment.- Returns:
- line containing the segment
-