Taos API Reference
    Preparing search index...

    Class EllipsoidalOccluder

    Index

    Constructors

    Methods

    • Sets the camera (ECEF) for this frame's visibility tests.

      Parameters

      Returns void

    • True if a scaled-space occludee point is above the horizon (i.e. visible). minimumHeight (meters, may be negative) shrinks the occluding ellipsoid so a camera/occludee below the surface — e.g. a tile floor at −500 m, or the camera in a deep canyon — isn't wrongly culled. Mirrors Cesium's isScaledSpacePointVisiblePossiblyUnderEllipsoid.

      Parameters

      • occludeeScaled: Vec3d
      • OptionalminimumHeight: number

      Returns boolean

    • Computes a scaled-space occludee point for a set of ECEF positions (a tile's bounding corners), looking from directionToPoint (the tile center). If this point is above the horizon, every position is. Returns undefined when no single occludee point covers them (→ treat the tile as always visible). Mirrors Cesium's computeHorizonCullingPoint.

      Parameters

      Returns Vec3d | undefined