com.quinncurtis.chart3djava
Class PhysicalCoordinates

java.lang.Object
  extended by com.quinncurtis.chart3djava.ChartObj
      extended by com.quinncurtis.chart3djava.UserCoordinates
          extended by com.quinncurtis.chart3djava.WorldCoordinates
              extended by com.quinncurtis.chart3djava.WorkingCoordinates
                  extended by com.quinncurtis.chart3djava.PhysicalCoordinates
All Implemented Interfaces:
ChartConstants, java.lang.Cloneable
Direct Known Subclasses:
CartesianCoordinates, TimeCoordinates

public abstract class PhysicalCoordinates
extends WorkingCoordinates

The PhysicalCoordinates class is the abstract base class for all physical coordinate systems used to plot objects in a graph. It uses installable scale objects for x- and y-coordinates scales, so that the x and y coordinate systems do not have to be the same.


Field Summary
 
Fields inherited from interface com.quinncurtis.chart3djava.ChartConstants
ABOVE_CENTERED_PLOTAREA, ABOVE_REFERENCED_TEXT, ABSTRACT_DATASET, ACTUAL_SIZE, ALARM_TRANSITION_DECREASING_FROM_HIGH, ALARM_TRANSITION_DECREASING_TO_LOW, ALARM_TRANSITION_INCREASING_FROM_LOW, ALARM_TRANSITION_INCREASING_TO_HIGH, ALARM_TRANSITION_NONE_HIGH, ALARM_TRANSITION_NONE_LOW, ALARM_TRANSITION_NONE_NORMAL, ALTBARMODE, APRIL, ARC2D_OBJ, ARROW, ARROW_PLOT, ARROW3D, AUGUST, AUTO_RESIZE_OBJECTS, AUTOAXES_EXACT, AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_STACKED, AUTOAXES_UNSTACKED, AUTOCHART, AUTOSCALE, AXIS, AXIS_CENTER, AXIS_MAX, AXIS_MIN, AXISLABELS, AXISTITLE, BACKGROUND, BACKGROUND_ELLIPSE, BACKGROUND_RECTANGLE, BACKGROUND_ROUNDEDRECTANGLE, BAR_PLOT, BARDATAPOINTVALUE, BELOW_CENTERED_PLOTAREA, BELOW_REFERENCED_TEXT, BOTH_AXES, BOTTOM_BORDER, BOTTOM_SIDE, BUBBLE_PLOT, BUBBLELEGEND, BUBLELEGENDITEM, BUFFERED_IMAGE_RENDERING, BUFFEREDIMAGE, BUSINESSFORMAT, CANDLESTICK, CARTESIAN_COORDINATES, CELL_PLOT, CENTER_GRAPH, CENTER_PLOT, CENTER_RADIUS_BOTTOM, CENTER_RADIUS_LEFT, CENTER_RADIUS_RIGHT, CENTER_RADIUS_TOP, CENTERED_BAR, CHART_FOOTER, CHART_HEADER, CHART_SUBHEAD, CHARTATTRIBUTE, CHARTBRUSHES, CHARTCALENDAR, CHARTPENS, CIRCLE, COLUMN_MAJOR, COMBINE_DATASET_ADD, COMBINE_DATASET_DIVIDE, COMBINE_DATASET_MULTIPLY, COMBINE_DATASET_SUBTRACT, COMBINE_DATASET_X, COMBINE_DATASET_XY, COMBINE_DATASET_Y, CONE3D, CONTOUR_DATASET, CONTOUR_DATASET3D, CONTOUR_FILL, CONTOUR_LINE, CONTOUR_LINEANDFILL, CONTOUR_LINEPOLYGON, CONTOUR_LINEWALK, CONTOURLINE, COORD_SIZE, CROSS, CROSSOVER_DAY, CROSSOVER_MONTH, CROSSOVER_NONE, CROSSOVER_WEEK, CROSSOVER_YEAR, CUBE3D, CURRENCYBUSINESSFORMAT, CURRENCYFORMAT, CUSTOM_POSITION, CUSTOMAXIS, CUSTOMSYMBOL, CYLINDER3D, DATA_MOVEABLE, DATA_TOOLTIP_CUSTOM, DATA_TOOLTIP_GROUP_MULTILINE, DATA_TOOLTIP_OHLC, DATA_TOOLTIP_X, DATA_TOOLTIP_XY_ONELINE, DATA_TOOLTIP_XY_TWOLINE, DATA_TOOLTIP_XYZ_ONELINE, DATA_TOOLTIP_XYZ_THREELINE, DATA_TOOLTIP_Y, DATA_TOOLTIP_Z, DATACOMPRESS_AVERAGE, DATACOMPRESS_MAX, DATACOMPRESS_MIN, DATACOMPRESS_MINMAX, DATACOMPRESS_NONE, DATACOMPRESS_SKIP, DATACOMPRESS_SUM, DATACURSOR, DATAVALUE_SYMBOL_SELECTON, DATE, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_YEAR, DECEMBER, DECIMALFORMAT, DEFAULTFORMAT, DEV_POS, DIAMOND, DIAMOND3D, DOWNTRIANGLE, EmptyColor, ENGINEERINGFORMAT, ERROR_ARRAY_NEW, ERROR_ARRAY_NEW_STRING, ERROR_AUTOSCALE, ERROR_AUTOSCALE_DATASET, ERROR_AUTOSCALE_DATASET_STRING, ERROR_AUTOSCALE_DATASETSARRAY, ERROR_AUTOSCALE_DATASETSARRAY_STRING, ERROR_AUTOSCALE_STRING, ERROR_AUTOSCALE_TRANSFORM, ERROR_AUTOSCALE_TRANSFORM_STRING, ERROR_AXIS, ERROR_AXIS_STRING, ERROR_AXISLABLES, ERROR_AXISLABLES_STRING, ERROR_AXISRANGE, ERROR_AXISRANGE_STRING, ERROR_AXISTICKS, ERROR_AXISTICKS_STRING, ERROR_BAD_POLYSURFACE, ERROR_BAD_POLYSURFACE_STRING, ERROR_BARDATAVALUE, ERROR_BARDATAVALUE_STRING, ERROR_BORDER, ERROR_BORDER_STRING, ERROR_COMPONENT, ERROR_COMPONENT_STRING, ERROR_CONTOURDATASET, ERROR_CONTOURDATASET_STRING, ERROR_DATASET, ERROR_DATASET_STRING, ERROR_DATASETSIZE, ERROR_DATASETSIZE_STRING, ERROR_DELAUNAY, ERROR_DELAUNAY_STRING, ERROR_FILECLOSE, ERROR_FILECLOSE_STRING, ERROR_FILEIO, ERROR_FILEIO_STRING, ERROR_FILEOPEN, ERROR_FILEOPEN_STRING, ERROR_FILEREAD, ERROR_FILEREAD_STRING, ERROR_FILEWRITE, ERROR_FILEWRITE_STRING, ERROR_FONT, ERROR_FONT_STRING, ERROR_GRID_ROW_COL, ERROR_GRID_ROW_COL_STRING, ERROR_GROUPDATASET, ERROR_GROUPDATASET_STRING, ERROR_IMAGE, ERROR_IMAGE_STRING, ERROR_INVALID_ALARM_EVENT_ARGUEMENT, ERROR_INVALID_ALARM_EVENT_ARGUEMENT_STRING, ERROR_INVALID_ROUNDED_RECTANGLE_ARGUEMENT, ERROR_INVALID_ROUNDED_RECTANGLE_ARGUEMENT_STRING, ERROR_LEGEND, ERROR_LEGEND_STRING, ERROR_LEGENDITEMSYMBOL, ERROR_LEGENDITEMSYMBOL_STRING, ERROR_LEGENDITEMTEXT, ERROR_LEGENDITEMTEXT_STRING, ERROR_NONE, ERROR_NONE_STRING, ERROR_NULL_ANNUNCIATOR_RECT, ERROR_NULL_ANNUNCIATOR_RECT_STRING, ERROR_NULL_METER_INDICATOR, ERROR_NULL_METER_INDICATOR_STRING, ERROR_NULL_PLOT_TEMPLATE, ERROR_NULL_PLOT_TEMPLATE_STRING, ERROR_NULL_PROCESSVAR, ERROR_NULL_PROCESSVAR_STRING, ERROR_NULLBASEAXIS, ERROR_NULLBASEAXIS_STRING, ERROR_NULLVIEWPORT, ERROR_NULLVIEWPORT_STRING, ERROR_OBJ_NEW, ERROR_OBJ_NEW_STRING, ERROR_OBJECTMISMATCH, ERROR_OBJECTMISMATCH_STRING, ERROR_PLOTOBJ, ERROR_PLOTOBJ_STRING, ERROR_POLARAXES, ERROR_POLARAXES_STRING, ERROR_SCALERANGE, ERROR_SCALERANGE_STRING, ERROR_SCALING, ERROR_SCALING_STRING, ERROR_SHAPE, ERROR_SHAPE_STRING, ERROR_SIMPLEDATASET, ERROR_SIMPLEDATASET_STRING, ERROR_SimpleDataset3D, ERROR_SMALLVIEWPORT, ERROR_SMALLVIEWPORT_STRING, ERROR_SUPERZOOM, ERROR_SUPERZOOM_STRING, ERROR_SYMBOL, ERROR_SYMBOL_STRING, ERROR_TEXT, ERROR_TEXT_STRING, ERROR_TIMELABEL, ERROR_TIMELABEL_STRING, ERROR_WRONGAXISTYPE, ERROR_WRONGAXISTYPE_STRING, ERRORBAR, EXPONENTFORMAT, FASTCLIP_X, FASTCLIP_Y, FEBRUARY, FIRST_IN_SERIES, FIXED_X_ASPECT_RATIO_CORRECTION, FIXED_Y_ASPECT_RATIO_CORRECTION, FLOATING_STACKED_BAR, FLOATINGBAR, FNP_DIST, FNP_NORMDIST, FNP_NORMX, FNP_NORMY, FNP_X, FNP_Y, FRIDAY, FRONT_BORDER, FRONT_FACE_SELECTION, FULL_PLOTAREA_CLIPPING, FULL_POLYSURFACE_SELECTION, GRAPH_AREA_CLIPPING, GRAPH_BACKGROUND, GRAPHAREA_BOTTOM, GRAPHAREA_LEFT, GRAPHAREA_RIGHT, GRAPHAREA_TOP, GRAPHTITLE, GRID, GRID_ALL, GRID_MAJOR, GRID_MINOR, GROUP_DATASET_OBJ, GROUP_DATASET3D_OBJ, GROUPBAR, HBAR, HBAR3D, HIGHLIGHT_COLOR, HISTOGRAM_PLOT, HORIZ_DIR, HOUR, HOUR_OF_DAY, HOURGLASS3D, ICHARTOBJECTPLOT, IMAGE, INDEPENDENT_IN_SERIES, INHERIT_CLIPPING, INSET_3D_LOOK, INSIDE_BAR, INSIDE_BARBASE, INSIDE_INDICATOR, INSIDE_PLOTAREA_MAX, INSIDE_PLOTAREA_MIN, INSIDE_RADIUS_BOTTOM, INSIDE_RADIUS_TOP, JANUARY, JULY, JUNE, JUSTIFY_CENTER, JUSTIFY_MAX, JUSTIFY_MIN, LABEL_ALL, LABEL_INTERCEPT, LABEL_MAX, LABEL_MIN, LABEL_ORIGIN, LAST_IN_SERIES, LEFT_BORDER, LEFT_BUTTON, LEFT_CENTERED_PLOTAREA, LEFT_REFERENCED_TEXT, LEFT_SIDE, LEGEND, LEGEND_FOOTER, LEGEND_HEADER, LEGEND_SUBHEAD, LEGENDITEM, LIGHT_LOWER_LEFT, LIGHT_LOWER_RIGHT, LIGHT_NONE, LIGHT_STRAIGHT_ON, LIGHT_UPPER_LEFT, LIGHT_UPPER_RIGHT, LINE, LINE_MARKER_PLOT, LINE_PLOT, LINEAR_AUTOSCALE, LINEAR_SCALE, LINEAR_SCALE_OBJ, LINEARAXIS, LINEGAP, LM_S, LOG_AUTOSCALE, LOG_SCALE, LOG_SCALE_OBJ, LOGAXIS, LS_DASH_2_2, LS_DASH_4_2, LS_DASH_4_4, LS_DASH_8_4, LS_DASH_DOT, LS_DOT_1_1, LS_DOT_1_2, LS_DOT_1_4, LS_DOT_1_8, LS_SOLID, MANUAL_RESIZE_OBJECTS, MARCH, MARKER, MARKER_BOX, MARKER_CROSS, MARKER_HLINE, MARKER_HVLINE, MARKER_NULL, MARKER_VLINE, MAX_LOG_VALUE, MAY, METER_LABEL_HORIZONTAL, METER_LABEL_PERPENDICULAR, METER_LABEL_RADIAL_1, METER_LABEL_RADIAL_2, MIDDLE_OF_SERIES, MILLISECOND, MIN_LOG_VALUE, MINUTE, MONDAY, MONTH, MOVE_X, MOVE_XY, MOVE_Y, MOVING_AVERAGE_X, MOVING_AVERAGE_XY, MOVING_AVERAGE_Y, MTICKS, MULTI_RIBBON_PLOT, MULTILINE, NEITHER_AXIS, NO_ASPECT_RATIO_CORRECTION, NO_AUTOSCALE, NO_CLIPPING, NO_DATECROSSOVER, NO_FASTCLIP, NO_RESIZE_OBJECTS, NO_SELECTION, NO_STEP, NOOBJECT, NORM_GRAPH_POS, NORM_PLOT_POS, NORM_PROBABILITY_SCALE_OBJ, NOSYMBOL, NOT_MOVEABLE, NOT_SPECIALCONTROL_TYPE, NOVEMBER, NUMERIC_COORDINATE, NUMERICAXISLABELS, NUMERICLABEL, OBJECT_DISABLE, OBJECT_ENABLE, OBJECT_ENABLE_NODRAW, OBJECT_MOVEABLE, OCTOBER, OHLC, OHLC_BAR_PLOT, OHLC_MODE_BARS, OHLC_MODE_FLAGS, OUTSET_3D_LOOK, OUTSIDE_BAR, OUTSIDE_BARBASE, OUTSIDE_INDICATOR, OUTSIDE_PLOTAREA_MAX, OUTSIDE_PLOTAREA_MIN, OUTSIDE_RADIUS_BOTTOM, OUTSIDE_RADIUS_TOP, OVERLAP_LABEL_DELETE, OVERLAP_LABEL_DRAW, OVERLAP_LABEL_STAGGER, PERCENT_NOPERCENTSIGN_FORMAT, PERCENTFORMAT, PHYS_POS, PHYSICAL_COORDINATES, PICTUREBOX_TYPE, PIECHART, PIELABEL_INSLICE, PIELABEL_NONE, PIELABEL_NUMVALUE, PIELABEL_OUTSLICE, PIELABEL_STRING, PIELABEL_STRINGNUMVAL, PIPE_LINE_PLOT, PLOT_AREA_CLIPPING, PLOT_BACKGROUND, PLOTAREA_CENTER, PLUS, PLUS3D, POLAR_AXIS, POLAR_COORDINATES, POLAR_LINE_PLOT, POLAR_POS, POLAR_SCATTER_PLOT, POLARAXES, POLARAXESLABELS, POLARGRID, POLYSURFACE_SQUAREGRID, POLYSURFACE_TRIANGLEGRID, PRE_RENDER_ALL, PRE_RENDER_AXES, PRE_RENDER_NONE, PRE_RENDER_ZORDER_CHANGE, PRINTER_RENDERING, PROBABILITY_AUTOSCALE, PROBABILITY_AXIS, PROBABILITY_COORDINATES, PROBABILITY_SCALE, PROBABILITY_SIGMA_AXIS, PRT_EXACT, PRT_MAX, PRT_PROP, PRT_RECT, PYRAMID3D, RADIOBUTTON_TYPE, RADIUS_BOTTOM, RADIUS_CENTER, RADIUS_LEFT, RADIUS_RIGHT, RADIUS_TOP, rBadDataValue, REAR_BORDER, RENDER_HIGHQUALITY, RENDER_LOWQUALITY, RENDER_STANDARDQUALITY, REPLACE_DATECROSSOVER, RIBBON_PLOT, RIGHT_BORDER, RIGHT_BUTTON, RIGHT_CENTERED_PLOTAREA, RIGHT_REFERENCED_TEXT, RIGHT_SIDE, ROUNDED_RECTANGLE2D, ROW_MAJOR, RT_3DFRAME, RT_ALARM, RT_ALARM_GREATERTHAN, RT_ALARM_INDICATOR, RT_ALARM_LIMIT_BACKGROUND_INDICATOR, RT_ALARM_LIMIT_LINE_INDICATOR, RT_ALARM_LIMIT_SYMBOL_INDICATOR, RT_ALARM_LOWERTHAN, RT_ALARM_NONE, RT_ALARM_PANEL_METER, RT_ANNUNCIATOR_PLOT, RT_AUTO_BARGRAPH, RT_AUTO_METER, RT_AUTO_SCROLL_GRAPH, RT_AUTOSCALE_X, RT_AUTOSCALE_X_CURRENT_SCALE, RT_AUTOSCALE_X_MAX, RT_AUTOSCALE_X_MIN, RT_AUTOSCALE_X_MINMAX, RT_AUTOSCALE_Y, RT_AUTOSCALE_Y_CURRENT_SCALE, RT_AUTOSCALE_Y_MAX, RT_AUTOSCALE_Y_MIN, RT_AUTOSCALE_Y_MINMAX, RT_BAR_INDICATOR, RT_BAR_NUMERIC_VALUE, RT_BAR_SEGMENTED_SUBTYPE, RT_BAR_SINGLE_SEGMENT_SUBTYPE, RT_BAR_SOLID_SUBTYPE, RT_BAR_TIME_VALUE, RT_BARTAG, RT_BOTTOM_HIGH_ALARM_SYMBOL, RT_BOTTOM_LOW_ALARM_SYMBOL, RT_BOTTOM_SETPOINT_SYMBOL, RT_CEILING_VALUE, RT_COMBO_PROCESSVAR, RT_CONTROL_BUTTON_TYPE, RT_CONTROL_MOMENTARYBUTTON_SUBTYPE, RT_CONTROL_RADIOBUTTON_SUBTYPE, RT_CONTROL_SCROLLBAR_TYPE, RT_CONTROL_TOGGLEBUTTON_SUBTYPE, RT_CONTROL_TRACKBAR_TYPE, RT_CUSTOM_STRING, RT_DATASET, RT_DETALED_DESCRIPTION_STRING, RT_DISPLAY_ALL_ALARMS, RT_DISPLAY_NO_ALARM, RT_DISPLAY_PRIMARY_ALARM, RT_FIXEDEXTENT_AUTOWRAP_AUTOSCROLL, RT_FIXEDEXTENT_MOVINGSTART_AUTOSCROLL, RT_FIXEDNUMPOINT_AUTOSCROLL, RT_FLOOR_VALUE, RT_FORM_CONTROL, RT_FORM_CONTROL_GRID, RT_FORM_CONTROL_PANEL_METER, RT_GEN_SHAPE, RT_GRAPH_OBJ, RT_GROUP_DATASET, RT_GROUP_MULTIVALUE_PLOT, RT_INDICATOR_COLOR_CHANGE_ON_ALARM, RT_INDICATOR_COLOR_NO_ALARM_CHANGE, RT_INDICATORRECT_CONTROL_SIZE, RT_LEFT_HIGH_ALARM_SYMBOL, RT_LEFT_LOW_ALARM_SYMBOL, RT_LEFT_SETPOINT_SYMBOL, RT_MAXEXTENT_FIXEDSTART_AUTOSCROLL, RT_METER_ARC_BAND_SUBTYPE, RT_METER_ARC_FLAT_CAP, RT_METER_ARC_INDICATOR, RT_METER_ARC_RADIUS_CAP, RT_METER_ARC_WEDGE_WIDTH_CAP, RT_METER_AXIS, RT_METER_AXIS_LABELS, RT_METER_COORDINATES, RT_METER_FACEPLATE, RT_METER_INDICATOR, RT_METER_NEEDLE_ARROW_SUBTYPE, RT_METER_NEEDLE_INDICATOR, RT_METER_NEEDLE_PIEWEDGE_SUBTYPE, RT_METER_NEEDLE_SIMPLE_SUBTYPE, RT_METER_SEGMENTED_ARC_SUBTYPE, RT_METER_SINGLE_SEGMENT_ARC_SUBTYPE, RT_METER_SINGLE_SYMBOL_SUBTYPE, RT_METER_STRING_AXIS_LABELS, RT_METER_SYMBOL_ARC_SUBTYPE, RT_METER_SYMBOL_INDICATOR, RT_MIN_CONTROL_SIZE, RT_MONOTONIC_X_MODE, RT_MULTIALARM_INDICATOR, RT_MULTIBAR_INDICATOR, RT_MULTIPOINTER_INDICATOR, RT_MULTIVALUE_ANNUNCIATOR, RT_MULTIVALUE_INDICATOR, RT_NMETER, RT_NO_ALARM_LIMIT_INDICATOR, RT_NO_AUTOSCALE_X, RT_NO_AUTOSCALE_Y, RT_NO_SYMBOL, RT_NOT_MONOTONIC_X_MODE, RT_NUMERIC_PANEL_METER, RT_ORIG_CONTROL_SIZE, RT_PIDCONTROL, RT_PLOT, RT_POINTER_INDICATOR, RT_POINTER_SUBTYPE, RT_PROCESSVAR, RT_PROCESSVAR_ALARM, RT_RIGHT_HIGH_ALARM_SYMBOL, RT_RIGHT_LOW_ALARM_SYMBOL, RT_RIGHT_SETPOINT_SYMBOL, RT_ROUND_VALUE, RT_SCROLL_FRAME, RT_SETPOINT_VALUE, RT_SHAPE_ELLIPSE, RT_SHAPE_RECTANGLE, RT_SHAPE_ROUNDEDRECTANGLE, RT_SHORT_DESCRIPTION_STRING, RT_SIMPLE_DATASET, RT_SIMPLE_SINGLEVALUE_PLOT, RT_SINGLE_CHANNEL_PANEL_METER, RT_SINGLE_VALUE_INDICATOR, RT_STRING_PANEL_METER, RT_SYMBOL, RT_TAG_STRING, RT_TEXT_BACKGROUND_COLOR_CHANGE_ON_ALARM, RT_TEXTFRAME, RT_TIME_GROUP_DATASET, RT_TIME_PANEL_METER, RT_TIME_SIMPLE_DATASET, RT_TOP_HIGH_ALARM_SYMBOL, RT_TOP_LOW_ALARM_SYMBOL, RT_TOP_SETPOINT_SYMBOL, RT_TRACKBAR_HORIZONTAL_CENTER_POINTER, RT_TRACKBAR_HORIZONTAL_DOWN_POINTER, RT_TRACKBAR_VERTICAL_CENTER_POINTER, RT_TRACKBAR_VERTICAL_RIGHT_POINTER, RT_UNIQUEID_STRING, RT_UNITS_STRING, RTPID_POSITIONCONTROL, RTPID_VELOCITYCONTROL, SATURDAY, SCALE_FACTOR_SIZE, SCATTER_PLOT, SCIENTIFICFORMAT, SCREEN_POS, SCREEN_RENDERING, SCROLLBAR_TYPE, SECOND, SECONDSPERDAY, SEPTEMBER, SHADOW_COLOR, SHAPE, SIGMA_FORMAT, SIMPLE_DATASET, SIMPLE_DATASET3D, SIMPLE_PLOTAREA_CLIPPING, SIMPLEBUTTON_TYPE, SIMPLECOLORMODE, SIMPLEGRADIENTMODE, SIZE_BUBBLE_AREA, SIZE_BUBBLE_RADIUS, sizeOfDouble, SPHERE3D, SQUARE, STACKED_RIBBON_PLOT, STACKEDBAR, STACKEDLINE, STAR, STEP_END, STEP_NO_RISE_LINE, STEP_START, STRINGAXISLABELS, STRINGLABEL, SUNDAY, SYMBOL, TEXT, THURSDAY, TICK_MAJOR, TICK_MINOR, TICKS, TIME_AUTOSCALE, TIME_COORDINATE, TIME_COORDINATES, TIME_GROUP_DATASET, TIME_GROUP_DATASET3D, TIME_SCALE, TIME_SCALE_OBJ, TIME_SIMPLE_DATASET, TIME_SIMPLE_DATASET3D, TIMEAXIS, TIMEAXIS_10MINUTEMINUTE, TIMEAXIS_10SECONDSECOND, TIMEAXIS_10YEARYEAR, TIMEAXIS_12HOURHOUR, TIMEAXIS_15MINUTEMINUTE, TIMEAXIS_15SECONDSECOND, TIMEAXIS_20YEAR5YEAR, TIMEAXIS_2HOURHOUR, TIMEAXIS_2MINUTEMINUTE, TIMEAXIS_2SECONDSECOND, TIMEAXIS_30MINUTEMINUTE, TIMEAXIS_30SECONDSECOND, TIMEAXIS_4HOURHOUR, TIMEAXIS_50YEAR10YEAR, TIMEAXIS_5MINUTEMINUTE, TIMEAXIS_5SECONDSECOND, TIMEAXIS_5YEARYEAR, TIMEAXIS_8HOURHOUR, TIMEAXIS_DAY, TIMEAXIS_DAY12HOUR, TIMEAXIS_DAY2HOUR, TIMEAXIS_DAY4HOUR, TIMEAXIS_DAY8HOUR, TIMEAXIS_DAYHOUR, TIMEAXIS_HOUR, TIMEAXIS_HOUR10MINUTE, TIMEAXIS_HOUR15MINUTE, TIMEAXIS_HOUR2MINUTE, TIMEAXIS_HOUR30MINUTE, TIMEAXIS_HOUR5MINUTE, TIMEAXIS_HOURMINUTE, TIMEAXIS_MILLISECOND, TIMEAXIS_MILLISECOND1, TIMEAXIS_MILLISECOND2, TIMEAXIS_MILLISECOND3, TIMEAXIS_MINUTE, TIMEAXIS_MINUTE10SECOND, TIMEAXIS_MINUTE15SECOND, TIMEAXIS_MINUTE2SECOND, TIMEAXIS_MINUTE30SECOND, TIMEAXIS_MINUTE5SECOND, TIMEAXIS_MINUTESECOND, TIMEAXIS_MONTH, TIMEAXIS_MONTHDAY, TIMEAXIS_MONTHWEEK, TIMEAXIS_QUARTER, TIMEAXIS_QUARTERMONTH, TIMEAXIS_SECOND, TIMEAXIS_SECONDMILLISECOND, TIMEAXIS_WEEK, TIMEAXIS_WEEKDAY, TIMEAXIS_YEAR, TIMEAXIS_YEARMONTH, TIMEAXIS_YEARQUARTER, TIMEAXISLABELS, TIMEBASE_DAY, TIMEBASE_HOUR, TIMEBASE_MILLISECOND, TIMEBASE_MINUTE, TIMEBASE_MONTH, TIMEBASE_SECOND, TIMEBASE_TICKS, TIMEBASE_WEEK, TIMEBASE_YEAR, TIMEDATEFORMAT, TIMEDATEFORMAT_12HM, TIMEDATEFORMAT_12HMS, TIMEDATEFORMAT_12HMSD, TIMEDATEFORMAT_12HMSDD, TIMEDATEFORMAT_24HM, TIMEDATEFORMAT_24HMS, TIMEDATEFORMAT_24HMSD, TIMEDATEFORMAT_24HMSDD, TIMEDATEFORMAT_D, TIMEDATEFORMAT_DDD, TIMEDATEFORMAT_DDDD, TIMEDATEFORMAT_DMY, TIMEDATEFORMAT_DMY2000, TIMEDATEFORMAT_M, TIMEDATEFORMAT_MDY, TIMEDATEFORMAT_MDY2000, TIMEDATEFORMAT_MMM, TIMEDATEFORMAT_MMMM, TIMEDATEFORMAT_MS, TIMEDATEFORMAT_MSD, TIMEDATEFORMAT_MSDD, TIMEDATEFORMAT_MSDDD, TIMEDATEFORMAT_MY, TIMEDATEFORMAT_MY2000, TIMEDATEFORMAT_NONE, TIMEDATEFORMAT_Q, TIMEDATEFORMAT_STANDARD, TIMEDATEFORMAT_Y, TIMEDATEFORMAT_Y2000, TIMELABEL, TOP_BORDER, TOP_SIDE, TRACKBAR_TYPE, TRANSFORM_3D, TransparentColor, TUESDAY, UNDECIMBER, UNDER_DATECROSSOVER, UPTRIANGLE, USER_COORD_MAX, USER_COORDINATES, USER_POS, USERGRADIENTMODE, USERTEXTUREMODE, VBAR, VBAR3D, VERT_DIR, WALL3D, WEDNESDAY, WEEK_5D, WEEK_7D, WEEK_OF_MONTH, WEEK_OF_YEAR, WORKING_COORDINATES, WORLD_COORDINATES, X_AXIS, XY_MAXZ_PLANE, XY_MINZ_PLANE, XY_PLANE, XZ_MAXY_PLANE, XZ_MINY_PLANE, XZ_PLANE, Y_AXIS, YEAR, YZ_MAXX_PLANE, YZ_MINX_PLANE, YZ_PLANE, Z_AXIS, ZOOM
 
