Last updated

API / geotoolkit / map / util / Geometry / Geometry

Class: Geometry

util.Geometry.Geometry

Defines helper methods to work with feature geometries

Table of contents

Constructors
Methods

Contents

Constructors

new Geometry()

new Geometry()

Methods

getClassName

getClassName(): string

Returns

string


getCachedGeometryBounds

Static getCachedGeometryBounds(geometry): Rect

Gets bounds for a geometry defined by arrays of x-ordinates and y-ordinates.

Parameters

Name Type Description
geometryGeometryfeature geometry

Returns

Rect


getClassName

Static getClassName(): string

Returns

string


isClockwise

Static isClockwise(geometry): boolean

Returns true if polygon geometry is clockwise, false otherwise

Parameters

Name Type Description
geometryGeometryBasepolygon geometry

Returns

boolean