Class LinearRing

com.yandex.mapkit.geometry

java.lang.Object ⇽ LinearRing

public class LinearRing

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.

Constructors

LinearRing()

Use constructor with parameters in your code.

LinearRing(@NonNull List< Point > points)

Methods

String getNativeName()
synchronized List< Point > getPoints()

The list of points to connect.

void serialize(Archive archive)

Constructor Detail

LinearRing

public LinearRing ()

Use constructor with parameters in your code.

This one is for serialization only!

LinearRing

public LinearRing (@NonNull List< Point > points)

Method Detail

getNativeName

public static String getNativeName ()

getPoints

public synchronized List< Point > getPoints ()

The list of points to connect.

serialize

public void serialize (Archive archive)