Constructor Summary
PhysicalCoordinates()
          The default PhysicalCoordinates constructor.
PhysicalCoordinates(ChartScale xscale, ChartScale yscale)
          This constructor creates a new PhysicalCoordinates object, specifying the ChartScale objects used to transform x- and y-values to/from physical to working coordinates.
PhysicalCoordinates(ChartScale xscale, ChartScale yscale, ChartScale zscale)
          This constructor creates a new PhysicalCoordinates object, specifying the ChartScale objects used to transform x- and y-values to/from physical to working coordinates.
 
Method Summary
abstract  void autoScale(ChartDataset dataset)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object.
abstract  void autoScale(ChartDataset[] datasets)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.
abstract  void autoScale(ChartDataset[] datasets, int nroundmodex, int nroundmodey)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.
abstract  void autoScale(ChartDataset[] datasets, int nroundmodex, int nroundmodey, int nroundmodez)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.
abstract  void autoScale(ChartDataset dataset, int nroundmodex, int nroundmodey)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object.
abstract  void autoScale(ChartDataset dataset, int nroundmodex, int nroundmodey, int nroundmodez)
          This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object.
abstract  void autoScale(int nroundmodeX, int nroundmodeY)
          This abstract method auto-scales the current physical coordinates system, using the current physical coordinate values as the starting point.
