 | LineSegment2IIntersect Method (LineSegment2I, LineSegment2I, 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(
LineSegment2I lineSegmentA,
LineSegment2I lineSegmentB,
out Vector2F intersectionPoint
)
Public Shared Function Intersect (
lineSegmentA As LineSegment2I,
lineSegmentB As LineSegment2I,
<OutAttribute> ByRef intersectionPoint As Vector2F
) As Boolean
public:
static bool Intersect(
LineSegment2I lineSegmentA,
LineSegment2I lineSegmentB,
[OutAttribute] Vector2F% intersectionPoint
)
static member Intersect :
lineSegmentA : LineSegment2I *
lineSegmentB : LineSegment2I *
intersectionPoint : Vector2F byref -> bool
Parameters
- lineSegmentA
- Type: Slash.Math.Geometry.LinesLineSegment2I
[Missing <param name="lineSegmentA"/> documentation for "M:Slash.Math.Geometry.Lines.LineSegment2I.Intersect(Slash.Math.Geometry.Lines.LineSegment2I,Slash.Math.Geometry.Lines.LineSegment2I,Slash.Math.Algebra.Vectors.Vector2F@)"]
- lineSegmentB
- Type: Slash.Math.Geometry.LinesLineSegment2I
[Missing <param name="lineSegmentB"/> documentation for "M:Slash.Math.Geometry.Lines.LineSegment2I.Intersect(Slash.Math.Geometry.Lines.LineSegment2I,Slash.Math.Geometry.Lines.LineSegment2I,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