Click or drag to resize

PolygonIntersects Method

Return the point of intersection between two lines (only for polygons with 2 vertices)

Namespace:  BrydenWoodUnity.GeometryManipulation
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public bool Intersects(
	Polygon other,
	out Vector3 intersectionPoint,
	bool extend = false
)

Parameters

other
Type: BrydenWoodUnity.GeometryManipulationPolygon
The polygon to check against
intersectionPoint
Type: Vector3
the point of intersection
extend (Optional)
Type: SystemBoolean
Whether the lines should be extended to their intersection points

Return Value

Type: Boolean
Whether the lines intersect or not
See Also