abstract  void autoScale(int nroundmodeX, int nroundmodeY, int nroundmodeZ)
          This abstract method auto-scales the current physical coordinates system, using the current physical coordinate values as the starting point.
 void chartTransform(java.awt.Graphics2D g2)
          This method establishes a physical coordinate system for the current viewport, mapping the physical coordinate system to the viewport.
abstract  boolean checkValidPoint(double x, double y)
          This method checks the validity of the x- and y-values of a datapoint.
abstract  boolean checkValidPoint(double x, double y, double z)
          This method checks the validity of the x- and y-values of a datapoint.
 boolean clampPointToPlane(ChartPoint3D[] p, int coordtype)
          Clamp an array of points to the limits associated with the specified coordinate system.
 boolean clampPointToPlane(int plane, ChartPoint3D p, int clipcoords)
          Clamp the x, y or z-value of a ChartPoint3D object to the value of the associated plane.
 boolean clampPointToPlane(Point3DArray parray, int coordtype)
          Clamp an array of points to the limits associated with the specified coordinate system.
 void convertCoord(ChartPoint3D dest, int ndestpostype, ChartPoint3D source, int nsrcpostype)
          This method converts the coordinates of a point from one coordinate system to another.
 ChartPoint3D convertCoord(int ndestpostype, ChartPoint3D source, int nsrcpostype)
          This method converts the coordinates of a point from one coordinate system to another.
 void convertCoordArray(ChartPoint3D[] dest, int ndestpostype, ChartPoint3D[] source, int nsrcpostype, int n)
          This method converts an array of points from one coordinate system to another.
 void convertDimension(ChartDimension3D dest, int ndestpostype, ChartDimension3D source, int nsrcpostype)
          This method converts width and height dimensions from one coordinate system to another.
 ChartDimension3D convertDimension(int ndestpostype, ChartDimension3D source, int nsrcpostype)
          This method converts width and height dimensions from one coordinate system to another.
 java.awt.geom.GeneralPath convertPointListToGeneralPath(ChartPoint3D[] p)
          Converts an array of ChartPoint3D objects to GeneralPath object.
 void convertRect(ChartRectangle3D dest, int ndestpostype, ChartRectangle3D source, int nsrcpostype)
          This method converts ChartRectangle3D object from one coordinate system to another.
 ChartRectangle3D convertRect(int ndestpostype, ChartRectangle3D source, int nsrcpostype)
          This method converts ChartRectangle3D object from one coordinate system to another.
abstract  void copy(java.lang.Object source)
          This abstract method copies the source scale.
 void copy(PhysicalCoordinates source)
          Copies the source coordinate system.
 boolean cullRearFacingPolygon(Polygon3D polygon)
          Remove rear facing polygons of a solid that cannot be seen anyway.
 PolygonList draw2DRectangle3D(double x1, double y1, double z1, double w, double h, double d, int plane, ChartAttribute attribx, int coordtype)
          This creates a PolygonList object, representing a 3D rectangle, defined using physical coordinates.
 PolygonList draw2DTriangle3D(double x1, double y1, double z1, double w, double h, double d, int plane, ChartAttribute attribx, int coordtype)
          This creates a PolygonList object, representing a 3D rectangle, defined using physical coordinates.
 PolygonList drawFilledRibbonSurface(ChartPoint3D[] solid, double fillbasevalue, ChartAttribute attrib, int coordtype, int seriespos)
          Creates the polygon that represents one segment of a ribbon plot.
 PolygonList drawFilledStackedRibbonSurface(ChartPoint3D[] solid, double z1, double z2, ChartAttribute attrib, int coordtype, boolean bottom, boolean top, boolean left, boolean right)
          Creates the polygon the represents one segment of a filled, stacked, ribbon plot.
 PolygonList drawPrism3D(double x, double y, double z, double width, double height, double depth, ChartAttribute attrib, int coordtype)
          Creates the solid that represents a prism (3D rectangular) object.
 PolygonList drawRibbonSurface(ChartPoint3D[] solid, ChartAttribute attribx, int coordtype)
          Creates the polygon the represents one segment of a ribbon plot.
 PolygonList drawSolidObject3D(ChartPoint3D[] solid, ChartAttribute attribx, boolean[] sides, int coordtype)
          Generic solid routine that returns a PolygonList representing the solid.
 int errorCheck(int nerror)
          Checks the current scale object for common errors.
 PolygonList flexCone(double x, double y, double z, double r, double height, double angleinc, int orient, int justifycenter, ChartAttribute cylinderattrib, int coordtype, boolean arcorrection, boolean bottomflag)
          Creates the solid that represents a cone shapped object.
 PolygonList flexCylinder(double x, double y, double z, double r, double height, double angleinc, int orient, int justifycenter, ChartAttribute cylinderattrib, int coordtype, boolean arcorrection)
          Creates the solid that represents a cylinder shapped object.
 PolygonList flexCylinder(double x, double y, double z, double r, double height, double angleinc, int orient, int justifycenter, ChartAttribute cylinderattrib, int coordtype, boolean arcorrection, boolean topflag, boolean bottomflag)
          Creates the solid that represents a cylinder shapped object.
abstract  Axis getCompatibleAxis(int axis)
          This abstract method returns an axis compatible with the current physical coordinate system.
 boolean getNormYDown()
          A flag the sets the direction of the y-value in normalized coordinates.
 ChartRectangle3D getPhysPlotScale()
          This method returns the physical coordinates of the plotting area.
 double getScaleMaxX()
          Get the maximum x-value for the plotting area of the physical coordinate system.
 double getScaleMaxY()
          Get the maximum y-value for the plotting area of the physical coordinate system.
 double getScaleMaxZ()
          Get the maximum z-value for the plotting area of the physical coordinate system.
 double getScaleMinX()
          Get the minimum x-value for the plotting area of the physical coordinate system.
 double getScaleMinY()
          Get the minimum y-value for the plotting area of the physical coordinate system.
 double getScaleMinZ()
          Get the minimum z-value for the plotting area of the physical coordinate system.
 double getScaleStartX()
          This method returns the lower left x-value for the plotting area of the physical coordinate system.
 double getScaleStartY()
          This method returns the lower left y-value for the plotting area of the physical coordinate system.
 double getScaleStartZ()
          This method returns the lower left z-value for the plotting area of the physical coordinate system.
 double getScaleStopX()
          This method returns the upper right x-value for the plotting area of the physical coordinate system.
 double getScaleStopY()
          This method returns the upper right y-value for the plotting area of the physical coordinate system.
 double getScaleStopZ()
          This method returns the upper right z-value for the plotting area of the physical coordinate system.
 double getStart(int naxis)
          This method returns the lower left x-, y-, or z-value for the physical coordinate system of the plotting area.
 double getStartX()
          This method returns the lower left x-value for the physical coordinate system of the plotting area.
 double getStartY()
          This method returns the lower left y-value for the physical coordinate system of the plotting area.
 double getStartZ()
          This method returns the lower left z-value for the physical coordinate system of the plotting area.
 double getStop(int naxis)
          This method returns the upper right x-, y-, or z-value for the physical coordinate system of the plotting area.
 double getStopX()
          This method returns the upper right x-value for the physical coordinate system of the plotting area.
 double getStopY()
          This method returns the upper right y-value for the physical coordinate system of the plotting area.
 double getStopZ()
          This method returns the upper right z-value for the physical coordinate system of the plotting area.
 double getStringX(java.awt.Graphics2D g2, java.lang.String s, int npostype)
          This method returns the width of a string in the units of the specified coordinate system.
 double getStringY(java.awt.Graphics2D g2, java.lang.String s, int npostype)
          This method returns the height of a string in the units of the specified coordinate system.
 java.awt.geom.Arc2D getWCircle(double x, double y, double z, double radius)
          This method converts a circle from physical coordinates to window device coordinates.
 ChartScale getXScale()
          This method returns the xScale scaling object, the ChartScale object used to transform x-values to/from physical to working coordinates.
 ChartScale getYScale()
          This method returns the yScale scaling object, the ChartScale object used to transform y-values to/from physical to working coordinates.
 ChartScale getZScale()
          This method returns the zScale scaling object, the ChartScale object used to transform z-values to/from physical to working coordinates.
 void invertScaleX()
          This method swaps the minimum x-value of the coordinate system with the maximum x-value; the y-values of the coordinate system remain unchanged.
 void invertScaleY()
          This method swaps the minimum y-value of the coordinate system with the maximum y-value; the x-values of the coordinate system remain unchanged.
 void invertScaleZ()
          This method swaps the minimum z-value of the coordinate system with the maximum z-value; the x-values of the coordinate system remain unchanged.
 boolean isPolygonClockwise()
          Checks for a scale inversion which changes the logic used for culling rear-facing polgyons.
 boolean isScaleInverted(int axis)
          Returns true if the specified axis is inverted.
 void normalizePoint(ChartPoint3D dest, ChartPoint3D source, int nmode)
          This method converts the coordinates of a point from physical coordinates to normalized coordinates.
 ChartPoint3D normalizePoint(ChartPoint3D source, int nmode)
          This method converts the coordinates of a point from physical coordinates to normalized coordinates.
 ChartDimension3D normalizeRect(double w, double h, double d, int nmode)
          This method returns the normalized width and height of a rectangle, using the specified graph area physical coordinate system range.
 double physAddX(double x, double increment)
          This method adds an increment to the x-coordinate value in physical coordinates.
 double physAddY(double y, double increment)
          This method adds an increment to the y-coordinate value in physical coordinates.
 double physAddZ(double z, double increment)
          This method adds an increment to the z-coordinate value in physical coordinates.
 ChartPoint3D physToUser(ChartPoint3D source)
          This method converts a point from physical coordinates to window device coordinates.
 void physToUser(ChartPoint3D dest, ChartPoint3D source)
          This method converts a point from physical coordinates to window device coordinates.
 double physToUserX(double x)
          This method converts an x-coordinate value from physical coordinates to a window device coordinates.
 double physToUserY(double y)
          This method converts an y-coordinate value from physical coordinates to window device coordinates.
 double physToUserZ(double z)
          This method converts an z-coordinate value from physical coordinates to window device coordinates.
 void physToWorkingScale(ChartPoint3D dest, ChartPoint3D source)
          This method converts a point from physical coordinates to working coordinates.
 double physToWorkingScale(int axis, double v)
          This method converts an x- or y-coordinate from physical coordinates to working coordinates.
 PolygonList pieWedge3D(double x, double y, double z, double r, double depth, double start, double extent, double angleinc, ChartAttribute wedgeattrib, boolean firstside, boolean secondside, int coordtype)
          Creates the solid that represents a 3D pie chart wedge.
 PolygonList pieWedge3D2(double x, double y, double z, double r, double depth, double start, double extent, double angleinc, ChartAttribute wedgeattrib, boolean firstside, boolean secondside, int coordtype, boolean arcorrection)
          Creates the solid that represents a disk shapped object.
 void polyFillAbs3D(java.awt.Graphics2D g2, ChartPoint3D[] p)
          Draws a a filled polygon using the currentAttributes property.
 boolean scaleInverted(int axis)
          It is possible for the x-scale, or the y-scale, or both, to be inverted.
 void segmentedPolyline(java.awt.Graphics2D g2, int[] xarray, int[] yarray, int n)
          This method converts the specified x- and y-arrays to device coordinates, and draws the resulting line as a polyline.
 void setCoordinateBounds(double rX1, double rY1, double rX2, double rY2)
          Sets the x- and y-coordinate bounds of the physical coordinate system for the plot area.
 void setCoordinateBounds(double rX1, double rY1, double rZ1, double rX2, double rY2, double rZ2)
          Sets the x- and y-coordinate bounds of the physical coordinate system for the plot area.
 void setNormYDown(boolean value)
          A flag the sets the direction of the y-value in normalized coordinates.
 void setPhysPlotScale(ChartRectangle3D physrect)
          Sets the physical coordinates of the plotting area.
 void setPhysScale(ChartRectangle3D rect)
          This method initializes an PhysicalCoordinates object using the specified minimum and maximum values for the x- and y-axis.
 void setPhysScale(double rX1, double rY1, double rX2, double rY2)
          This method initializes an PhysicalCoordinates object using the specified minimum and maximum values for the x- and y-axis.
 void setPhysScale(double rX1, double rY1, double rZ1, double rX2, double rY2, double rZ2)
          This method initializes an PhysicalCoordinates object using the specified minimum and maximum values for the x- and y-axis.
 void setPhysScales(ChartScale xscale, ChartScale yscale, ChartScale zscale)
          This method initializes an PhysicalCoordinates object, specifying the ChartScale objects used to transform x- and y-values to/from physical to working coordinates.
 void setScaleStartX(double rX1)
          Sets the lower left x-value for the plotting area of the physical coordinate system.
 void setScaleStartY(double rY1)
          Sets the lower left y-value for the plotting area of the physical coordinate system.
 void setScaleStartZ(double rZ1)
          Sets the lower left z-value for the plotting area of the physical coordinate system.
 void setScaleStopX(double rX2)
          Sets the maximum x-value for the plotting area of the physical coordinate system.
 void setScaleStopY(double rY2)
          Sets the upper right y-value for the plotting area of the physical coordinate system.
 void setScaleStopZ(double rZ2)
          Sets the upper right z-value for the plotting area of the physical coordinate system.
 void setScaleX(double rX1, double rX2)
          Sets the x-coordinate bounds of the physical coordinate system for the plot area.
 void setScaleY(double rY1, double rY2)
          Sets the y-coordinate bounds of the physical coordinate system for the plot area.
 void setScaleZ(double rZ1, double rZ2)
          Sets the z-coordinate bounds of the physical coordinate system for the plot area.
 void setXScale(ChartScale xscale)
          This method initializes the xScale scaling object, specifying the ChartScale object used to transform x-values to/from physical to working coordinates.
 void setYScale(ChartScale yscale)
          This method initializes the yScale scaling object, specifying the ChartScale object used to transform y-values to/from physical to working coordinates.
 void setZScale(ChartScale zscale)
          This method initializes the zScale scaling object, specifying the ChartScale object used to transform z-values to/from physical to working coordinates.
 PolygonList sphere(double x, double y, double z, double r, double angleinc, ChartAttribute cylinderattrib, int coordtype, boolean arcorrection)
          Creates the solid that represents a sphere shapped object.
 void swapScaleOrientation()
          This method swaps the minimum x-value of the coordinate system with the minimum y-value; and the maximum x-value with the maximum y-value.
 Polygon3D transformPolygon(Polygon3D polygon)
          Transforms a Polygon3D object to Screen Coordinates.
 void unNormalizePoint(ChartPoint3D dest, ChartPoint3D source, int nmode)
          This method converts the coordinates of a point from normalized coordinates to physical coordinates.
 ChartPoint3D unNormalizePoint(ChartPoint3D source, int nmode)
          This method converts the coordinates of a point from normalized coordinates to physical coordinates.
 void unNormalizeRect(ChartDimension3D dest, double w, double h, double d, int nmode)
          This method converts a rectangles normalized width and height into physical coordinates.
 ChartDimension3D unNormalizeRect(double w, double h, double d, int nmode)
          This method converts a rectangles normalized width and height into physical coordinates.
 ChartPoint3D userToPhys(ChartPoint3D source)
          This method converts a point from window device coordinates to physical coordinates.
 void userToPhys(ChartPoint3D dest, ChartPoint3D source)
          This method converts a point from window device coordinates to physical coordinates.
 double userToPhysX(double x)
          This method converts an x-coordinate value from window device coordinates to physical coordinates.
 double userToPhysY(double y)
          This method converts an y-coordinate value from window device coordinates to physical coordinates.
 double userToPhysZ(double z)
          This method converts an z-coordinate value from window device coordinates to physical coordinates.
 void wCircle(java.awt.geom.GeneralPath path, double x, double y, double z, double radius)
          This method adds a circle, defined using physical coordinates, to the specified path.
 void wLineAbs(java.awt.geom.GeneralPath path, ChartPoint3D p1, ChartPoint3D p2)
          This method converts the specified starting and ending x- and y-coordinates to device coordinates, and adds a corresponding line segment to the specified path.
 void wLineAbs(java.awt.geom.GeneralPath path, double x1, double y1, double z1, double x2, double y2, double z2)
          This method converts the specified starting and ending x- and y-coordinates to device coordinates, and adds a corresponding line segment to the specified path.
 void wLineAbs(java.awt.Graphics2D g2, java.awt.geom.GeneralPath path, double x1, double y1, double z1, double x2, double y2, double z2)
          This method converts the specified starting and ending x- and y-coordinates to device coordinates, and adds a corresponding line segment to the specified path.
 void wLineAbs(java.awt.Graphics2D g2, java.awt.geom.GeneralPath path, double x1, double y1, double z1, double x2, double y2, double z2, boolean dodraw, boolean appendpath)
          This method converts the specified starting and ending x- and y-coordinates to device coordinates, and adds a corresponding line segment to the specified path.
 void wLineRel(java.awt.geom.GeneralPath path, double deltax, double deltay, double deltaz)
          This method implements a relative lineto operation using physical coordinates.
 void wLineToAbs(java.awt.geom.GeneralPath path, double x, double y, double z)
          This method converts the specified x- and y-coordinates to device coordinates, and adds a corresponding lineto segment to the specified path.
 void wMoveToAbs(java.awt.geom.GeneralPath path, double x, double y, double z)
          This method converts the specified x- and y-coordinates to device coordinates, and adds a corresponding move segment to the specified path.
 void workingToPhysScale(ChartPoint3D dest, ChartPoint3D source)
          This method converts a point from working coordinates to physical coordinates.
 double workingToPhysScale(int axis, double v)
          This method converts an x- or y-coordinate from working coordinates to physical coordinates.
 void wPolyLineAbs(java.awt.geom.GeneralPath path, ChartPoint3D[] p, int numdat, int stepmode)
          This method adds multiple line segments, defined using physical coordinates, to the specified path.
 void wPolyLineAbs(java.awt.geom.GeneralPath path, double[] x, double[] y, double[] z, int numdat, int stepmode)
          This method adds multiple line segments, defined using physical coordinates, to the specified path.
 void wPolyLineAbs(java.awt.geom.GeneralPath path, double[] x, double[] y, int numdat, int stepmode)
          This method adds multiple line segments, defined using physical coordinates, to the specified path.
 void wPolyLineAbs(java.awt.geom.GeneralPath path, DoubleArray x, DoubleArray y, DoubleArray z, int stepmode)
          This method adds multiple line segments, defined using physical coordinates, to the specified path.
 void wPolyLineAbs(java.awt.Graphics2D g2, double[] x, double[] y, double[] z, int n, int stepmode)
          This method converts the specified x- and y-arrays to device coordinates, and draws the resulting line as a polyline.
 void wPolyLineAbs(java.awt.Graphics2D g2, DoubleArray x, DoubleArray y, DoubleArray z, int stepmode)
          This method converts the specified x- and y-arrays to device coordinates, and draws the resulting line as a polyline.
 void wRectangle(java.awt.geom.GeneralPath path, double x1, double y1, double z1, double w, double h, double d)
          This method adds a rectangle, defined using physical coordinates, to the specified path.
 void wRoundedRectangle(java.awt.geom.GeneralPath path, double x1, double y1, double z1, double w, double h, double d, double corner)
          This method adds a rectangle, defined using physical coordinates, to the specified path.
 void wStepLineAbs(java.awt.geom.GeneralPath path, ChartPoint3D p1, ChartPoint3D p2, int stepmode)
          This method converts the specified x- and y-coordinates to device coordinates, and adds corresponding lineto segments to the specified path.
 void wStepLineAbs(java.awt.geom.GeneralPath path, double x1, double y1, double z1, double x2, double y2, double z2, int stepmode)
          This method converts the specified x- and y-coordinates to device coordinates, and adds corresponding lineto segments to the specified path.
 void wStepLineToAbs(java.awt.geom.GeneralPath path, ChartPoint3D p1, int stepmode)
          This method converts the specified x- and y-coordinates to device coordinates, and adds corresponding lineto segments to the specified path.
 void wStepLineToAbs(java.awt.geom.GeneralPath path, double x2, double y2, double z2, int stepmode)
          This method converts the specified x- and y-coordinates to device coordinates, and adds corresponding lineto segments to the specified path.
 void wTriangle(java.awt.geom.GeneralPath path, double x1, double y1, double z1, double w, double h, double d, int dir)
          This method adds a rectangle, defined using physical coordinates, to the specified path.
 
