CADArcAndArc
calculates the crossing points of two arcs,
where both arcs can be either a Circle, a Circle arc, an Ellipse or an
Ellipse arc.
IO  Parameter  Type  Description

in  theArc1CenterX  real  Xcoordinate of the center of the first arc

in  theArc1CenterY  real  Ycoordinate of the center of the first arc

in  theArc1RadiusX  real  Radius of the first Circle or Circle arc,
xradius of the first Ellipse or Ellipse arc

in  theArc1RadiusY  real  Radius of the first Circle or Circle arc,
yradius of the first Ellipse or Ellipse arc

in  theArc1Rotation  real  Rotation Angle of the first arc

in  theOptionalArc1StartAngle  real  Start angle of the first Circle arc or
Ellipse arc, 0 for the first Circle or Ellipse

in  theOptionalArc1EndAngle  real  End angle of the first Circle arc or Ellipse arc,
0 for the first Circle or Ellipse

in  theArc2CenterX  real  Xcoordinate of the center of the second arc

in  theArc2CenterY  real  Ycoordinate of the center of the second arc

in  theArc2RadiusX  real  Radius of the second Circle or Circle arc,
xradius of the second Ellipse or Ellipse arc

in  theArc2RadiusY  real  Radius of the second Circle or Circle arc,
yradius of the second Ellipse or Ellipse arc

in  theArc2Rotation  real  Rotation Angle of the second arc

in  theOptionalArc2StartAngle  real  Start angle of the second Circle arc or Ellipse arc,
0 for the second Circle or Ellipse

in  theOptionalArc2EndAngle  real  End angle of the second Circle arc or Ellipse arc,
0 for the second Circle or Ellipse

out  theIntersectCount  integer  The number of crossing points found (or 0)

out  theIntersectX1  real  Xcoordinate of the first crossing point (or 0)

out  theIntersectY1  real  Ycoordinate of the first crossing point (or 0)

out  theIntersectX2  real  Xcoordinate of the second crossing point (or 0)

out  theIntersectY2  real  Ycoordinate of the second crossing point (or 0)

out  theIntersectX3  real  Xcoordinate of the third crossing point (or 0)

out  theIntersectY3  real  Ycoordinate of the third crossing point (or 0)

out  theIntersectX4  real  Xcoordinate of the fourth crossing point (or 0)

out  theIntersectY4  real  Ycoordinate of the fourth crossing point (or 0)

out  function result  OSErr  Error result code, also see Error handling

Important
It is an error if any radius is less than or equal to 0.
It is not an error if no crossing points are found.
Related methods
CADLineAndLine
, CADLineAndRect
, CADRectAndRect
,
CADLineAndArc
, CADPolyAndPoly
, CADCheckPoly
,
CADFindCrossings
.