Package com.yandex.mapkit.geometry
Class LinearRing
java.lang.Object
↳ com.yandex.mapkit.geometry.LinearRing
class LinearRing implements Serializable
A sequence of four or more vertices, with all points along the linearly-interpolated curves (line segments) between each pair of consecutive vertices.
A ring must have either 0, 4 or more points. The first and last points of the ring must be in the same position. The ring must not intersect with itself.
Summary
Constructors
Signature and Description |
LinearRing() |
LinearRing(@NonNull java.util.List<Point> points) |
Methods
Type and modifiers |
Method and Description |
|
getPoints() |
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
|
Constuctors
LinearRing
LinearRing() |
Use constructor with parameters in your code.
This one is for serialization only!
LinearRing
LinearRing(@NonNull java.util.List<Point> points) |
Methods
getPoints
@NonNull |
The list of points to connect.
serialize
@Override |
getNativeName
java.lang.String getNativeName() |