MathHelperFindArcCircleIntersections Method
|
Calculates the intersection points of an arc and a circle.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static int FindArcCircleIntersections(
Arc arc,
Circle circle,
out Vector2 intersection1,
out Vector2 intersection2
)
Public Shared Function FindArcCircleIntersections (
arc As Arc,
circle As Circle,
<OutAttribute> ByRef intersection1 As Vector2,
<OutAttribute> ByRef intersection2 As Vector2
) As Integer
public:
static int FindArcCircleIntersections(
Arc^ arc,
Circle^ circle,
[OutAttribute] Vector2% intersection1,
[OutAttribute] Vector2% intersection2
)
static member FindArcCircleIntersections :
arc : Arc *
circle : Circle *
intersection1 : Vector2 byref *
intersection2 : Vector2 byref -> int
STATIC METHOD FindArcCircleIntersections(
arc AS Arc,
circle AS Circle,
intersection1 OUT Vector2,
intersection2 OUT Vector2
) AS LONG
Parameters
- arc
- Type: DXFReaderNET.EntitiesArc
The arc. - circle
- Type: DXFReaderNET.EntitiesCircle
The circle. - 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