public class ApolloniusSolver extends Object
Constructor and Description |
---|
ApolloniusSolver() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static net.sourceforge.plantuml.cute.ApolloniusSolver.Circle |
solveApollonius(net.sourceforge.plantuml.cute.ApolloniusSolver.Circle c1,
net.sourceforge.plantuml.cute.ApolloniusSolver.Circle c2,
net.sourceforge.plantuml.cute.ApolloniusSolver.Circle c3,
int s1,
int s2,
int s3)
Solves the Problem of Apollonius (finding a circle tangent to three other circles in the plane).
|
public static net.sourceforge.plantuml.cute.ApolloniusSolver.Circle solveApollonius(net.sourceforge.plantuml.cute.ApolloniusSolver.Circle c1, net.sourceforge.plantuml.cute.ApolloniusSolver.Circle c2, net.sourceforge.plantuml.cute.ApolloniusSolver.Circle c3, int s1, int s2, int s3)
c1
- One of the circles in the problemc2
- One of the circles in the problemc3
- One of the circles in the problems1
- An indication if the solution should be externally or internally tangent (+1/-1) to c1s2
- An indication if the solution should be externally or internally tangent (+1/-1) to c2s3
- An indication if the solution should be externally or internally tangent (+1/-1) to c3public static void main(String[] args)
Copyright © 2016. All Rights Reserved.