Interface IFlat3d
Interface for a 3D flat surface that provides location and 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 GetLocate()
Returns
- Vec3d
A point on the flat surface
GetLocate(Vec3d, double)
public static Vec3d GetLocate(Vec3d normal, double distanceToOrigin)
Parameters
Returns
GetNormal()
Gets the normal vector of the flat surface.
Vec3d GetNormal()
Returns
- Vec3d
The unit normal vector