public class Segment extends Object
| Constructor | Description |
|---|---|
Segment(Cartesian3D start,
Cartesian3D end,
Line line) |
Build a segment.
|
| Modifier and Type | Method | Description |
|---|---|---|
Cartesian3D |
getEnd() |
Get the end point of the segment.
|
Line |
getLine() |
Get the line containing the segment.
|
Cartesian3D |
getStart() |
Get the start point of the segment.
|
public Segment(Cartesian3D start, Cartesian3D end, Line line)
start - start point of the segmentend - end point of the segmentline - line containing the segmentpublic Cartesian3D getStart()
public Cartesian3D getEnd()
public Line getLine()
Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.