Click or drag to resize
Ab4d.SharpEngine logo

MathUtils.GetPlaneIntersection(Plane, Vector3, Single) Method

Returns a MathUtils.PlaneIntersectionType that describes where the specified position lie in relation to this Plane.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static MathUtils.PlaneIntersectionType GetPlaneIntersection(
	 in Plane plane,
	 in Vector3 position,
	float coplanarEpsilon = 1E-06f
)

Parameters

plane  Plane
Plane
position  Vector3
position as Vector3
coplanarEpsilon  Single  (Optional)
Value that is used to determine when a point lie on the plane (if distance from the plane is less that this value).

Return Value

MathUtils.PlaneIntersectionType
PlaneIntersectionType that describes where the specified position lie in relation to this Plane
See Also