Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DXFUtils
public DXFUtils()
distance
public static double distance(Point start,
Point end)
rotateAngleX
public static double rotateAngleX(Point start,
Point end)
vectorValue
public static double vectorValue(double[] x)
scalePoint
public static Point scalePoint(Point p,
double scale)
getPointFromParameterizedLine
public static Point getPointFromParameterizedLine(Point basePoint,
Vector direction,
double parameter)
reverseDXFLine
public static void reverseDXFLine(DXFLine line)
reverseDXFPolyline
public static void reverseDXFPolyline(DXFPolyline pline)
getArcRadius
public static double getArcRadius(DXFVertex start,
DXFVertex end)
equals
public static boolean equals(Point p1,
Point p2,
double radius)
- Tests if the two points are the same for a given radius. In other words
the distance between the two points is lower then the radius.
- Parameters:
p1
- p2
- radius
-
- Returns: