|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.geometry.xy.XyConstants
public class XyConstants
Geometric constants and conversion factors.
Copyright 2007 Partner Software, Inc.
| Field Summary | |
|---|---|
static XyAffineTransform |
AFFINE_IDENTITY
Identity affine transformation. |
static XyAngle |
ANGLE_EIGHTH_CIRCLE
Angle representing an eighth circle; 45 degrees, pi/4 radians. |
static XyAngle |
ANGLE_FULL_CIRCLE
Angle representing a full circle; 360 degrees,2 pi radians. |
static XyAngle |
ANGLE_HALF_CIRCLE
Angle representing half a circle; 180 degrees, pi radians. |
static XyAngle |
ANGLE_QUARTER_CIRCLE
Angle representing a quarter circle; 90 degrees, pi/2 radians. |
static XyAngle |
ANGLE_SIXTIETH_CIRCLE
Angle representing a sixtieth of a circle; 6 degrees, pi/30 radians. |
static XyAngle |
ANGLE_THREE_EIGHTH_CIRCLE
Angle representing a 3/8 circle; 135 degrees, 3/4 pi radians. |
static XyAngle |
ANGLE_THREE_QUARTER_CIRCLE
Angle representing half a circle; 270 degrees, 3/2 pi radians. |
static XyAngle |
ANGLE_ZERO
Angle representing no angle; 0 degrees, 0 radians. |
static double |
DEGREES_TO_MICRONS
Conversion factor to convert degrees to microns (1/1048576 second). |
static double |
DEGREES_TO_MINUTES
Conversion factor to convert degrees to minutes. |
static double |
DEGREES_TO_RADIANS
Conversion factor to convert degrees to radians. |
static double |
DEGREES_TO_REVOLUTIONS
Conversion factor to convert degrees to revolutions. |
static double |
DEGREES_TO_SECONDS
Conversion factor to convert degrees to seconds. |
static XyDirection |
EAST
The direction with theta = 0 and bearing = 90 (due east). |
static double |
FIVE_QUARTER_PI
Five quarter pi is 3/8 of a pie. |
static double |
HALF_PI
A half pi is a quarter of a pie. |
static double |
MICRONS_TO_DEGREES
Conversion factor to convert microns to degrees. |
static double |
MICRONS_TO_MINUTES
Conversion factor to convert microns to minutes. |
static double |
MICRONS_TO_RADIANS
Conversion factor to convert microns to radians. |
static double |
MICRONS_TO_REVOLUTIONS
Conversion factor to convert microns to revolutions. |
static double |
MICRONS_TO_SECONDS
Conversion factor to convert microns to seconds. |
static double |
MINUTES_TO_DEGREES
Conversion factor to convert minutes to degrees. |
static double |
MINUTES_TO_MICRONS
Conversion factor to convert minutes to microns (1/1048576 second). |
static double |
MINUTES_TO_RADIANS
Conversion factor to convert minutes to radians. |
static double |
MINUTES_TO_REVOLUTIONS
Conversion factor to convert minutes to revolutions. |
static double |
MINUTES_TO_SECONDS
Conversion factor to convert minutes to seconds. |
static XyDirection |
NORTH
The direction with theta = 1/2 PI and bearing = 0 (due north). |
static XyDirection |
NORTHEAST
The direction with theta = 1/4 PI and bearing = 45 (northeast). |
static XyDirection |
NORTHWEST
The direction with theta = 3/4 PI and bearing = 315 (northwest). |
static double |
PI
One pi is half a pie. |
static XyPoint |
POINT_ZERO
The point (0.0, 0.0). |
static double |
QUARTER_PI
A quarter pi is an eighth of a pie. |
static double |
RADIANS_TO_DEGREES
Conversion factor to convert radians to degrees. |
static double |
RADIANS_TO_MICRONS
Conversion factor to convert radians to microns (1/1048576 second). |
static double |
RADIANS_TO_MINUTES
Conversion factor to convert radians to minutes. |
static double |
RADIANS_TO_REVOLUTIONS
Conversion factor to convert radians to revolutions. |
static double |
RADIANS_TO_SECONDS
Conversion factor to convert radians to seconds. |
static int |
REVOLUTIONS_TO_DEGREES
Conversion factor to convert revolutions to degrees. |
static long |
REVOLUTIONS_TO_MICRONS
Conversion factor to convert revolutions to microns (1/1048576 second). |
static int |
REVOLUTIONS_TO_MINUTES
Conversion factor to convert revolutions to minutes. |
static double |
REVOLUTIONS_TO_RADIANS
Conversion factor to convert revolutions to radians. |
static int |
REVOLUTIONS_TO_SECONDS
Conversion factor to convert revolutions to seconds. |
static XyRotation |
ROTATION_HALF_LEFT
Half turn to port. |
static XyRotation |
ROTATION_HALF_RIGHT
Half turn to starboard. |
static XyRotation |
ROTATION_QUARTER_LEFT
Quarter turn to port. |
static XyRotation |
ROTATION_QUARTER_RIGHT
Quarter turn to starboard. |
static XyRotation |
ROTATION_ZERO
No rotation at all. |
static double |
SECONDS_TO_DEGREES
Conversion factor to convert seconds to degrees. |
static double |
SECONDS_TO_MICRONS
Conversion factor to convert seconds to microns (1/1048576 second). |
static double |
SECONDS_TO_MINUTES
Conversion factor to convert seconds to minutes. |
static double |
SECONDS_TO_RADIANS
Conversion factor to convert seconds to radians. |
static double |
SECONDS_TO_REVOLUTIONS
Conversion factor to convert seconds to revolutions. |
static double |
SEVEN_QUARTER_PI
Seven quarter pi is 7/8 of a pie. |
static XyDirection |
SOUTH
The direction with theta = 3/2 PI and bearing = 180 (due south). |
static XyDirection |
SOUTHEAST
The direction with theta = 7/4 PI and bearing = 135 (southeast). |
static XyDirection |
SOUTHWEST
The direction with theta = 5/4 PI and bearing = 225 (southwest). |
static double |
THREE_HALF_PI
3/2 pi is a 3/4 of a pie. |
static double |
THREE_QUARTER_PI
Three quarter pi is 3/8 of a pie. |
static double |
TWO_PI
Two pi is a whole pie. |
static XyVector |
VECTOR_ZERO
Vector representing no delta - (0, 0). |
static XyDirection |
WEST
The direction with theta = PI and bearing = 270 (due west). |
| Constructor Summary | |
|---|---|
XyConstants()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double PI
public static final double TWO_PI
public static final double HALF_PI
public static final double THREE_HALF_PI
public static final double QUARTER_PI
public static final double THREE_QUARTER_PI
public static final double FIVE_QUARTER_PI
public static final double SEVEN_QUARTER_PI
public static final double DEGREES_TO_REVOLUTIONS
revolutions = degrees * DEGREES_TO_REVOLUTIONS
public static final double DEGREES_TO_RADIANS
radians = degrees * DEGREES_TO_RADIANS
public static final double DEGREES_TO_MINUTES
minutes = degrees * DEGREES_TO_MINUTES
public static final double DEGREES_TO_SECONDS
seconds = degrees * DEGREES_TO_SECONDS
public static final double DEGREES_TO_MICRONS
microns = degrees * DEGREES_TO_MICRONS
public static final double MINUTES_TO_REVOLUTIONS
revolutions = minutes * MINUTES_TO_REVOLUTIONS
public static final double MINUTES_TO_RADIANS
radians = minutes * MINUTES_TO_RADIANS
public static final double MINUTES_TO_DEGREES
degrees = minutes * MINUTES_TO_DEGREES
public static final double MINUTES_TO_SECONDS
seconds = minutes * MINUTES_TO_SECONDS
public static final double MINUTES_TO_MICRONS
microns = minutes * MINUTES_TO_MICRONS
public static final double SECONDS_TO_REVOLUTIONS
revolutions = seconds * SECONDS_TO_REVOLUTIONS
public static final double SECONDS_TO_MICRONS
microns = seconds * SECONDS_TO_MICRONS
public static final double SECONDS_TO_RADIANS
radians = seconds * SECONDS_TO_RADIANS
public static final double SECONDS_TO_DEGREES
degrees = seconds * SECONDS_TO_DEGREES
public static final double SECONDS_TO_MINUTES
minutes = seconds * SECONDS_TO_MINUTES
public static final double MICRONS_TO_REVOLUTIONS
revolutions = microns * MICRONS_TO_REVOLUTIONS
public static final double MICRONS_TO_SECONDS
microns = microns * MICRONS_TO_MICRONS
public static final double MICRONS_TO_RADIANS
radians = microns * MICRONS_TO_RADIANS
public static final double MICRONS_TO_DEGREES
degrees = microns * MICRONS_TO_DEGREES
public static final double MICRONS_TO_MINUTES
minutes = microns * MICRONS_TO_MINUTES
public static final double RADIANS_TO_REVOLUTIONS
revolutions = radians * RADIANS_TO_REVOLUTIONS;
public static final double RADIANS_TO_DEGREES
degrees = radians * RADIANS_TO_DEGREES;
public static final double RADIANS_TO_MINUTES
minutes = radians * RADIANS_TO_MINUTES;
public static final double RADIANS_TO_SECONDS
seconds = radians * RADIANS_TO_DEGREES;
public static final double RADIANS_TO_MICRONS
microns = radians * RADIANS_TO_MICRONS;
public static final double REVOLUTIONS_TO_RADIANS
radians = revolutions * REVOLUTIONS_TO_RADIANS;
public static final int REVOLUTIONS_TO_DEGREES
degrees = revolutions * REVOLUTIONS_TO_DEGREES;
public static final int REVOLUTIONS_TO_MINUTES
minutes = revolutions * REVOLUTIONS_TO_MINUTES;
public static final int REVOLUTIONS_TO_SECONDS
seconds = revolutions * REVOLUTIONS_TO_SECONDS;
public static final long REVOLUTIONS_TO_MICRONS
microns = revolutions * REVOLUTIONS_TO_MICRONS;
public static final XyPoint POINT_ZERO
public static final XyDirection EAST
public static final XyDirection NORTH
public static final XyDirection WEST
public static final XyDirection SOUTH
public static final XyDirection NORTHEAST
public static final XyDirection NORTHWEST
public static final XyDirection SOUTHWEST
public static final XyDirection SOUTHEAST
public static final XyAngle ANGLE_ZERO
public static final XyAngle ANGLE_SIXTIETH_CIRCLE
public static final XyAngle ANGLE_EIGHTH_CIRCLE
public static final XyAngle ANGLE_QUARTER_CIRCLE
public static final XyAngle ANGLE_THREE_EIGHTH_CIRCLE
public static final XyAngle ANGLE_HALF_CIRCLE
public static final XyAngle ANGLE_THREE_QUARTER_CIRCLE
public static final XyAngle ANGLE_FULL_CIRCLE
public static final XyRotation ROTATION_ZERO
public static final XyRotation ROTATION_QUARTER_LEFT
public static final XyRotation ROTATION_QUARTER_RIGHT
public static final XyRotation ROTATION_HALF_LEFT
public static final XyRotation ROTATION_HALF_RIGHT
public static final XyAffineTransform AFFINE_IDENTITY
public static final XyVector VECTOR_ZERO
| Constructor Detail |
|---|
public XyConstants()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||