HERE Android SDK Developer's Guide

CLE2MultiPolygonGeometry

The class CLE2MultiPolygonGeometry is a member of com.here.android.mpa.customlocation2 .

Class Summary

public final class CLE2MultiPolygonGeometry

extends com.here.android.mpa.customlocation2.CLE2Geometry, java.lang.Object

Specifies a user-defined multi-polygon geometry.

[For complete information, see the section Class Details]

See also:

CLE2PolygonGeometry

Method Summary

Table 1. Methods in CLE2MultiPolygonGeometry
Methods

public java.util.List <CLE2PolygonGeometry> getPolygons ()

Gets all CLE2PolygonGeometry of this geometry.

public void setPolygons (java.util.List <CLE2PolygonGeometry> polygons)

Sets polygon geometries that make up this multi polygon geometry.

Class Details

Specifies a user-defined multi-polygon geometry. A multi-polygon geometry represent a list of CLE2PolygonGeometry and each polygon can have outer and inner rings.

See also:

CLE2PolygonGeometry

Method Details

public java.util.List <CLE2PolygonGeometry> getPolygons ()

Gets all CLE2PolygonGeometry of this geometry.

Returns:

A list of all CLE2PolygonGeometry of this geometry.

public void setPolygons (java.util.List <CLE2PolygonGeometry> polygons)

Sets polygon geometries that make up this multi polygon geometry.

Parameters:

  • polygons

    list of polygons to define this multi polygon geometry

Throws:

  • IllegalArgumentException

    if the list of polygons is null, empty or contains null elements