Methods inherited from class com.quinncurtis.chart3djava.WorkingCoordinates
absRotateCoordinateSystem, absRotateCoordinateSystem, absTranslateCoordinateSystem, calcWorkingScale, clone, copy, getClippingArea, getGraphAreaScale, getGraphAspectRatio, getGraphBorderFrame, getGraphRect, getPlotAreaScale, getPlotRect, getRotate3DTranformValues, getTranslate3DTranformValues, getWorkingRangeX, getWorkingRangeY, getWorkingRangeZ, relRotateCoordinateSystem, relRotateCoordinateSystem, relTranslateCoordinateSystem, reset3DTransform, setClippingArea, setFixedGraphBorderInset, setFixedGraphBorderInsets, setGraphBorderDiagonal, setGraphBorderDiagonal, setGraphBorderFrame, setGraphBorderFrame, setGraphBorderInsets, setGraphBorderInsets, setPlotAreaScale, setRotate3DTranformValues, setTranslate3DTranformValues
 
Methods inherited from class com.quinncurtis.chart3djava.WorldCoordinates
copy, GetWorldCurrentPos, getWorldX1, getWorldX2, getWorldY1, getWorldY2, getWorldZ1, getWorldZ2, setWorldScale, setWorldScale, userToWorld, userToWorld, userToWorld, userToWorld, userToWorldAbsX, userToWorldAbsY, userToWorldAbsZ, userToWorldRelX, userToWorldRelY, userToWorldRelZ, worldToUser, WorldToUser, worldToUser, worldToUserAbsX, worldToUserAbsY, worldToUserAbsZ, worldToUserRelX, worldToUserRelY, worldToUserRelZ
 
Methods inherited from class com.quinncurtis.chart3djava.UserCoordinates
convert3DPoint, convert3DPoint, convert3DRectangle, copy, drawFillCircle, drawFillPath, drawFillRectangle, drawPath, endXORMode, fillPath, getClippingBounds, getClipRect, getContext, getCurrentAttributes, getCurrentColor, getCurrentFont, getInitialClipRect, getIntersectClipRect, getLightingEnabled, getPolygonBuffer, getStringAscent, getStringDescent, getStringDimension, getStringLeading, getStringLineSpace, getStringRect, getStringX, getStringY, getTheTransform3D, getUse3DRoutines, getUserCurrentPos, getUserViewport, getUserX1, getUserX2, getUserY1, getUserY2, getWireFrame, pLineAbs, pLineAbs, pLineRel, pLineToAbs, pLineToAbs, pMoveRel, pMoveToAbs, pMoveToAbs, pPolyLine, pRectangle, pTriangle, setClippingBounds, setClippingBounds, setClipRect, setClipRect, setClipRectX, setContext, setCurrentAttributes, setCurrentColor, setCurrentFont, setInitialClipRect, setLightingEnabled, setPlaneColor, setPolygonBuffer, setTheTransform3D, setUserViewport, setUserViewport, setWireFrame, startXORMode
 
Methods inherited from class com.quinncurtis.chart3djava.ChartObj
copy, getChartObjIDCntr, getChartObjType, getThisChartObjID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicalCoordinates

public PhysicalCoordinates()
The default PhysicalCoordinates constructor.


PhysicalCoordinates

public PhysicalCoordinates(ChartScale xscale,
                           ChartScale yscale)
This constructor creates a new PhysicalCoordinates object, specifying the ChartScale objects used to transform x- and y-values to/from physical to working coordinates.

Parameters:
xscale - Sets the ChartScale object used to transform x-values to/from physical to working coordinates.
yscale - Sets the ChartScale object used to transform y-values to/from physical to working coordinates.

PhysicalCoordinates

public PhysicalCoordinates(ChartScale xscale,
                           ChartScale yscale,
                           ChartScale zscale)
This constructor creates a new PhysicalCoordinates object, specifying the ChartScale objects used to transform x- and y-values to/from physical to working coordinates.

Parameters:
xscale - Sets the ChartScale object used to transform x-values to/from physical to working coordinates.
yscale - Sets the ChartScale object used to transform y-values to/from physical to working coordinates.
zscale - Sets the ChartScale object used to transform z-values to/from physical to working coordinates.
Method Detail

errorCheck

public int errorCheck(int nerror)
Checks the current scale object for common errors.

Overrides:
errorCheck in class WorkingCoordinates
Parameters:
nerror - Current error state
Returns:
Returns an error code.

copy

public void copy(PhysicalCoordinates source)
Copies the source coordinate system.

Parameters:
source - The source scale object.

setPhysScales

public void setPhysScales(ChartScale xscale,
                          ChartScale yscale,
                          ChartScale zscale)
This method initializes an PhysicalCoordinates object, specifying the ChartScale objects used to transform x- and y-values to/from physical to working coordinates.

Parameters:
xscale - Sets the ChartScale object used to transform x-values to/from physical to working coordinates.
yscale - Sets the ChartScale object used to transform y-values to/from physical to working coordinates.
zscale - Sets the ChartScale object used to transform z-values to/from physical to working coordinates.

setXScale

public void setXScale(ChartScale xscale)
This method initializes the xScale scaling object, specifying the ChartScale object used to transform x-values to/from physical to working coordinates.

Parameters:
xscale - Sets the ChartScale object used to transform x-values to/from physical to working coordinates.

setYScale

public void setYScale(ChartScale yscale)
This method initializes the yScale scaling object, specifying the ChartScale object used to transform y-values to/from physical to working coordinates.

Parameters:
yscale - Sets the ChartScale object used to transform y-values to/from physical to working coordinates.

setZScale

public void setZScale(ChartScale zscale)
This method initializes the zScale scaling object, specifying the ChartScale object used to transform z-values to/from physical to working coordinates.

Parameters:
zscale - Sets the ChartScale object used to transform z-values to/from physical to working coordinates.

getXScale

public ChartScale getXScale()
This method returns the xScale scaling object, the ChartScale object used to transform x-values to/from physical to working coordinates.

Returns:
Returns the ChartScale object used to transform x-values to/from physical to working coordinates.

getYScale

public ChartScale getYScale()
This method returns the yScale scaling object, the ChartScale object used to transform y-values to/from physical to working coordinates.

Returns:
Returns the ChartScale object used to transform y-values to/from physical to working coordinates.

getZScale

public ChartScale getZScale()
This method returns the zScale scaling object, the ChartScale object used to transform z-values to/from physical to working coordinates.

Returns:
Returns the ChartScale object used to transform z-values to/from physical to working coordinates.

setPhysScale

public void setPhysScale(double rX1,
                         double rY1,
                         double rZ1,
                         double rX2,
                         double rY2,
                         double rZ2)
This method initializes an PhysicalCoordinates object using the specified minimum and maximum values for the x- and y-axis.

Parameters:
rX1 - Sets the lower left x-value for the plotting area physical coordinate system.
rY1 - Sets the lower left y-value for the plotting area physical coordinate system.
rZ1 - Sets the lower left z-value for the plotting area physical coordinate system.
rX2 - Sets the upper right x-value for the plotting area physical coordinate system.
rY2 - Sets the upper right y-value for the plotting area physical coordinate system.
rZ2 - Sets the upper right x-value for the plotting area physical coordinate system.

setPhysScale

public void setPhysScale(double rX1,
                         double rY1,
                         double rX2,
                         double rY2)
This method initializes an PhysicalCoordinates object using the specified minimum and maximum values for the x- and y-axis.

Parameters:
rX1 - Sets the lower left x-value for the plotting area physical coordinate system.
rY1 - Sets the lower left y-value for the plotting area physical coordinate system.
rX2 - Sets the upper right x-value for the plotting area physical coordinate system.
rY2 - Sets the upper right y-value for the plotting area physical coordinate system.

setPhysScale

public void setPhysScale(ChartRectangle3D rect)
This method initializes an PhysicalCoordinates object using the specified minimum and maximum values for the x- and y-axis.

Parameters:
rect - Sets the minimum and maximum x- and y-values. The ChartRectangle3D object actually holds the minimum x- and y-values, and the width and height of the scale. The width and height values are added to the minimum x- and y-values in order to set the maximum x- and y-values.

scaleInverted

public boolean scaleInverted(int axis)
It is possible for the x-scale, or the y-scale, or both, to be inverted. This is accomplished by just swapping the minimum and maximum values when setting the endpoints of the scale. Normal physical coordinate scaling increases from left to right, and from top to bottom.

Parameters:
axis - Specifies which coordinate to check.
Returns:
Returns true if the specified coordinate is inverted.

physToWorkingScale

public void physToWorkingScale(ChartPoint3D dest,
                               ChartPoint3D source)
This method converts a point from physical coordinates to working coordinates.

Parameters:
dest - Returns the value of the point in working coordinates.
source - Specifies the value of the point in physical coordinates.

workingToPhysScale

public void workingToPhysScale(ChartPoint3D dest,
                               ChartPoint3D source)
This method converts a point from working coordinates to physical coordinates.

Parameters:
dest - Returns the value of the point in physical coordinates.
source - Specifies the value of the point in working coordinates.

physToWorkingScale

public double physToWorkingScale(int axis,
                                 double v)
This method converts an x- or y-coordinate from physical coordinates to working coordinates.

Parameters:
axis - Specifies if the value being converted is an x-coordinate or y-coordinate. Use either theX_AXIS orY_AXIS constant.
v - The coordinate value that is converted from physical coordinates to working coordinates.
Returns:
Returns the value of the coordinate in working coordinates.

workingToPhysScale

public double workingToPhysScale(int axis,
                                 double v)
This method converts an x- or y-coordinate from working coordinates to physical coordinates.

Parameters:
axis - Specifies if the value being converted is an x-coordinate or y-coordinate. Use either theX_AXIS orY_AXIS constant.
v - The coordinate value that is converted from working coordinates to physical coordinates.
Returns:
Returns the value of the coordinate in physical coordinates.

chartTransform

public void chartTransform(java.awt.Graphics2D g2)
This method establishes a physical coordinate system for the current viewport, mapping the physical coordinate system to the viewport.

Parameters:
g2 - The graphics context.

normalizeRect

public ChartDimension3D normalizeRect(double w,
                                      double h,
                                      double d,
                                      int nmode)
This method returns the normalized width and height of a rectangle, using the specified graph area physical coordinate system range.

Parameters:
w - The width of the rectangle in physical coordinates.
h - The height of the rectangle in physical coordinates.
d - The depth of the rectangle in physical coordinates.
nmode - Use the constant NORM_GRAPH_POS if the rectangle is to be normalized using the graph area, or NORM_PLOT_POS if the rectangle is to be normalized using the plot area.
Returns:
Returns the width and height of the normalized rectangle in an ChartDimension3D object.

unNormalizeRect

public ChartDimension3D unNormalizeRect(double w,
                                        double h,
                                        double d,
                                        int nmode)
This method converts a rectangles normalized width and height into physical coordinates.

Parameters:
w - The width of the rectangle in normalized coordinates.
h - The height of the rectangle in normalized coordinates.
d - The depth of the rectangle in normalized coordinates.
nmode - Use the constant NORM_GRAPH_POS if the rectangle is specified using graph area normalized coordinates, or NORM_PLOT_POS if the rectangle is specified using plot area normalized coordinates.
Returns:
Returns the width and height of the rectangle in an ChartDimension3D object.

unNormalizeRect

public void unNormalizeRect(ChartDimension3D dest,
                            double w,
                            double h,
                            double d,
                            int nmode)
This method converts a rectangles normalized width and height into physical coordinates.

Parameters:
dest - Returns the width and height of the rectangle in an ChartDimension3D object.
w - The width of the rectangle in normalized coordinates.
h - The height of the rectangle in normalized coordinates.
d - The depth of the rectangle in normalized coordinates.
nmode - Use the constant NORM_GRAPH_POS if the rectangle is specified using graph area normalized coordinates, or NORM_PLOT_POS if the rectangle is specified using plot area normalized coordinates.

normalizePoint

public ChartPoint3D normalizePoint(ChartPoint3D source,
                                   int nmode)
This method converts the coordinates of a point from physical coordinates to normalized coordinates.

Parameters:
source - The coordinates of a point specified using physical coordinates.
nmode - Use the constant NORM_GRAPH_POS if the point is to be normalized using the graph area, or NORM_PLOT_POS if the point is to be normalized using the plot area.
Returns:
Returns the coordinates of the point in normalized coordinates.

normalizePoint

public void normalizePoint(ChartPoint3D dest,
                           ChartPoint3D source,
                           int nmode)
This method converts the coordinates of a point from physical coordinates to normalized coordinates.

Parameters:
dest - Returns the coordinates of the point in normalized coordinates.
source - The coordinates of a point specified using physical coordinates.
nmode - Use the constant NORM_GRAPH_POS if the point is to be normalized using the graph area, or NORM_PLOT_POS if the point is to be normalized using the plot area.

unNormalizePoint

public ChartPoint3D unNormalizePoint(ChartPoint3D source,
                                     int nmode)
This method converts the coordinates of a point from normalized coordinates to physical coordinates.

Parameters:
source - The coordinates of a point specified using normalized coordinates.
nmode - Use the constant NORM_GRAPH_POS if the point is specified using graph area normalized coordinates, or NORM_PLOT_POS if the point is specified using plot area normalized coordinates.
Returns:
Returns the coordinates of the point in physical coordinates.

unNormalizePoint

public void unNormalizePoint(ChartPoint3D dest,
                             ChartPoint3D source,
                             int nmode)
This method converts the coordinates of a point from normalized coordinates to physical coordinates.

Parameters:
dest - Returns the coordinates of the point in physical coordinates.
source - The coordinates of a point specified using normalized coordinates.
nmode - Use the constant NORM_GRAPH_POS if the point is specified using graph area normalized coordinates, or NORM_PLOT_POS if the point is specified using plot area normalized coordinates.

convertCoord

public ChartPoint3D convertCoord(int ndestpostype,
                                 ChartPoint3D source,
                                 int nsrcpostype)
This method converts the coordinates of a point from one coordinate system to another.

Parameters:
ndestpostype - Specifies the destination coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
source - The coordinates of a the point that is to be converted.
nsrcpostype - Specifies the source coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
Returns:
Returns the converted coordinate value as a ChartPoint3D object.

convertCoordArray

public void convertCoordArray(ChartPoint3D[] dest,
                              int ndestpostype,
                              ChartPoint3D[] source,
                              int nsrcpostype,
                              int n)
This method converts an array of points from one coordinate system to another.

Parameters:
dest - An array of ChartPoint3D objects, of size n, that returns the converted coordinate values.
ndestpostype - Specifies the destination coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
source - An array of ChartPoint3D, of size n, that holds the points that are to be converted.
nsrcpostype - Specifies the source coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
n - The number of points in source and destination arrays.

convertCoord

public void convertCoord(ChartPoint3D dest,
                         int ndestpostype,
                         ChartPoint3D source,
                         int nsrcpostype)
This method converts the coordinates of a point from one coordinate system to another.

Parameters:
dest - Returns the converted coordinate value as a ChartPoint3D object.
ndestpostype - Specifies the destination coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
source - The coordinates of a the point that is to be converted.
nsrcpostype - Specifies the source coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;

convertDimension

public ChartDimension3D convertDimension(int ndestpostype,
                                         ChartDimension3D source,
                                         int nsrcpostype)
This method converts width and height dimensions from one coordinate system to another.

Parameters:
ndestpostype - Specifies the destination coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
source - The width and height values that are to be converted.
nsrcpostype - Specifies the source coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
Returns:
Returns the converted dimension values as an ChartDimension3D object.

convertDimension

public void convertDimension(ChartDimension3D dest,
                             int ndestpostype,
                             ChartDimension3D source,
                             int nsrcpostype)
This method converts width and height dimensions from one coordinate system to another.

Parameters:
dest - Returns the converted dimension values as an ChartDimension3D object.
ndestpostype - Specifies the destination coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
source - The width and height values that are to be converted.
nsrcpostype - Specifies the source coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;

convertRect

public void convertRect(ChartRectangle3D dest,
                        int ndestpostype,
                        ChartRectangle3D source,
                        int nsrcpostype)
This method converts ChartRectangle3D object from one coordinate system to another.

Parameters:
dest - Returns the converted ChartRectangle3D values.
ndestpostype - Specifies the destination coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
source - The source ChartRectangle3D object that is to be converted.
nsrcpostype - Specifies the source coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;

convertRect

public ChartRectangle3D convertRect(int ndestpostype,
                                    ChartRectangle3D source,
                                    int nsrcpostype)
This method converts ChartRectangle3D object from one coordinate system to another.

Parameters:
ndestpostype - Specifies the destination coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
source - The source ChartRectangle3D object that is to be converted.
nsrcpostype - Specifies the source coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, POLAR_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
Returns:
Returns the converted ChartRectangle3D values.

getStringX

public double getStringX(java.awt.Graphics2D g2,
                         java.lang.String s,
                         int npostype)
This method returns the width of a string in the units of the specified coordinate system.

Parameters:
g2 - The graphics context.
s - The string the width is calculated for.
npostype - Specifies the coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
Returns:
Returns the width of a string in the units of the specified coordinate system.

getStringY

public double getStringY(java.awt.Graphics2D g2,
                         java.lang.String s,
                         int npostype)
This method returns the height of a string in the units of the specified coordinate system.

Parameters:
g2 - The graphics context.
s - The string the height is calculated for.
npostype - Specifies the coordinate system. Use one of the coordinate system constants:DEV_POS,PHYS_POS, NORM_GRAPH_POS, or NORM_PLOT_POS;
Returns:
Returns the height of a string in the units of the specified coordinate system.

wMoveToAbs

public void wMoveToAbs(java.awt.geom.GeneralPath path,
                       double x,
                       double y,
                       double z)
This method converts the specified x- and y-coordinates to device coordinates, and adds a corresponding move segment to the specified path.

Parameters:
path - A general path object.
x - A x-coordinate value in physical coordinates.
y - A y-coordinate value in physical coordinates.
z - A z-coordinate value in physical coordinates.

wLineToAbs

public void wLineToAbs(java.awt.geom.GeneralPath path,
                       double x,
                       double y,
                       double z)
This method converts the specified x- and y-coordinates to device coordinates, and adds a corresponding lineto segment to the specified path.

Parameters:
path - A general path object.
x - A x-coordinate value in physical coordinates.
y - A y-coordinate value in physical coordinates.
z - A z-coordinate value in physical coordinates.

wLineAbs

public void wLineAbs(java.awt.geom.GeneralPath path,
                     double x1,
                     double y1,
                     double z1,
                     double x2,
                     double y2,
                     double z2)
This method converts the specified starting and ending x- and y-coordinates to device coordinates, and adds a corresponding line segment to the specified path.

Parameters:
path - A general path object.
x1 - The starting x-coordinate value in physical coordinates.
y1 - The starting y-coordinate value in physical coordinates.
z1 - The starting z-coordinate value in physical coordinates.
x2 - The ending x-coordinate value in physical coordinates.
y2 - The ending y-coordinate value in physical coordinates.
z2 - The ending z-coordinate value in physical coordinates.

wLineAbs

public void wLineAbs(java.awt.Graphics2D g2,
                     java.awt.geom.GeneralPath path,
                     double x1,
                     double y1,
                     double z1,
                     double x2,
                     double y2,
                     double z2,
                     boolean dodraw,
                     boolean appendpath)
This method converts the specified starting and ending x- and y-coordinates to device coordinates, and adds a corresponding line segment to the specified path. It also has parameters that support immediate mode drawing of the line segment.

Parameters:
g2 - The graphics context.
path - A general path object.
x1 - The starting x-coordinate value in physical coordinates.
y1 - The starting y-coordinate value in physical coordinates.
z1 - The starting z-coordinate value in physical coordinates.
x2 - The ending x-coordinate value in physical coordinates.
y2 - The ending y-coordinate value in physical coordinates.
z2 - The ending z-coordinate value in physical coordinates.
dodraw - Draw the line segment immediately if true.
appendpath - Append the line segment to the path.

wLineAbs

public void wLineAbs(java.awt.Graphics2D g2,
                     java.awt.geom.GeneralPath path,
                     double x1,
                     double y1,
                     double z1,
                     double x2,
                     double y2,
                     double z2)
This method converts the specified starting and ending x- and y-coordinates to device coordinates, and adds a corresponding line segment to the specified path. It also has parameters that support immediate mode drawing of the line segment.

Parameters:
g2 - The graphics context.
path - A general path object.
x1 - The starting x-coordinate value in physical coordinates.
y1 - The starting y-coordinate value in physical coordinates.
z1 - The starting z-coordinate value in physical coordinates.
x2 - The ending x-coordinate value in physical coordinates.
y2 - The ending y-coordinate value in physical coordinates.
z2 - The ending z-coordinate value in physical coordinates.

wLineAbs

public void wLineAbs(java.awt.geom.GeneralPath path,
                     ChartPoint3D p1,
                     ChartPoint3D p2)
This method converts the specified starting and ending x- and y-coordinates to device coordinates, and adds a corresponding line segment to the specified path.

Parameters:
path - A general path object.
p1 - The starting coordinate values in physical coordinates.
p2 - The ending coordinate values in physical coordinates.

wLineRel

public void wLineRel(java.awt.geom.GeneralPath path,
                     double deltax,
                     double deltay,
                     double deltaz)
This method implements a relative lineto operation using physical coordinates. It converts the x and y physical coordinates into window device coordinates, adds the values to the current pen position and adds a lineto segment to the new position to the specified path.

Parameters:
path - A general path object.
deltax - An x-coordinate value in physical coordinates.
deltay - A y-coordinate value in physical coordinates.
deltaz - A z-coordinate value in physical coordinates.

wStepLineToAbs

