PolygonDecomposerAPI.LineIntersect(ref UnityEngine.Vector2, ref UnityEngine.Vector2, ref UnityEngine.Vector2, ref UnityEngine.Vector2, bool, bool, out UnityEngine.Vector2)

Here are the examples of the csharp api PolygonDecomposerAPI.LineIntersect(ref UnityEngine.Vector2, ref UnityEngine.Vector2, ref UnityEngine.Vector2, ref UnityEngine.Vector2, bool, bool, out UnityEngine.Vector2) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

3 Examples 7

19 View Source File : PolygonDecomposerAPI.cs
License : MIT License
Project Creator : BelkinAndrey

public static bool LineIntersect(Vector2 point1, Vector2 point2, Vector2 point3, Vector2 point4, bool firstIsSegment, bool secondIsSegment, out Vector2 intersectionPoint) {
		return LineIntersect(ref point1, ref point2, ref point3, ref point4, firstIsSegment, secondIsSegment, out intersectionPoint);
	}

19 View Source File : PolygonDecomposerAPI.cs
License : MIT License
Project Creator : BelkinAndrey

public static bool LineIntersect(ref Vector2 point1, ref Vector2 point2, ref Vector2 point3, ref Vector2 point4, out Vector2 intersectionPoint) {
		return LineIntersect(ref point1, ref point2, ref point3, ref point4, true, true, out intersectionPoint);
	}

19 View Source File : PolygonDecomposerAPI.cs
License : MIT License
Project Creator : BelkinAndrey

public static bool LineIntersect(Vector2 point1, Vector2 point2, Vector2 point3, Vector2 point4, out Vector2 intersectionPoint) {
		return LineIntersect(ref point1, ref point2, ref point3, ref point4, true, true, out intersectionPoint);
    }