MathHelperFindCircleCircleIntersections Method
|
Calculates the intersection points of two circles.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static int FindCircleCircleIntersections(
Circle circle0,
Circle circle1,
out Vector2 intersection1,
out Vector2 intersection2
)
Public Shared Function FindCircleCircleIntersections (
circle0 As Circle,
circle1 As Circle,
<OutAttribute> ByRef intersection1 As Vector2,
<OutAttribute> ByRef intersection2 As Vector2
) As Integer
public:
static int FindCircleCircleIntersections(
Circle^ circle0,
Circle^ circle1,
[OutAttribute] Vector2% intersection1,
[OutAttribute] Vector2% intersection2
)
static member FindCircleCircleIntersections :
circle0 : Circle *
circle1 : Circle *
intersection1 : Vector2 byref *
intersection2 : Vector2 byref -> int
STATIC METHOD FindCircleCircleIntersections(
circle0 AS Circle,
circle1 AS Circle,
intersection1 OUT Vector2,
intersection2 OUT Vector2
) AS LONG
Parameters
- circle0
- Type: DXFReaderNET.EntitiesCircle
First circle. - circle1
- Type: DXFReaderNET.EntitiesCircle
Second 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