Interface IFlat3d
Interface for a 3D plane that provides an anchor point and a normal vector.
public interface IFlat3d
- Extension Methods
Methods
GetDistanceToOrigin()
Signed Distance To Origin.
double GetDistanceToOrigin()
Returns
- double
Signed Distance To Origin.
GetLocate()
Gets an anchor point on this flat surface.
vec3d_t GetLocate()
Returns
- vec3d_t
A point on the flat surface
GetLocate(vec3d_t, double)
Gets an anchor point from a normal vector and signed distance to origin.
public static vec3d_t GetLocate(vec3d_t normal, double distanceToOrigin)
Parameters
Returns
- vec3d_t
The anchor point on the plane.
GetNormal()
Gets the normal vector of the flat surface.
vec3d_t GetNormal()
Returns
- vec3d_t
The unit normal vector