Click or drag to resize
LineSegment2FIntersect Method (LineSegment2F, LineSegment2F, Vector2F)
Checks if the passed line segments intersect and computes the intersection point if they do

Namespace: Slash.Math.Geometry.Lines
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static bool Intersect(
	LineSegment2F lineSegmentA,
	LineSegment2F lineSegmentB,
	out Vector2F intersectionPoint
)

Parameters

lineSegmentA
Type: Slash.Math.Geometry.LinesLineSegment2F

[Missing <param name="lineSegmentA"/> documentation for "M:Slash.Math.Geometry.Lines.LineSegment2F.Intersect(Slash.Math.Geometry.Lines.LineSegment2F,Slash.Math.Geometry.Lines.LineSegment2F,Slash.Math.Algebra.Vectors.Vector2F@)"]

lineSegmentB
Type: Slash.Math.Geometry.LinesLineSegment2F

[Missing <param name="lineSegmentB"/> documentation for "M:Slash.Math.Geometry.Lines.LineSegment2F.Intersect(Slash.Math.Geometry.Lines.LineSegment2F,Slash.Math.Geometry.Lines.LineSegment2F,Slash.Math.Algebra.Vectors.Vector2F@)"]

intersectionPoint
Type: Slash.Math.Algebra.VectorsVector2F
Intersection point between the two passed line segments

Return Value

Type: Boolean
Returns true if line segments intersect, otherwise false
See Also