public class Segment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Vector3D |
end
End point of the segments.
|
private Line |
line
Line containing the segment.
|
private Vector3D |
start
Start point of the segment.
|
Constructor and Description |
---|
Segment(Vector3D start,
Vector3D end,
Line line)
Build a segment.
|
Modifier and Type | Method and 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.
|
private final Vector3D start
private final Vector3D end
private final Line line
public Vector3D getStart()
public Vector3D getEnd()
public Line getLine()