Get both intersection points

Namespace:  FlowMap
Assembly:  FlowMap (in FlowMap.dll)

Syntax

Visual Basic (Declaration)
Public Function GetIntersectionsWithRectangle ( _
	_rect As Rectangle _
) As Vector3()
C#
public Vector3[] GetIntersectionsWithRectangle(
	Rectangle _rect
)
Visual C++
public:
array<Vector3>^ GetIntersectionsWithRectangle(
	Rectangle _rect
)
JavaScript
function getIntersectionsWithRectangle(_rect);

Parameters

_rect
Type: System.Drawing..::.Rectangle
Rectangle

Return Value

Index 0 contains first intersection point, index 1 contains second

See Also