# Class: MultiPolygon

# Hierarchy

  • MultiPolygon

# Constructors

# constructor

+ new MultiPolygon(polygons: AnyPoint2D[][]): MultiPolygon

Defined in multi-polygon.ts:9

Parameters:

Name Type
polygons AnyPoint2D[][]

Returns: MultiPolygon

# Accessors

# area

get area(): number

Defined in multi-polygon.ts:17

Returns: number


# bounds

get bounds(): Rectangle‹›

Defined in multi-polygon.ts:22

Returns: Rectangle‹›

# Methods

# segmentation

segmentation(): number[][]

Defined in multi-polygon.ts:28

Returns: number[][]


# Static getArea

getArea(polygons: Point2D‹› | object | [number, number][] | Polygon‹›[]): number

Defined in multi-polygon.ts:32

Parameters:

Name Type
polygons Point2D‹› | object | [number, number][] | Polygon‹›[]

Returns: number


# Static getBounds

getBounds(polygons: Point2D‹› | object | [number, number][] | Polygon‹›[]): Rectangle

Defined in multi-polygon.ts:40

Parameters:

Name Type
polygons Point2D‹› | object | [number, number][] | Polygon‹›[]

Returns: Rectangle