pd
Class VectorUtils
java.lang.Object
|
+--pd.VectorUtils
- public class VectorUtils
- extends java.lang.Object
Method Summary |
static java.awt.geom.Arc2D.Double |
getAngles(double rx,
double ry,
double angle,
boolean largeArcFlag,
boolean sweepFlag,
double startX,
double startY,
double endX,
double endY)
|
static ArcValues |
getArcParams(Point p1,
Point p2,
Point p3)
|
static ArcPoint |
getCenterOfCircle(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
|
static double |
getEndAngle(Point p1,
Point p2,
Point p3)
|
static double |
getStartAngle(Point p1,
Point p2,
Point p3)
|
static boolean |
isBiggerAngle(Point p1,
Point p2,
Point p3)
|
static boolean |
isClockwise(Point m,
Point p1,
Point p3)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VectorUtils
public VectorUtils()
isBiggerAngle
public static boolean isBiggerAngle(Point p1,
Point p2,
Point p3)
isClockwise
public static boolean isClockwise(Point m,
Point p1,
Point p3)
getArcParams
public static ArcValues getArcParams(Point p1,
Point p2,
Point p3)
getCenterOfCircle
public static ArcPoint getCenterOfCircle(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
getStartAngle
public static double getStartAngle(Point p1,
Point p2,
Point p3)
getEndAngle
public static double getEndAngle(Point p1,
Point p2,
Point p3)
getAngles
public static java.awt.geom.Arc2D.Double getAngles(double rx,
double ry,
double angle,
boolean largeArcFlag,
boolean sweepFlag,
double startX,
double startY,
double endX,
double endY)