 | LineSegment2FIntersect Method (LineSegment2F, LineSegment2F, Vector2F) |
Checks if the passed line segments intersect and computes the intersection point if they do
Namespace: Slash.Math.Geometry.LinesAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static bool Intersect(
LineSegment2F lineSegmentA,
LineSegment2F lineSegmentB,
out Vector2F intersectionPoint
)
Public Shared Function Intersect (
lineSegmentA As LineSegment2F,
lineSegmentB As LineSegment2F,
<OutAttribute> ByRef intersectionPoint As Vector2F
) As Boolean
public:
static bool Intersect(
LineSegment2F lineSegmentA,
LineSegment2F lineSegmentB,
[OutAttribute] Vector2F% intersectionPoint
)
static member Intersect :
lineSegmentA : LineSegment2F *
lineSegmentB : LineSegment2F *
intersectionPoint : Vector2F byref -> bool
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