Home > @magiclane/maps-sdk > AbstractGeometry

AbstractGeometry class

Signature:

export declare class AbstractGeometry 

Constructors

Constructor

Modifiers

Description

(constructor)(anchorType, driveSide, items, leftIntermediateTurns, rightIntermediateTurns)

Constructs a new instance of the AbstractGeometry class

Properties

Property

Modifiers

Type

Description

anchorType

AnchorType

Anchor type

driveSide

DriveSide

Drive side

items

AbstractGeometryItem[]

List of geometry items

leftIntermediateTurns

number

Get the number of left side intermediate turns.

rightIntermediateTurns

number

Get the number of right side intermediate turns.

Methods

Method

Modifiers

Description

fromJson(json)

static

toJson()