org.apache.commons.math3.geometry.euclidean.threed
Class Segment
- java.lang.Object
-
- org.apache.commons.math3.geometry.euclidean.threed.Segment
-
public class Segment extends java.lang.ObjectSimple container for a two-points segment.- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor and Description Segment(Vector3D start, Vector3D end, Line line)Build a segment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Vector3DgetEnd()Get the end point of the segment.LinegetLine()Get the line containing the segment.Vector3DgetStart()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
-
-
DMelt 3.0 © DataMelt by jWork.ORG