public void wStepLineToAbs(java.awt.geom.GeneralPath path,
                           double x2,
                           double y2,
                           double z2,
                           int stepmode)
This method converts the specified x- and y-coordinates to device coordinates, and adds corresponding lineto segments to the specified path. Four different modes are supported for connecting the previously drawn point to the new position. These modes are: NO_STEP - Draw directly from the previous point to the new point. STEP_START - Use two lines to draw to the new point. Draw first to (old X, new Y) and then (new X, new Y). STEP_END - Use two lines to draw to the new point. Draw first to (new X, old Y) and then (new X, new Y). STEP_NO_RISE_LINE - Use one line to draw to the new point. Move to (old X, new Y) without drawing a line. Then draw a line to (new X, new Y).

Parameters:
path - A general path object.
x2 - A x-coordinate value in physical coordinates.
y2 - A y-coordinate value in physical coordinates.
z2 - A y-coordinate value in physical coordinates.
stepmode - The step mode for the connection line(s). Use one of the step line constants: NO_STEP, STEP_START, STEP_END or STEP_NO_RISE_LINE.

wStepLineToAbs

public void wStepLineToAbs(java.awt.geom.GeneralPath path,
                           ChartPoint3D p1,
                           int stepmode)
This method converts the specified x- and y-coordinates to device coordinates, and adds corresponding lineto segments to the specified path. Four different modes are supported for connecting the previously drawn point to the new position. These modes are: NO_STEP Draw directly from the previous point to the new point STEP_START Use two lines to draw to the new point. Draw first to (old X, new Y) and then (new X, new Y). STEP_END Use two lines to draw to the new point. Draw first to (new X, old Y) and then (new X, new Y). STEP_NO_RISE_LINE Use one line to draw to the new point. Move to (old X, new Y) without drawing a line. Then draw a line to (new X, new Y).

Parameters:
path - A general path object.
p1 - A point in physical coordinates.
stepmode - The step mode for the connection line(s). Use one of the step line constants: NO_STEP, STEP_START, STEP_END or STEP_NO_RISE_LINE.

wStepLineAbs

public void wStepLineAbs(java.awt.geom.GeneralPath path,
                         double x1,
                         double y1,
                         double z1,
                         double x2,
                         double y2,
                         double z2,
                         int stepmode)
This method converts the specified x- and y-coordinates to device coordinates, and adds corresponding lineto segments to the specified path. Four different modes are supported for connecting the previously drawn point to the new position. These modes are: NO_STEP Draw directly from the previous point to the new point STEP_START Use two lines to draw to the new point. Draw first to (old X, new Y) and then (new X, new Y). STEP_END Use two lines to draw to the new point. Draw first to (new X, old Y) and then (new X, new Y). STEP_NO_RISE_LINE Use one line to draw to the new point. Move to (old X, new Y) without drawing a line. Then draw a line to (new X, new Y).

Parameters:
path - A general path object.
x1 - The starting x-coordinate value in physical coordinates.
y1 - The starting y-coordinate value in physical coordinates.
z1 - The starting y-coordinate value in physical coordinates.
x2 - The ending x-coordinate value in physical coordinates.
y2 - The ending y-coordinate value in physical coordinates.
z2 - The ending y-coordinate value in physical coordinates.
stepmode - The step mode for the connection line(s). Use one of the step line constants: NO_STEP, STEP_START, STEP_END or STEP_NO_RISE_LINE.

wStepLineAbs

public void wStepLineAbs(java.awt.geom.GeneralPath path,
                         ChartPoint3D p1,
                         ChartPoint3D p2,
                         int stepmode)
This method converts the specified x- and y-coordinates to device coordinates, and adds corresponding lineto segments to the specified path. Four different modes are supported for connecting the previously drawn point to the new position. These modes are: NO_STEP Draw directly from the previous point to the new point STEP_START Use two lines to draw to the new point. Draw first to (old X, new Y) and then (new X, new Y). STEP_END Use two lines to draw to the new point. Draw first to (new X, old Y) and then (new X, new Y). STEP_NO_RISE_LINE Use one line to draw to the new point. Move to (old X, new Y) without drawing a line. Then draw a line to (new X, new Y).

Parameters:
path - A general path object.
p1 - The starting coordinate values in physical coordinates.
p2 - The ending coordinate values in physical coordinates.
stepmode - The step mode for the connection line(s). Use one of the step line constants: NO_STEP, STEP_START, STEP_END or STEP_NO_RISE_LINE.

wPolyLineAbs

public void wPolyLineAbs(java.awt.geom.GeneralPath path,
                         double[] x,
                         double[] y,
                         double[] z,
                         int numdat,
                         int stepmode)
This method adds multiple line segments, defined using physical coordinates, to the specified path.

Parameters:
path - The line segments are added to this path.
x - An array, size numdat, of x-values defining the endpoints of the line segments that are added to the specified path.
y - An array, size numdat, of y-values defining the endpoints of the line segments that are added to the specified path.
z - An array, size numdat, of z-values defining the endpoints of the line segments that are added to the specified path.
numdat - The starting y-coordinate value of the line segment.
stepmode - The step mode for the connection line(s). Use one of the step line constants: NO_STEP, STEP_START, STEP_END or STEP_NO_RISE_LINE.

wPolyLineAbs

public void wPolyLineAbs(java.awt.geom.GeneralPath path,
                         DoubleArray x,
                         DoubleArray y,
                         DoubleArray z,
                         int stepmode)
This method adds multiple line segments, defined using physical coordinates, to the specified path.

Parameters:
path - The line segments are added to this path.
x - An array, size numdat, of x-values defining the endpoints of the line segments that are added to the specified path.
y - An array, size numdat, of y-values defining the endpoints of the line segments that are added to the specified path.
z - An array, size numdat, of z-values defining the endpoints of the line segments that are added to the specified path.
stepmode - The step mode for the connection line(s). Use one of the step line constants: NO_STEP, STEP_START, STEP_END or STEP_NO_RISE_LINE.

wPolyLineAbs

public void wPolyLineAbs(java.awt.geom.GeneralPath path,
                         double[] x,
                         double[] y,
                         int numdat,
                         int stepmode)
This method adds multiple line segments, defined using physical coordinates, to the specified path.

Parameters:
path - The line segments are added to this path.
x - An array, size numdat, of x-values defining the endpoints of the line segments that are added to the specified path.
y - An array, size numdat, of y-values defining the endpoints of the line segments that are added to the specified path.
numdat - The starting y-coordinate value of the line segment.
stepmode - The step mode for the connection line(s). Use one of the step line constants: NO_STEP, STEP_START, STEP_END or STEP_NO_RISE_LINE.

wPolyLineAbs

public void wPolyLineAbs(java.awt.geom.GeneralPath path,
                         ChartPoint3D[] p,
                         int numdat,
                         int stepmode)
This method adds multiple line segments, defined using physical coordinates, to the specified path.

Parameters:
path - The line segments are added to this path.
p - An array, size numdat, of world coordinate points defining the endpoints of the line segments
numdat - The starting y-coordinate value of the line segment.
stepmode - The step mode for the connection line(s). Use one of the step line constants: NO_STEP, STEP_START, STEP_END or STEP_NO_RISE_LINE.

wPolyLineAbs

public void wPolyLineAbs(java.awt.Graphics2D g2,
                         double[] x,
                         double[] y,
                         double[] z,
                         int n,
                         int stepmode)
This method converts the specified x- and y-arrays to device coordinates, and draws the resulting line as a polyline. Four different modes are supported for connecting the previously drawn point to the new position. These modes are: NO_STEP Draw directly from the previous point to the new point STEP_START Use two lines to draw to the new point. Draw first to (old X, new Y) and then (new X, new Y). STEP_END Use two lines to draw to the new point. Draw first to (new X, old Y) and then (new X, new Y). STEP_NO_RISE_LINE is not supported because it cannot be drawn as a contiguous polyline.

Parameters:
g2 - A graphics context.
x - A DoubleArray array of the x-values of the polygon path.
y - A DoubleArray array of the y-values of the polygon path.
z - A DoubleArray array of the z-values of the polygon path.
n - The number of data points in the x, y and z arrays.
stepmode - The step mode for the connection line(s). Use one of the step line constants: NO_STEP, STEP_START, STEP_END or STEP_NO_RISE_LINE.

wPolyLineAbs

public void wPolyLineAbs(java.awt.Graphics2D g2,
                         DoubleArray x,
                         DoubleArray y,
                         DoubleArray z,
                         int stepmode)
This method converts the specified x- and y-arrays to device coordinates, and draws the resulting line as a polyline. Four different modes are supported for connecting the previously drawn point to the new position. These modes are: NO_STEP Draw directly from the previous point to the new point STEP_START Use two lines to draw to the new point. Draw first to (old X, new Y) and then (new X, new Y). STEP_END Use two lines to draw to the new point. Draw first to (new X, old Y) and then (new X, new Y). STEP_NO_RISE_LINE is not supported because it cannot be drawn as a contiguous polyline.

Parameters:
g2 - A graphics context.
x - A DoubleArray array of the x-values of the polygon path.
y - A DoubleArray array of the y-values of the polygon path.
z - A DoubleArray array of the z-values of the polygon path.
stepmode - The step mode for the connection line(s). Use one of the step line constants: NO_STEP, STEP_START, STEP_END or STEP_NO_RISE_LINE.

segmentedPolyline

public void segmentedPolyline(java.awt.Graphics2D g2,
                              int[] xarray,
                              int[] yarray,
                              int n)
This method converts the specified x- and y-arrays to device coordinates, and draws the resulting line as a polyline. Four different modes are supported for connecting the previously drawn point to the new position. These modes are: NO_STEP Draw directly from the previous point to the new point STEP_START Use two lines to draw to the new point. Draw first to (old X, new Y) and then (new X, new Y). STEP_END Use two lines to draw to the new point. Draw first to (new X, old Y) and then (new X, new Y). STEP_NO_RISE_LINE is not supported because it cannot be drawn as a contiguous polyline.

Parameters:
g2 - The graphics context
xarray - An array of x-values of the polyline path.
yarray - An array of y-values of the polyline path.
n - The number of points in the x and y arrays.

wRectangle

public void wRectangle(java.awt.geom.GeneralPath path,
                       double x1,
                       double y1,
                       double z1,
                       double w,
                       double h,
                       double d)
This method adds a rectangle, defined using physical coordinates, to the specified path.

Parameters:
path - A general path object.
x1 - A x-coordinate value in physical coordinates representing the lower left corner of the rectangle.
y1 - A y-coordinate value in physical coordinates rep resending the lower left corner of the rectangle.
z1 - A s-coordinate value in physical coordinates rep resending the lower left corner of the rectangle.
w - The width of the rectangle in physical coordinates.
h - The height of the rectangle in physical coordinates.
d - The depth of the rectangle in physical coordinates.

wTriangle

public void wTriangle(java.awt.geom.GeneralPath path,
                      double x1,
                      double y1,
                      double z1,
                      double w,
                      double h,
                      double d,
                      int dir)
This method adds a rectangle, defined using physical coordinates, to the specified path.

Parameters:
path - A general path object.
x1 - A x-coordinate value in physical coordinates representing the lower left corner of the rectangle.
y1 - A y-coordinate value in physical coordinates rep resending the lower left corner of the rectangle.
z1 - A s-coordinate value in physical coordinates rep resending the lower left corner of the rectangle.
w - The width of the rectangle in physical coordinates.
h - The height of the rectangle in physical coordinates.
d - The depth of the rectangle in physical coordinates.
dir - Specifies which direction to draw triangle.

wRoundedRectangle

public void wRoundedRectangle(java.awt.geom.GeneralPath path,
                              double x1,
                              double y1,
                              double z1,
                              double w,
                              double h,
                              double d,
                              double corner)
This method adds a rectangle, defined using physical coordinates, to the specified path.

Parameters:
path - A general path object.
x1 - A x-coordinate value in physical coordinates representing the lower left corner of the rectangle.
y1 - A y-coordinate value in physical coordinates rep resending the lower left corner of the rectangle.
z1 - A s-coordinate value in physical coordinates rep resending the lower left corner of the rectangle.
w - The width of the rectangle in physical coordinates.
h - The height of the rectangle in physical coordinates.
d - The depth of the rectangle in physical coordinates.
corner - The corner radius of the rounded rectangle.

getWCircle

public java.awt.geom.Arc2D getWCircle(double x,
                                      double y,
                                      double z,
                                      double radius)
This method converts a circle from physical coordinates to window device coordinates. If returns the converted circle as an Arc2D object.

Parameters:
x - A x-coordinate value in physical coordinates representing the circle center.
y - A y-coordinate value in physical coordinates representing the circle center.
z - A z-coordinate value in physical coordinates representing the circle center.
radius - The radius of the circle in physical coordinates.
Returns:
Returns the converted circle as an Arc2D object.

wCircle

public void wCircle(java.awt.geom.GeneralPath path,
                    double x,
                    double y,
                    double z,
                    double radius)
This method adds a circle, defined using physical coordinates, to the specified path.

Parameters:
path - A general path object.
x - A x-coordinate value in physical coordinates representing the circle center.
y - A y-coordinate value in physical coordinates representing the circle center.
z - A z-coordinate value in physical coordinates representing the circle center.
radius - The radius of the circle in physical coordinates.

getPhysPlotScale

public ChartRectangle3D getPhysPlotScale()
This method returns the physical coordinates of the plotting area.

Returns:
This method returns the physical coordinates of the plotting area.

setPhysPlotScale

public void setPhysPlotScale(ChartRectangle3D physrect)
Sets the physical coordinates of the plotting area.

Parameters:
physrect - Sets the physical coordinates of the plotting area.

getStartX

public double getStartX()
This method returns the lower left x-value for the physical coordinate system of the plotting area.

Returns:
Returns the lower left x-value for the physical coordinate system of the plotting area.

getStartY

public double getStartY()
This method returns the lower left y-value for the physical coordinate system of the plotting area.

Returns:
Returns the lower left y-value for the physical coordinate system of the plotting area.

getStartZ

public double getStartZ()
This method returns the lower left z-value for the physical coordinate system of the plotting area.

Returns:
Returns the lower left z-value for the physical coordinate system of the plotting area.

getStopX

public double getStopX()
This method returns the upper right x-value for the physical coordinate system of the plotting area.

Returns:
Returns the upper right x-value for the physical coordinate system of the plotting area.

getStopY

public double getStopY()
This method returns the upper right y-value for the physical coordinate system of the plotting area.

Returns:
Returns the upper right y-value for the physical coordinate system of the plotting area.

getStopZ

public double getStopZ()
This method returns the upper right z-value for the physical coordinate system of the plotting area.

