Class MapVertex<T>

Type Parameters

  • T = any

Hierarchy

Constructors

Accessors

Constructors

  • The constructor function initializes an object with an id, latitude, longitude, and an optional value.

    Type Parameters

    • T = any

    Parameters

    • id: VertexId

      The id parameter is of type VertexId and represents the identifier of the vertex.

    • lat: number

      The "lat" parameter represents the latitude of a vertex. Latitude is a geographic coordinate that specifies the north-south position of a point on the Earth's surface. It is measured in degrees, with positive values representing points north of the equator and negative values representing points south of the equator.

    • long: number

      The "long" parameter represents the longitude of a location. Longitude is a geographic coordinate that specifies the east-west position of a point on the Earth's surface. It is measured in degrees, with values ranging from -180 to 180.

    • Optional val: T

      The "val" parameter is an optional value of type T. It is not required to be provided when creating an instance of the class.

    Returns MapVertex<T>

Properties

_lat: any
_long: any

Accessors

  • get id(): VertexId
  • Returns VertexId

  • set id(v): void
  • Parameters

    • v: VertexId

    Returns void

  • get lat(): number
  • Returns number

  • set lat(value): void
  • Parameters

    • value: number

    Returns void

  • get long(): number
  • Returns number

  • set long(value): void
  • Parameters

    • value: number

    Returns void

  • get val(): undefined | T
  • Returns undefined | T

  • set val(value): void
  • Parameters

    • value: undefined | T

    Returns void

Generated using TypeDoc