API / geotoolkit / map / util / Geometry / Geometry
Defines helper methods to work with feature geometries
Constructors
- [new Geometry()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.map.util-3.geometry.geometry.md#new geometry())
Methods
▸ getClassName(): string
string
▸ Static getCachedGeometryBounds(geometry): Rect
Gets bounds for a geometry defined by arrays of x-ordinates and y-ordinates.
| Name | Type | Description |
|---|---|---|
geometry | Geometry | feature geometry |
▸ Static getClassName(): string
string
▸ Static isClockwise(geometry): boolean
Returns true if polygon geometry is clockwise, false otherwise
| Name | Type | Description |
|---|---|---|
geometry | GeometryBase | polygon geometry |
boolean