Class: SimpleGeometry

ol/geom/SimpleGeometry~SimpleGeometry


import SimpleGeometry from 'ol/geom/SimpleGeometry';

Abstract base class; only used for creating subclasses; do not instantiate in apps, as cannot be rendered.

new SimpleGeometry()

geom/SimpleGeometry.js, line 19

Methods

applyTransform()

geom/SimpleGeometry.js, line 196

getFirstCoordinate(){module:ol/coordinate~Coordinate}

geom/SimpleGeometry.js, line 63

Return the first coordinate of the geometry.

Returns:
First coordinate.

getLastCoordinate(){module:ol/coordinate~Coordinate}

geom/SimpleGeometry.js, line 79

Return the last coordinate of the geometry.

Returns:
Last point.

getLayout(){module:ol/geom/GeometryLayout}

geom/SimpleGeometry.js, line 88

Return the layout of the geometry.

Returns:
Layout.

rotate()

geom/SimpleGeometry.js, line 207

scale()

geom/SimpleGeometry.js, line 222

translate()

geom/SimpleGeometry.js, line 245