Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GeometryEnvelope

Geometry envelope

Hierarchy

  • GeometryEnvelope

Index

Constructors

constructor

Accessors

centroid

hasM

  • get hasM(): boolean
  • set hasM(hasM: boolean): void

hasZ

  • get hasZ(): boolean
  • set hasZ(hasZ: boolean): void

mRange

  • get mRange(): number

maxM

  • get maxM(): number
  • set maxM(maxM: number): void

maxX

  • get maxX(): number
  • set maxX(maxX: number): void

maxY

  • get maxY(): number
  • set maxY(maxY: number): void

maxZ

  • get maxZ(): number
  • set maxZ(maxZ: number): void

minM

  • get minM(): number
  • set minM(minM: number): void

minX

  • get minX(): number
  • set minX(minX: number): void

minY

  • get minY(): number
  • set minY(minY: number): void

minZ

  • get minZ(): number
  • set minZ(minZ: number): void

xRange

  • get xRange(): number

yRange

  • get yRange(): number

zRange

  • get zRange(): number

Methods

buildGeometry

contains

containsCoords

  • containsCoords(x: number, y: number): boolean
  • Determine if contains the coordinate

    since

    1.1.1

    Parameters

    • x: number
             x value
    • y: number
             y value

    Returns boolean

    true if contains

containsCoordsWithEpsilon

  • containsCoordsWithEpsilon(x: number, y: number, epsilon: number): boolean
  • Determine if contains the coordinate

    since

    1.1.1

    Parameters

    • x: number
             x value
    • y: number
             y value
    • epsilon: number
             epsilon equality tolerance

    Returns boolean

    true if contains

containsPoint

  • containsPoint(point: Point): boolean

containsPointWithEpsilon

  • containsPointWithEpsilon(point: Point, epsilon: number): boolean
  • Determine if contains the point

    since

    1.1.1

    Parameters

    • point: Point
             point
    • epsilon: number
             epsilon equality tolerance

    Returns boolean

    true if contains

containsWithEpsilon

  • Determine if inclusively contains the provided envelope

    since

    1.1.1

    Parameters

    • envelope: GeometryEnvelope
             geometry envelope
    • epsilon: number
             epsilon equality tolerance

    Returns boolean

    true if contains

copy

equals

getBottom

getBottomLeft

getBottomRight

  • getBottomRight(): Point

getLeft

getMidX

  • getMidX(): number

getMidY

  • getMidY(): number

getRight

getTop

getTopLeft

getTopRight

intersects

  • Determine if intersects with the provided envelope

    Parameters

    • envelope: GeometryEnvelope

      geometry envelope

    • allowEmpty: boolean

      allow empty ranges when determining intersection

    Returns boolean

    true if intersects

is3D

  • is3D(): boolean

isEmpty

  • isEmpty(): boolean

isMeasured

  • isMeasured(): boolean

isPoint

  • isPoint(): boolean
  • Determine if the envelope is of a single point

    since

    2.0.5

    Returns boolean

    true if a single point bounds

overlap

  • Get the overlapping geometry envelope with the provided envelope

    Parameters

    • envelope: GeometryEnvelope

      geometry envelope

    • Default value allowEmpty: boolean = false

      allow empty ranges when determining intersection

    Returns GeometryEnvelope

    geometry envelope

union

Generated using TypeDoc