Here are the examples of the csharp api MixedRealityExtension.ProceduralToolkit.Intersect.LineLine(UnityEngine.Vector2, UnityEngine.Vector2, UnityEngine.Vector2, UnityEngine.Vector2, out IntersectionLineLine2) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
19
Source : Intersect2D.cs
with MIT License
from microsoft
with MIT License
from microsoft
public static bool LineLine(Line2 lineA, Line2 lineB, out IntersectionLineLine2 intersection)
{
return LineLine(lineA.origin, lineA.direction, lineB.origin, lineB.direction, out intersection);
}
19
Source : Intersect2D.cs
with MIT License
from microsoft
with MIT License
from microsoft
public static bool LineLine(Line2 lineA, Line2 lineB)
{
IntersectionLineLine2 intersection;
return LineLine(lineA.origin, lineA.direction, lineB.origin, lineB.direction, out intersection);
}
19
Source : Intersect2D.cs
with MIT License
from microsoft
with MIT License
from microsoft
public static bool LineLine(Vector2 originA, Vector2 directionA, Vector2 originB, Vector2 directionB)
{
IntersectionLineLine2 intersection;
return LineLine(originA, directionA, originB, directionB, out intersection);
}