• Preparing search index...
  • The search index is not available
@xeokit/sdk - v0.1.0
  • @xeokit/sdk
  • math
  • boundaries
  • expandAABB2Point2

Function expandAABB2Point2

  • expandAABB2Point2(aabb: AABB2, p: Vec2): AABB2

    Expands an AABB to enclose a given 2D point if required.

    Parameters

    • aabb: AABB2

      The AABB to expand.

    • p: Vec2

      The 2D point [x, y].

    Returns AABB2

    The expanded AABB.

    • Defined in packages/sdk/src/math/boundaries.ts:470

Settings

Member Visibility
@xeokit/sdk - v0.1.0
  • Loading...

Generated using TypeDoc