Class Plane2D
Provides ways to deal with the 2D plane.
public static class Plane2D
- Inheritance
-
Plane2D
- Inherited Members
Methods
GetOctant(IntVector2)
Returns which Plane2D.Octant(s) the given point is in.
public static Plane2D.Octant GetOctant(IntVector2 point)
Parameters
point
IntVector2
Returns
Remarks
For this method, Plane2D.Octants include their boundaries and hence overlap. For example, NorthNortheast and NorthNorthwest both
contain the half-line { (0, y) : y >= 0 }
. In this case, the flag nature of Plane2D.Octant is used to return multiple values.