figureone
    Preparing search index...

    A RangeBounds defines a bounds for a value or Point between some minimum and maximum value.

    When using points, the minimum and maximum value is applied to each component of the point separately.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Returns the max or min bound that is met by a value moving in the positive or negative direction.

      The return object includes the intersect boundary, the distance to the boundary and the reflected direction.

      If the value lies outside the bounds, it will first be clipped to the bounds.

      Parameters

      • value: number
      • direction: number = 1

      Returns BoundsValueIntersect