|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tbosch.utilities.trigonometry.Circles
public class Circles
Circle Class for functions on circles.
Method Summary | |
---|---|
static double |
getAngleBetweenCircles(int r1,
int r2,
int dx,
int dy)
Gets the angle between the x-axis and a line between two circles. |
static double |
getAngleRadOfYcmAndXcm(int r1,
int r2,
int xCm,
int yCm)
Deprecated. Use getAngleBetweenCircles(int, int, int, int) |
static java.awt.Point[] |
getCirclePoints(double radius,
java.awt.Point middlepoint)
Deprecated. Use Circle.getCirclePoints() instead |
static int |
getVerticalDistance(float r1,
float r2,
int x,
double angleDeg,
boolean outerTangent)
Gets the vertical distance (y-axis) between two circles (their middle points). |
static int |
getYCmOfAngleAndXcm(int r1,
int r2,
int xCm,
double angleDeg,
boolean outerTangent)
Deprecated. Use getVerticalDistance(float, float, int, double, boolean) instead |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static java.awt.Point[] getCirclePoints(double radius, java.awt.Point middlepoint)
Circle.getCirclePoints()
instead
@Deprecated public static int getYCmOfAngleAndXcm(int r1, int r2, int xCm, double angleDeg, boolean outerTangent)
getVerticalDistance(float, float, int, double, boolean)
instead
public static int getVerticalDistance(float r1, float r2, int x, double angleDeg, boolean outerTangent)
outerTangent
- if the outer tangent is priorx
- the x-distance between both middlepointsangleDeg
- the angle between the x-axis and a line between two circles (in degrees)r1
- the radius of the first circler2
- the radius of the second circle
@Deprecated public static double getAngleRadOfYcmAndXcm(int r1, int r2, int xCm, int yCm)
getAngleBetweenCircles(int, int, int, int)
public static double getAngleBetweenCircles(int r1, int r2, int dx, int dy)
dx
- the x-distance of the middlepointsdy
- the y-distance of the middlepointsr1
- the radius of the first circler2
- the radius of the second circle
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |