All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.contrib.DiamondGeom
CH.ifa.draw.contrib.DiamondGeom
- public class DiamondGeom
-
diamondAngleToPoint(Rectangle, double)
- Gets the point on a diamond that corresponds to the given angle.
-
downTriangleAngleToPoint(Rectangle, double)
-
-
polarToPointOnDiamond(double, double, double)
- Converts a polar to a point on a diamond's perimeter.
-
polarToPointOnDownTriangle(double, double, double)
-
-
polarToPointOnUpTriangle(double, double, double)
-
-
upTriangleAngleToPoint(Rectangle, double)
-
polarToPointOnDiamond
public static Point polarToPointOnDiamond(double angle,
double fx,
double fy)
- Converts a polar to a point on a diamond's perimeter.
diamondAngleToPoint
public static Point diamondAngleToPoint(Rectangle r,
double angle)
- Gets the point on a diamond that corresponds to the given angle.
polarToPointOnUpTriangle
public static Point polarToPointOnUpTriangle(double angle,
double fx,
double fy)
polarToPointOnDownTriangle
public static Point polarToPointOnDownTriangle(double angle,
double fx,
double fy)
upTriangleAngleToPoint
public static Point upTriangleAngleToPoint(Rectangle r,
double angle)
downTriangleAngleToPoint
public static Point downTriangleAngleToPoint(Rectangle r,
double angle)
All Packages Class Hierarchy This Package Previous Next Index