Function createClippingFeature

  • Creates a new feature at the given coordinate, which can then be used to create a clippingPlaneCollection.

    Parameters

    • coordinate: Coordinate

      in WGS84

    • camera: Camera
    • Optional vertical: boolean = false
    • Optional offsetDistance: number = 25

      the offset from the coordinate to use for the size of the geometry

    • Optional rotate: number = 0

      rotation of clipping plane in radians. 0 means vertical plane is parallel to camera.heading and horizontal feature is aligned with axes.

    Returns Feature

    • the features geometry is in web mercator

Generated using TypeDoc