Method ProjectToObbSurface
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
ProjectToObbSurface(GeoObb3, GeoPoint3)
Projects a point onto the surface of an oriented box, never returning a point inside it.
public static GeoPoint3 ProjectToObbSurface(GeoObb3 box, GeoPoint3 point)
Parameters
Returns
Remarks
For a point outside the box this agrees with ProjectToObb(GeoObb3, GeoPoint3). For a point inside, the answer is on the face it is nearest to, which is the question to ask when measuring clearance to a wall from within a room.