Click or drag to resize

RectUtils Class

Utility class that provides methods for testing if a point is within a rectangle within 3D space.
Inheritance Hierarchy
SystemObject
  ImmerseSDKRectUtils

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public static class RectUtils

The RectUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIsPointWithinRect
Returns true if the point is within the rectangle, otherwise false. Expects a rectangle defined in the following format: list index 0 is the bottom left (0,0), with indexes increasing clockwise around the rectangle.
Public methodStatic memberIsPointWithinRectAABB
Returns true if the point is within the axis aligned bounding box, otherwise false. Expects a rectangle defined in the following format: array index 0 is the bottom left (position 0,0), with indexes increasing clockwise around the rectangle.
Top
See Also