objects
Class plotPoint

java.lang.Object
  |
  +--objects.EuObject
        |
        +--objects.EuPoint
              |
              +--objects.plotPoint
All Implemented Interfaces:
java.lang.Cloneable, plotObject

public class plotPoint
extends EuPoint
implements plotObject


Field Summary
static int DEFAULTSYMBOL
          Reference to apperarence of plotted point.
static int DEGENERATESYMBOL
          Reference to apperarence of plotted point.
static int ORIENTATIONSYMBOL
          Reference to apperarence of plotted point.
static int PROXIMITYSYMBOL
          Reference to apperarence of plotted point.
 
Fields inherited from class objects.EuPoint
anchor
 
Fields inherited from class objects.EuObject
infoHash, provenience, scaledown
 
Constructor Summary
plotPoint(fundamentals.EuVector v, fundamentals.mouseInfo info)
          The constructor does initialization.
plotPoint(fundamentals.EuVector v, fundamentals.mouseInfo info, int type)
          The constructor does initialization.
 
Method Summary
 void draw(java.awt.Graphics g)
          Draws the point as a symbol.
 void drawAs(java.awt.Graphics g, int symbolcode)
          Draws the point as a symbol.
 boolean mouseVicinity(fundamentals.mouseVector mouseAt)
          See if mouse position is close to this point.
 java.lang.String toPs()
          Represent the plot object as a postscript command
 double weight()
           
 fundamentals.mouseVector visiblePixel(double parameter)
           
 
Methods inherited from class objects.EuPoint
castIdentical, closureContains, computeClip, confusionDistance, distance, drawAs, interiorContains, isFull, nameDisplacementAngle, nameLocation, overlaps, params, passArguments, toNaturalLanguage, toString, typeName
 
Methods inherited from class objects.EuObject
cloneObject, draw, equals, getClip, isVisible, mouseVicinity, mouseVicinity, toPs
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULTSYMBOL

public static final int DEFAULTSYMBOL
Reference to apperarence of plotted point. Default is a little plus.

See Also:
Constant Field Values

ORIENTATIONSYMBOL

public static final int ORIENTATIONSYMBOL
Reference to apperarence of plotted point. For use with orientation beacons we draw a boxed plus.

See Also:
Constant Field Values

PROXIMITYSYMBOL

public static final int PROXIMITYSYMBOL
Reference to apperarence of plotted point. For use with proximity beacons we draw an asterisk.

See Also:
Constant Field Values

DEGENERATESYMBOL

public static final int DEGENERATESYMBOL
Reference to apperarence of plotted point. For use with degenerated arcs, radii or intervals,

See Also:
Constant Field Values
Constructor Detail

plotPoint

public plotPoint(fundamentals.EuVector v,
                 fundamentals.mouseInfo info)
          throws UserException
The constructor does initialization.

Parameters:
v - the vector
Throws:
UserException - if an overflow error occurs

plotPoint

public plotPoint(fundamentals.EuVector v,
                 fundamentals.mouseInfo info,
                 int type)
          throws UserException
The constructor does initialization.

Parameters:
v - the vector
Throws:
UserException - if an overflow error occurs
Method Detail

draw

public void draw(java.awt.Graphics g)
Draws the point as a symbol.

Specified by:
draw in interface plotObject
Parameters:
g - the graphics canvas

toPs

public java.lang.String toPs()
Represent the plot object as a postscript command

Specified by:
toPs in interface plotObject

mouseVicinity

public boolean mouseVicinity(fundamentals.mouseVector mouseAt)
See if mouse position is close to this point.

Specified by:
mouseVicinity in interface plotObject
Parameters:
mouseAt - The coordinates of the mouse position
Returns:
true if the mouse is close to the point.

drawAs

public void drawAs(java.awt.Graphics g,
                   int symbolcode)
Draws the point as a symbol.

Parameters:
g - the graphics canvas
symbolcode - either DEFAULTSYMBOL, ORIENTATIONSYMBOL, PROXIMITYSYMBOL or DEGENERATESYMBOL

visiblePixel

public fundamentals.mouseVector visiblePixel(double parameter)
Specified by:
visiblePixel in interface plotObject

weight

public double weight()
Specified by:
weight in interface plotObject