QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
Apollonius.js File Reference

Functions

void Apollonius ()
 

Function Documentation

◆ Apollonius()

void Apollonius ( )
Returns
Solutions for circles (<=8) that are tangential to the three given shapes.
Solutions for circles that are tangential to the three given points.
Solutions for circles that are tangential 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.
Author
Original by Andrew Mustun, hardened & simplified by CVH © 2024.
Returns
Radical axis of circles c1 and c2 with given length or undefined.
Solutions for circles (<=4) that are tangential to the three given lines.
Author
Andrew Mustun, CVH © 2024
Returns
Solutions for circles (<=4) that are tangential to the two given circles and the given point.
Solutions for circles that are tangential to the two given points and the given circle.
Solutions for circles that are tangential to the two given points and the given line.
Solutions for circles that are tangential to the two given lines and the given circle.
Solutions for circles that are tangential to the given line and the two given circles.
Solutions for circles that are tangential to the given point, line and circle.
Solutions for circles that are tangential 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.
Author
Original by Andrew Mustun, bug fixing, hardened and enhanced by CVH © 2024.
Returns
A common intersection point (1) 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