Class Segment
- java.lang.Object
-
- org.hipparchus.geometry.euclidean.threed.Segment
-
public class Segment extends Object
Simple container for a two-points segment.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
getStart
public Vector3D getStart()
Get the start point of the segment.- Returns:
- start point of the segment
-
getEnd
public Vector3D getEnd()
Get the end point of the segment.- Returns:
- end point of the segment
-
getLine
public Line getLine()
Get the line containing the segment.- Returns:
- line containing the segment
-
-