MathHelperFindLineArcIntersections Method
|
Calculates the intersection points of a line and an arc.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static int FindLineArcIntersections(
Line line,
Arc arc,
out Vector2 intersection1,
out Vector2 intersection2
)
Public Shared Function FindLineArcIntersections (
line As Line,
arc As Arc,
<OutAttribute> ByRef intersection1 As Vector2,
<OutAttribute> ByRef intersection2 As Vector2
) As Integer
public:
static int FindLineArcIntersections(
Line^ line,
Arc^ arc,
[OutAttribute] Vector2% intersection1,
[OutAttribute] Vector2% intersection2
)
static member FindLineArcIntersections :
line : Line *
arc : Arc *
intersection1 : Vector2 byref *
intersection2 : Vector2 byref -> int
STATIC METHOD FindLineArcIntersections(
line AS Line,
arc AS Arc,
intersection1 OUT Vector2,
intersection2 OUT Vector2
) AS LONG
Parameters
- line
- Type: DXFReaderNET.EntitiesLine
The line. - arc
- Type: DXFReaderNET.EntitiesArc
The arc. - intersection1
- Type: DXFReaderNETVector2
First intersection point. - intersection2
- Type: DXFReaderNETVector2
Second intersection point.
Return Value
Type:
Int320 if there are no intersection, 1 if there are only one intersection, 2 if there are two intersections.
See Also