Class Segment
Package world.mappable.mapkit.geometry
java.lang.Object
↳ world.mappable.mapkit.geometry.Segment
class Segment implements Serializable
A line between two points.
Summary
Constructors
|
Signature and Description |
|
Segment() |
Methods
|
Type and modifiers |
Method and Description |
|
getStartPoint() |
|
|
getEndPoint() |
|
|
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
Constuctors
Segment
Segment
|
Segment() |
Use constructor with parameters in your code.
This one is for bindings only!
Methods
getStartPoint
|
@NonNull |
Starting point of the segment.
getEndPoint
|
@NonNull |
End point of the segment.
serialize
|
@Override |