Click or drag to resize
Ab4d.SharpEngine logo

MathUtilsGetPlaneIntersection(Plane, Vector3, Single) Method

Returns a MathUtilsPlaneIntersectionType that describes where the specified positions 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 MathUtilsPlaneIntersectionType GetPlaneIntersection(
	 in Plane plane,
	Vector3[] positions,
	float coplanarEpsilon = 1E-06f
)

Parameters

plane  Plane
Plane
positions  Vector3
positions as array of 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

MathUtilsPlaneIntersectionType
PlaneIntersectionType that describes where the specified positions lie in relation to this Plane
See Also