Returns:
Returns the upper right z-value for the physical coordinate system of the plotting area.

getStart

public double getStart(int naxis)
This method returns the lower left x-, y-, or z-value for the physical coordinate system of the plotting area.

Parameters:
naxis - Specify X_AXIS, Y_AXIS or Z_AXIS.
Returns:
Returns the lower left x-, y-, or z-value for the physical coordinate system of the plotting area.

getStop

public double getStop(int naxis)
This method returns the upper right x-, y-, or z-value for the physical coordinate system of the plotting area.

Parameters:
naxis - Specify X_AXIS, Y_AXIS or Z_AXIS.
Returns:
Returns the upper right x-, y-, or z-value for the physical coordinate system of the plotting area.

physToUserX

public double physToUserX(double x)
This method converts an x-coordinate value from physical coordinates to a window device coordinates.

Parameters:
x - The physical x-coordinate value that is converted to window device coordinates.
Returns:
Returns the value of x converted to window device coordinates.

physToUserY

public double physToUserY(double y)
This method converts an y-coordinate value from physical coordinates to window device coordinates.

Parameters:
y - The physical y-coordinate value that is converted to window device coordinates.
Returns:
source Returns the value of y converted to window device coordinates .

physToUserZ

public double physToUserZ(double z)
This method converts an z-coordinate value from physical coordinates to window device coordinates.

Parameters:
z - The physical z-coordinate value that is converted to window device coordinates.
Returns:
source Returns the value of z converted to window device coordinates .

userToPhysX

public double userToPhysX(double x)
This method converts an x-coordinate value from window device coordinates to physical coordinates.

Parameters:
x - The physical x-coordinate value that is converted to physical coordinates.
Returns:
Returns the value of x converted to physical coordinates.

userToPhysY

public double userToPhysY(double y)
This method converts an y-coordinate value from window device coordinates to physical coordinates.

Parameters:
y - The physical y-coordinate value that is converted to physical coordinates.
Returns:
Returns the value of y converted to physical coordinates.

userToPhysZ

public double userToPhysZ(double z)
This method converts an z-coordinate value from window device coordinates to physical coordinates.

Parameters:
z - The physical z-coordinate value that is converted to physical coordinates.
Returns:
Returns the value of z converted to physical coordinates.

physToUser

public ChartPoint3D physToUser(ChartPoint3D source)
This method converts a point from physical coordinates to window device coordinates.

Parameters:
source - The physical coordinates that are converted to window device coordinates.
Returns:
Returns the point converted to window device coordinates .

userToPhys

public ChartPoint3D userToPhys(ChartPoint3D source)
This method converts a point from window device coordinates to physical coordinates.

Parameters:
source - The window device coordinates that are converted to physical coordinates.
Returns:
Returns the point converted to physical coordinates .

physToUser

public void physToUser(ChartPoint3D dest,
                       ChartPoint3D source)
This method converts a point from physical coordinates to window device coordinates.

Parameters:
source - The physical coordinates that are converted to window device coordinates.
dest - Returns the point converted to window device coordinates .

userToPhys

public void userToPhys(ChartPoint3D dest,
                       ChartPoint3D source)
This method converts a point from window device coordinates to physical coordinates.

Parameters:
source - The window device coordinates that are converted to physical coordinates.
dest - Returns the point converted to physical coordinates .

physAddX

public double physAddX(double x,
                       double increment)
This method adds an increment to the x-coordinate value in physical coordinates.

Parameters:
x - The x-coordinate value that is incremented.
increment - The increment value.
Returns:
Returns the new value in physical coordinates.

physAddY

public double physAddY(double y,
                       double increment)
This method adds an increment to the y-coordinate value in physical coordinates.

Parameters:
y - The y-coordinate value that is incremented.
increment - The increment value.
Returns:
Returns the new value in physical coordinates.

physAddZ

public double physAddZ(double z,
                       double increment)
This method adds an increment to the z-coordinate value in physical coordinates.

Parameters:
z - The z-coordinate value that is incremented.
increment - The increment value.
Returns:
Returns the new value in physical coordinates.

swapScaleOrientation

public void swapScaleOrientation()
This method swaps the minimum x-value of the coordinate system with the minimum y-value; and the maximum x-value with the maximum y-value.


invertScaleX

public void invertScaleX()
This method swaps the minimum x-value of the coordinate system with the maximum x-value; the y-values of the coordinate system remain unchanged. The net result is an inverted x-axis.


invertScaleY

public void invertScaleY()
This method swaps the minimum y-value of the coordinate system with the maximum y-value; the x-values of the coordinate system remain unchanged. The net result is an inverted y-axis.


invertScaleZ

public void invertScaleZ()
This method swaps the minimum z-value of the coordinate system with the maximum z-value; the x-values of the coordinate system remain unchanged. The net result is an inverted z-axis.


autoScale

public abstract void autoScale(int nroundmodeX,
                               int nroundmodeY)
This abstract method auto-scales the current physical coordinates system, using the current physical coordinate values as the starting point.

Parameters:
nroundmodeX - The x-coordinate values are calculated using this rounding mode (AUTOAXES_FAR,AUTOAXES_NEAR,AUTOAXES_EXACT).
nroundmodeY - The y-coordinate values are calculated using this rounding mode (AUTOAXES_FAR,AUTOAXES_NEAR,AUTOAXES_EXACT).

autoScale

public abstract void autoScale(int nroundmodeX,
                               int nroundmodeY,
                               int nroundmodeZ)
This abstract method auto-scales the current physical coordinates system, using the current physical coordinate values as the starting point.

Parameters:
nroundmodeX - The x-coordinate values are calculated using this rounding mode (AUTOAXES_FAR,AUTOAXES_NEAR,AUTOAXES_EXACT).
nroundmodeY - The y-coordinate values are calculated using this rounding mode (AUTOAXES_FAR,AUTOAXES_NEAR,AUTOAXES_EXACT).
nroundmodeZ - The z-coordinate values are calculated using this rounding mode (AUTOAXES_FAR,AUTOAXES_NEAR,AUTOAXES_EXACT).

checkValidPoint

public abstract boolean checkValidPoint(double x,
                                        double y)
This method checks the validity of the x- and y-values of a datapoint.

Parameters:
x - The x-value of the datapoint that is checked.
y - The y-value of the datapoint that is checked.
Returns:
Returns true if the data point is valid.

checkValidPoint

public abstract boolean checkValidPoint(double x,
                                        double y,
                                        double z)
This method checks the validity of the x- and y-values of a datapoint.

Parameters:
x - The x-value of the datapoint that is checked.
y - The y-value of the datapoint that is checked.
z - The z-value of the datapoint that is checked.
Returns:
Returns true if the x- and y-values represent a valid datapoint.

copy

public abstract void copy(java.lang.Object source)
This abstract method copies the source scale.

Parameters:
source - The source scale object.

getCompatibleAxis

public abstract Axis getCompatibleAxis(int axis)
This abstract method returns an axis compatible with the current physical coordinate system.

Parameters:
axis - Specifies which axis (X_AXIS, Y_AXIS, or Z_AXIS).
Returns:
Returns an axis compatible with the current physical coordinate system.

setScaleX

public void setScaleX(double rX1,
                      double rX2)
Sets the x-coordinate bounds of the physical coordinate system for the plot area.

Parameters:
rX1 - Sets the lower left x-value for the plotting area of the physical coordinate system.
rX2 - Sets the upper right x-value for the plotting area of the physical coordinate system.

setScaleY

public void setScaleY(double rY1,
                      double rY2)
Sets the y-coordinate bounds of the physical coordinate system for the plot area.

Parameters:
rY1 - Sets the lower left y-value for the plotting area of the physical coordinate system.
rY2 - Sets the upper right y-value for the plotting area of the physical coordinate system.

setScaleZ

public void setScaleZ(double rZ1,
                      double rZ2)
Sets the z-coordinate bounds of the physical coordinate system for the plot area.

Parameters:
rZ1 - Sets the lower left z-value for the plotting area of the physical coordinate system.
rZ2 - Sets the upper right z-value for the plotting area of the physical coordinate system.

setCoordinateBounds

public void setCoordinateBounds(double rX1,
                                double rY1,
                                double rZ1,
                                double rX2,
                                double rY2,
                                double rZ2)
Sets the x- and y-coordinate bounds of the physical coordinate system for the plot area.

Parameters:
rX1 - Sets the lower left x-value for the plotting area of the physical coordinate system.
rY1 - Sets the lower left y-value for the plotting area of the physical coordinate system.
rZ1 - Sets the lower left z-value for the plotting area of the physical coordinate system.
rX2 - Sets the upper right x-value for the plotting area of the physical coordinate system.
rY2 - Sets the upper right y-value for the plotting area of the physical coordinate system.
rZ2 - Sets the upper right z-value for the plotting area of the physical coordinate system.

setCoordinateBounds

public void setCoordinateBounds(double rX1,
                                double rY1,
                                double rX2,
                                double rY2)
Sets the x- and y-coordinate bounds of the physical coordinate system for the plot area.

Parameters:
rX1 - Sets the lower left x-value for the plotting area of the physical coordinate system.
rX2 - Sets the upper right x-value for the plotting area of the physical coordinate system.
rY1 - Sets the lower left y-value for the plotting area of the physical coordinate system.
rY2 - Sets the upper right y-value for the plotting area of the physical coordinate system.

setScaleStartX

public void setScaleStartX(double rX1)
Sets the lower left x-value for the plotting area of the physical coordinate system.

Parameters:
rX1 - Sets the lower left x-value for the plotting area of the physical coordinate system.

setScaleStopX

public void setScaleStopX(double rX2)
Sets the maximum x-value for the plotting area of the physical coordinate system.

Parameters:
rX2 - Sets the upper right x-value for the plotting area of the physical coordinate system.

setScaleStartY

public void setScaleStartY(double rY1)
Sets the lower left y-value for the plotting area of the physical coordinate system.

Parameters:
rY1 - Sets the lower left y-value for the plotting area of the physical coordinate system.

setScaleStopY

public void setScaleStopY(double rY2)
Sets the upper right y-value for the plotting area of the physical coordinate system.

Parameters:
rY2 - Sets the upper right y-value for the plotting area of the physical coordinate system.

setScaleStartZ

public void setScaleStartZ(double rZ1)
Sets the lower left z-value for the plotting area of the physical coordinate system.

Parameters:
rZ1 - Sets the lower left z-value for the plotting area of the physical coordinate system.

setScaleStopZ

public void setScaleStopZ(double rZ2)
Sets the upper right z-value for the plotting area of the physical coordinate system.

Parameters:
rZ2 - Sets the upper right z-value for the plotting area of the physical coordinate system.

getScaleStartX

public double getScaleStartX()
This method returns the lower left x-value for the plotting area of the physical coordinate system.

Returns:
Returns the lower left x-value for the plotting area of the physical coordinate system.

getScaleStopX

public double getScaleStopX()
This method returns the upper right x-value for the plotting area of the physical coordinate system.

Returns:
Returns the upper right x-value for the plotting area of the physical coordinate system.

getScaleStartY

public double getScaleStartY()
This method returns the lower left y-value for the plotting area of the physical coordinate system.

Returns:
Returns the lower left y-value for the plotting area of the physical coordinate system.

getScaleStopY

public double getScaleStopY()
This method returns the upper right y-value for the plotting area of the physical coordinate system.

Returns:
Returns the upper right y-value for the plotting area of the physical coordinate system.

getScaleStartZ

public double getScaleStartZ()
This method returns the lower left z-value for the plotting area of the physical coordinate system.

Returns:
Returns the lower left z-value for the plotting area of the physical coordinate system.

getScaleStopZ

public double getScaleStopZ()
This method returns the upper right z-value for the plotting area of the physical coordinate system.

Returns:
Returns the upper right z-value for the plotting area of the physical coordinate system.

isScaleInverted

public boolean isScaleInverted(int axis)
Returns true if the specified axis is inverted.

Parameters:
axis - Specifies the axis: X_AXIS, Y_AXIS or Z_AXIS
Returns:
Returns true if the specified axis is inverted.

getScaleMaxX

public double getScaleMaxX()
Get the maximum x-value for the plotting area of the physical coordinate system.

Returns:
Returns the maximum x-value for the plotting area of the physical coordinate system.

getScaleMinX

public double getScaleMinX()
Get the minimum x-value for the plotting area of the physical coordinate system.

Returns:
Returns the minimum x-value for the plotting area of the physical coordinate system.

getScaleMinY

public double getScaleMinY()
Get the minimum y-value for the plotting area of the physical coordinate system.

Returns:
Returns the minimum y-value for the plotting area of the physical coordinate system.

getScaleMaxY

public double getScaleMaxY()
Get the maximum y-value for the plotting area of the physical coordinate system.

Returns:
Returns the maximum y-value for the plotting area of the physical coordinate system.

getScaleMinZ

public double getScaleMinZ()
Get the minimum z-value for the plotting area of the physical coordinate system.

Returns:
Returns the minimum z-value for the plotting area of the physical coordinate system.

getScaleMaxZ

public double getScaleMaxZ()
Get the maximum z-value for the plotting area of the physical coordinate system.

Returns:
Returns the maximum z-value for the plotting area of the physical coordinate system.

autoScale

