Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BoundsGenerator

Generates Bounds for a camera view and a projection

internal

Hierarchy

  • BoundsGenerator

Index

Constructors

Methods

Constructors

constructor

  • new BoundsGenerator(m_view: { camera: PerspectiveCamera; projection: Projection; tileWrappingEnabled: boolean }): BoundsGenerator

Methods

generate

  • Generates a {@link @here/harp-geoutils#GeoPolygon} covering the visible map. The coordinates are sorted to ccw winding, so a polygon could be drawn with them.

    Returns GeoPolygon | undefined

    The GeoPolygon with the view bounds or undefined if world is not in view.

Generated using TypeDoc