QCAD
Open Source 2D CAD
Apollonius.js File Reference

Functions

void Apollonius ()
 

Function Documentation

void Apollonius ( )
Returns
Solutions for circles (<=8) that are tangetial to the three given shapes.
Solutions for circles that are tangetial to the three given points.
Solutions for circles that are tangetial to the three given circles.
Pole point of the polar line with respect to circle.
Similarity axes of the tree given circles.
Line that connectes first points contained in each array. Helper function. No check is performmed if the three points are indeed on one line.
Power center of the three given circles.
Radical axis of circles c1 and c2 with given length.
Solutions for circles (<=4) that are tangetial to the three given lines.
Solutions for circles that are tangetial to the two given circles and the given point.
Solutions for circles that are tangetial to the two given points and the given circle.
Solutions for circles that are tangetial to the two given points and the given line.
Solutions for circles that are tangetial to the two given lines and the given circle.
Solutions for circles that are tangetial to the given line and the two given circles.
Solutions for circles that are tangetial to the given point, line and circle.
Solutions for circles that are tangetial to the given point and the given lines.
Given shapes inversed by given inversion circle.
Given shape inversed by given inversion circle.
Tangents from circle1 to circle 2
Common intersection point of all three circles or undefined.
Angle bisectors of the two given lines or empty array if lines are parallel.
Array of circles tangential to shape1 and shape2 with given radius.
Parameters
posOnly return circle closest to given pos or undefined to return all circles
candidatesEmpty array. Filled with all candidates or undefined if caller is not interested in all solution.
previewTrue for preview mode