struct
TPlane
template<typename T>A plane represented by a normal and a distance.
Public
Constructors
TPlane<T>
TPlane<T>
TPlane<T>
TPlane
TPlane
TPlane
TPlane
TPlane
TPlane
TPlane
TPlane
TPlane
Methods
GetSide
Returns the side of the plane where the point is located on.
GetSide
Returns the side where the alignedBox is.
The flag BOTH_SIDE indicates an intersecting box. One corner ON the plane is sufficient to consider the box and the plane intersecting.
GetSide
Returns the side where the sphere is.
The flag BOTH_SIDE indicates an intersecting sphere.
ProjectVector
Project a vector onto the plane.
Normalize
Normalizes the plane's normal and the length scale of d.
Intersects
Ray/plane intersection, returns boolean result and distance to intersection point.
GetSide
Returns the side of the plane where the point is located on.
GetSide
Returns the side where the alignedBox is.
The flag BOTH_SIDE indicates an intersecting box. One corner ON the plane is sufficient to consider the box and the plane intersecting.
GetSide
Returns the side where the sphere is.
The flag BOTH_SIDE indicates an intersecting sphere.
GetDistance
Returns a distance from point to plane.
ProjectVector
Project a vector onto the plane.
Normalize
Normalizes the plane's normal and the length scale of d.
Intersects
Ray/plane intersection, returns boolean result and distance to intersection point.
GetSide
Returns the side of the plane where the point is located on.
GetSide
Returns the side where the alignedBox is.
The flag BOTH_SIDE indicates an intersecting box. One corner ON the plane is sufficient to consider the box and the plane intersecting.
GetSide
Returns the side where the sphere is.
The flag BOTH_SIDE indicates an intersecting sphere.
GetDistance
Returns a distance from point to plane.
ProjectVector
Project a vector onto the plane.
Normalize
Normalizes the plane's normal and the length scale of d.
Intersects
Ray/plane intersection, returns boolean result and distance to intersection point.