public abstract void autoScale(ChartDataset dataset,
                               int nroundmodex,
                               int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object.

Parameters:
dataset - The TimeSimpleDataset dataset used as the basis for the new coordinate system.
nroundmodex - Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

autoScale

public abstract void autoScale(ChartDataset dataset,
                               int nroundmodex,
                               int nroundmodey,
                               int nroundmodez)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object.

Parameters:
dataset - The TimeSimpleDataset dataset used as the basis for the new coordinate system.
nroundmodex - Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodez - Sets the auto-scale mode for the z-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

autoScale

public abstract void autoScale(ChartDataset dataset)
This method initializes an TimeCoordinates object based on the range of x- and y-values in the supplied TimeSimpleDataset object. AUTOAXES_FAR rounding is assumed for both x- and y-coordindates.

Parameters:
dataset - The TimeSimpleDataset dataset used as the basis for the new coordinate system.

autoScale

public abstract void autoScale(ChartDataset[] datasets,
                               int nroundmodex,
                               int nroundmodey)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.

Parameters:
datasets - The array of dataset used as the basis for the new coordinate system.
nroundmodex - Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

autoScale

public abstract void autoScale(ChartDataset[] datasets,
                               int nroundmodex,
                               int nroundmodey,
                               int nroundmodez)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets.

Parameters:
datasets - The array of dataset used as the basis for the new coordinate system.
nroundmodex - Sets the auto-scale mode for the x-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodey - Sets the auto-scale mode for the y-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.
nroundmodez - Sets the auto-scale mode for the z-coordinate. Use one of the auto-scale rounding mode constants: AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_EXACT.

autoScale

public abstract void autoScale(ChartDataset[] datasets)
This method initializes an TimeCoordinates object based on the range of x- and y-values in an array of TimeSimpleDataset datasets. AUTOAXES_FAR rounding is assumed for both x- and y-coordindates.

Parameters:
datasets - The array of dataset used as the basis for the new coordinate system.

getNormYDown

public boolean getNormYDown()
A flag the sets the direction of the y-value in normalized coordinates. True means that 0.0 is the upper left corner, false, lower left corner.

Returns:
Returns True if 0.0 is the upper left corner, false, lower left corner.

setNormYDown

public void setNormYDown(boolean value)
A flag the sets the direction of the y-value in normalized coordinates. True means that 0.0 is the upper left corner, false, lower left corner.

Parameters:
value - True means that 0.0 is the upper left corner, false, lower left corner.

transformPolygon

public Polygon3D transformPolygon(Polygon3D polygon)
Transforms a Polygon3D object to Screen Coordinates.

Parameters:
polygon - A Polygon3D object.
Returns:
Returns a Polygon3D object, transformed to screen coordinates.

convertPointListToGeneralPath

public java.awt.geom.GeneralPath convertPointListToGeneralPath(ChartPoint3D[] p)
Converts an array of ChartPoint3D objects to GeneralPath object.

Parameters:
p - An array of ChartPoint3D objects.
Returns:
Returns a GeneralPath object.

polyFillAbs3D

public void polyFillAbs3D(java.awt.Graphics2D g2,
                          ChartPoint3D[] p)
Draws a a filled polygon using the currentAttributes property.

Parameters:
g2 - The graphics context.
p - An array of ChartPoint3D objects.

clampPointToPlane

public boolean clampPointToPlane(int plane,
                                 ChartPoint3D p,
                                 int clipcoords)
Clamp the x, y or z-value of a ChartPoint3D object to the value of the associated plane.

Parameters:
plane - The plane to clamp against: XY_MINZ_PLANE, XZ_MINY_PLANE, YZ_MINX_PLANE, XY_MAXZ_PLANE, XZ_MAXY_PLANE, YZ_MAXX_PLANE.
p - A ChartPoint3D object.
clipcoords - Specifies if the coordinates are clamped against the Device (DEV_POS) or Screen (SCREEN_POS) coordinates system.
Returns:
Returns true of the value was clamped.

clampPointToPlane

public boolean clampPointToPlane(ChartPoint3D[] p,
                                 int coordtype)
Clamp an array of points to the limits associated with the specified coordinate system.

Parameters:
p - An array of ChartPoint3D objects.
coordtype - Specifies if the coordinates are in Device (DEV_POS) or Screen (SCREEN_POS) coordinates.
Returns:
Returns true of the value was clamped.

clampPointToPlane

public boolean clampPointToPlane(Point3DArray parray,
                                 int coordtype)
Clamp an array of points to the limits associated with the specified coordinate system.

Parameters:
parray - A Point3DArray object.
coordtype - Specifies if the coordinates are in Device (DEV_POS) or Screen (SCREEN_POS) coordinates.
Returns:
Returns true of the value was clamped.

drawSolidObject3D

public PolygonList drawSolidObject3D(ChartPoint3D[] solid,
                                     ChartAttribute attribx,
                                     boolean[] sides,
                                     int coordtype)
Generic solid routine that returns a PolygonList representing the solid.

Parameters:
solid - An array of ChartPoint3D objects representing the corners of the solid.
attribx - The attributes of the solid.
sides - A set of flags specifying which sides should be included in the solid.
coordtype - Specifies the coordinate type.
Returns:
Returns a PolygonList object representing the solid.

drawRibbonSurface

public PolygonList drawRibbonSurface(ChartPoint3D[] solid,
                                     ChartAttribute attribx,
                                     int coordtype)
Creates the polygon the represents one segment of a ribbon plot.

Parameters:
solid - An array of ChartPoint3D objects representing the corners of the ribbon.
attribx - The attributes of the solid.
coordtype - Specifies the coordinate type.
Returns:
Returns a PolygonList object representing the ribbon surface.

draw2DRectangle3D

public PolygonList draw2DRectangle3D(double x1,
                                     double y1,
                                     double z1,
                                     double w,
                                     double h,
                                     double d,
                                     int plane,
                                     ChartAttribute attribx,
                                     int coordtype)
This creates a PolygonList object, representing a 3D rectangle, defined using physical coordinates.

Parameters:
x1 - A x-coordinate value in physical coordinates representing the lower left corner of the rectangle.
y1 - A y-coordinate value in physical coordinates rep resending the lower left corner of the rectangle.
z1 - A s-coordinate value in physical coordinates rep resending the lower left corner of the rectangle.
w - The width of the rectangle in physical coordinates.
h - The height of the rectangle in physical coordinates.
d - The depth of the rectangle in physical coordinates.
plane - The plane of the rectangle.
attribx - The attributes of the solid.
coordtype - Specifies the coordinate type.
Returns:
Returns a PolygonList object representing the ribbon surface.

draw2DTriangle3D

public PolygonList draw2DTriangle3D(double x1,
                                    double y1,
                                    double z1,
                                    double w,
                                    double h,
                                    double d,
                                    int plane,
                                    ChartAttribute attribx,
                                    int coordtype)
This creates a PolygonList object, representing a 3D rectangle, defined using physical coordinates.

Parameters:
x1 - A x-coordinate value in physical coordinates representing the lower left corner of the rectangle.
y1 - A y-coordinate value in physical coordinates rep resending the lower left corner of the rectangle.
z1 - A s-coordinate value in physical coordinates rep resending the lower left corner of the rectangle.
w - The width of the rectangle in physical coordinates.
h - The height of the rectangle in physical coordinates.
d - The depth of the rectangle in physical coordinates.
plane - The plane of the rectangle.
attribx - The attributes of the solid.
coordtype - Specifies the coordinate type.
Returns:
Returns a PolygonList object representing the ribbon surface.

drawFilledRibbonSurface

public PolygonList drawFilledRibbonSurface(ChartPoint3D[] solid,
                                           double fillbasevalue,
                                           ChartAttribute attrib,
                                           int coordtype,
                                           int seriespos)
Creates the polygon that represents one segment of a ribbon plot.

Parameters:
solid - An array of ChartPoint3D objects representing the corners of the ribbon.
fillbasevalue - The value of the base of the filled ribbon.
attrib - The attributes of the solid.
coordtype - Specifies the coordinate type.
seriespos - Specifies if the segment is: FIRST_IN_SERIES, MIDDLE_OF_SERIES, LAST_IN_SERIES.
Returns:
Returns a PolygonList object representing the ribbon surface.

drawFilledStackedRibbonSurface

public PolygonList drawFilledStackedRibbonSurface(ChartPoint3D[] solid,
                                                  double z1,
                                                  double z2,
                                                  ChartAttribute attrib,
                                                  int coordtype,
                                                  boolean bottom,
                                                  boolean top,
                                                  boolean left,
                                                  boolean right)
Creates the polygon the represents one segment of a filled, stacked, ribbon plot.

Parameters:
solid - An array of ChartPoint3D objects representing the corners of the ribbon.
z1 - The front z-value.
z2 - The rear z-value.
attrib - The attributes of the solid.
coordtype - Specifies the coordinate type.
bottom - Set to true to draw the bottom of the solid.
top - Set to true to draw the top of the solid.
left - Set to true to draw the left of the solid.
right - Set to true to draw the right of the solid.
Returns:
Returns a PolygonList object representing the solid.

drawPrism3D

public PolygonList drawPrism3D(double x,
                               double y,
                               double z,
                               double width,
                               double height,
                               double depth,
                               ChartAttribute attrib,
                               int coordtype)
Creates the solid that represents a prism (3D rectangular) object.

Parameters:
x - The x .
y - The rear z-value.
z - The rear z-value.
width - The width of the prism.
height - The height of the prism.
depth - The depth of the prism.
attrib - The attributes of the solid.
coordtype - Specifies the coordinate type.
Returns:
Returns a PolygonList object representing the solid.

pieWedge3D

public PolygonList pieWedge3D(double x,
                              double y,
                              double z,
                              double r,
                              double depth,
                              double start,
                              double extent,
                              double angleinc,
                              ChartAttribute wedgeattrib,
                              boolean firstside,
                              boolean secondside,
                              int coordtype)
Creates the solid that represents a 3D pie chart wedge.

Parameters:
x - The x-value of pie wedge center .
y - The y-value of pie wedge center .
z - The z-value of pie wedge center .
r - The radius of the pie wedge.
depth - The depth of the pie wedge.
start - The starting angle, in degrees, of the pie wedge.
extent - The angular extent of the pie wedge, in degrees.
angleinc - The angle increment used in drawing the curved surfaces of the pie wedge.
wedgeattrib - The attributes of the solid.
firstside - Set to true and the first side of the pie wedge is drawn.
secondside - Set to true and the second side of the pie wedge is drawn.
coordtype - Specifies the coordinate type.
Returns:
Returns a PolygonList object representing the solid.

pieWedge3D2

public PolygonList pieWedge3D2(double x,
                               double y,
                               double z,
                               double r,
                               double depth,
                               double start,
                               double extent,
                               double angleinc,
                               ChartAttribute wedgeattrib,
                               boolean firstside,
                               boolean secondside,
                               int coordtype,
                               boolean arcorrection)
Creates the solid that represents a disk shapped object.

Parameters:
x - The x-value of pie wedge center .
y - The y-value of pie wedge center .
z - The z-value of pie wedge center .
r - The radius of the pie wedge.
depth - The depth of the pie wedge.
start - The starting angle, in degrees, of the pie wedge.
extent - The angular extent of the pie wedge, in degrees.
angleinc - The angle increment used in drawing the curved surfaces of the pie wedge.
wedgeattrib - The attributes of the solid.
firstside - Set to true and the first side of the pie wedge is drawn.
secondside - Set to true and the second side of the pie wedge is drawn.
coordtype - Specifies the coordinate type.
arcorrection - Set to true if disk shaped to be auto-corrected for aspect ratio.
Returns:
Returns a PolygonList object representing the solid.

flexCylinder

public PolygonList flexCylinder(double x,
                                double y,
                                double z,
                                double r,
                                double height,
                                double angleinc,
                                int orient,
                                int justifycenter,
                                ChartAttribute cylinderattrib,
                                int coordtype,
                                boolean arcorrection)
Creates the solid that represents a cylinder shapped object.

Parameters:
x - The x-value of the cylinder.
y - The y-value of the cylinder.
z - The z-value of of the cylinder.
r - The radius of the cylinder.
height - The height of the cylinder.
angleinc - The angle increment used in drawing the curved surfaces of the cylinder.
orient - Vertical (VERT_DIR) or Horizontal (HORIZ_DIR)
justifycenter - Justify the cylinder with respect to x,y and z (JUSTIFY_MIN, JUSTIFY_MAX or JUSTIFY_CENTER)
cylinderattrib - The attributes of the solid.
coordtype - Specifies the coordinate type.
arcorrection - Set to true if disk shaped to be auto-corrected for aspect ratio.
Returns:
Returns a PolygonList object representing the solid.

flexCylinder

public PolygonList flexCylinder(double x,
                                double y,
                                double z,
                                double r,
                                double height,
                                double angleinc,
                                int orient,
                                int justifycenter,
                                ChartAttribute cylinderattrib,
                                int coordtype,
                                boolean arcorrection,
                                boolean topflag,
                                boolean bottomflag)
Creates the solid that represents a cylinder shapped object.

Parameters:
x - The x-value of the cylinder.
y - The y-value of the cylinder.
z - The z-value of of the cylinder.
r - The radius of the cylinder.
height - The height of the cylinder.
angleinc - The angle increment used in drawing the curved surfaces of the cylinder.
orient - Vertical (VERT_DIR) or Horizontal (HORIZ_DIR)
justifycenter - Justify the cylinder with respect to x,y and z (JUSTIFY_MIN, JUSTIFY_MAX or JUSTIFY_CENTER)
cylinderattrib - The attributes of the solid.
coordtype - Specifies the coordinate type.
arcorrection - Set to true if disk shaped to be auto-corrected for aspect ratio.
topflag - Set to true to draw top of cylinder.
bottomflag - Set to true to draw bottom of cylinder.
Returns:
Returns a PolygonList object representing the solid.

flexCone

public PolygonList flexCone(double x,
                            double y,
                            double z,
                            double r,
                            double height,
                            double angleinc,
                            int orient,
                            int justifycenter,
                            ChartAttribute cylinderattrib,
                            int coordtype,
                            boolean arcorrection,
                            boolean bottomflag)
Creates the solid that represents a cone shapped object.

Parameters:
x - The x-value of the cylinder.
y - The y-value of the cylinder.
z - The z-value of of the cylinder.
r - The radius of the cylinder.
height - The height of the cylinder.
angleinc - The angle increment used in drawing the curved surfaces of the cylinder.
orient - Vertical (VERT_DIR) or Horizontal (HORIZ_DIR)
justifycenter - Justify the cylinder with respect to x,y and z (JUSTIFY_MIN, JUSTIFY_MAX or JUSTIFY_CENTER)
cylinderattrib - The attributes of the solid.
coordtype - Specifies the coordinate type.
arcorrection - Set to true if disk shaped to be auto-corrected for aspect ratio.
bottomflag - Set to true if the bottom of the cone is to be drawn.
Returns:
Returns a PolygonList object representing the solid.

sphere

public PolygonList sphere(double x,
                          double y,
                          double z,
                          double r,
                          double angleinc,
                          ChartAttribute cylinderattrib,
                          int coordtype,
                          boolean arcorrection)
Creates the solid that represents a sphere shapped object.

Parameters:
x - The x-value of the sphere.
y - The y-value of the sphere.
z - The z-value of of the sphere.
r - The radius of the sphere.
angleinc - The angle increment used in drawing the curved surfaces of the sphere.
cylinderattrib - The attributes of the solid.
coordtype - Specifies the coordinate type.
arcorrection - Set to true if disk shaped to be auto-corrected for aspect ratio.
Returns:
Returns a PolygonList object representing the solid.

cullRearFacingPolygon

public boolean cullRearFacingPolygon(Polygon3D polygon)
Remove rear facing polygons of a solid that cannot be seen anyway.

Parameters:
polygon - A polygon representing one side of a solid.
Returns:
Returns true if polygon should be culled.

isPolygonClockwise

public boolean isPolygonClockwise()
Checks for a scale inversion which changes the logic used for culling rear-facing polgyons.

Returns:
Returns true if a visible polygon uses a clockwise drawing direction.