Baseclass of all geometries. All geometry types must derive from this class. Not intented to be instantiated on its own.

Hierarchy (view full)

Constructors

Properties

id: string

Id of the geometry

rawArray: number[][]

Spatial Reference of the geometry

Accessors

Methods

  • Will inspect an array of verticies. If the last vertex is different than the first vertex, will add a copy of the first vertex to the end, thus closing the line. The array parameter will be modified

    Parameters

    • points: number[][]

      An array of 2-element arrays of verticies.

    Returns void