Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Readonly cache

cache: any

The cache is used to store values computed from geometries that need to cleared or recomputed upon mutation.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

Readonly extent

extent: Extent

The extent of the geometry.

Read more...

hasM

hasM: boolean

Indicates if the geometry has M values.

Read more...

hasZ

hasZ: boolean

Indicates if the geometry has z-values (elevation).

Read more...

initialized

initialized: boolean

latitude

latitude: number

The latitude of the point.

Read more...

longitude

longitude: number

The longitude of the point.

Read more...

m

m: number

The m-coordinate of the point in map units.

Read more...

spatialReference

spatialReference: SpatialReference

The spatial reference of the geometry.

Read more...

Readonly type

type: "point"

The string value representing the type of geometry.

Read more...

x

x: number

The x-coordinate (easting) of the point in map units.

Read more...

y

y: number

The y-coordinate (northing) of the point in map units.

Read more...

z

z: number

The z-coordinate (or elevation) of the point in map units.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • _set<T>(propertyName: string, value: T): Point
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Point

clone

  • Creates a deep clone of Point object.

    Read more...

    Returns Point

copy

  • copy(other: Point): void
  • Copies all values from another Point instance.

    Read more...

    Parameters

    Returns void

destroy

  • destroy(): void
  • Returns void

distance

  • distance(other: Point): number
  • Computes the Euclidean distance between this Point and a given Point.

    Read more...

    Parameters

    Returns number

equals

  • equals(point: Point): boolean
  • Determines if the input point is equal to the point calling the function.

    Read more...

    Parameters

    Returns boolean

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

normalize

  • Modifies the point geometry in-place by shifting the X-coordinate to within +/- 180 span in map units.

    Read more...

    Returns Point

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Point

  • Parameters

    Returns Point

toJSON

  • toJSON(): any
  • Converts an instance of this class to its ArcGIS portal JSON representation.

    Read more...

    Returns any

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc