line between two points. More...
Public Member Functions | |
| Segment (Point start, Point end) | |
| Default constructor for class Segment. | |
| Point | getStart () |
| Start point of the segment. | |
| Point | getEnd () |
| End point of the segment. | |
| String | toString () |
line between two points.
Java code snippet:
Kotlin code snippet:
Definition at line 22 of file Segment.java.
Default constructor for class Segment.
Definition at line 32 of file Segment.java.
|
inline |
End point of the segment.
Java code snippet:
Kotlin code snippet:
Definition at line 67 of file Segment.java.
|
inline |
Start point of the segment.
Java code snippet:
Kotlin code snippet:
Definition at line 51 of file Segment.java.
|
inline |
Definition at line 72 of file Segment.java.