|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--objects.EuObject
|
+--objects.EuPoint
An instance of this class represents a point, represented as a cartesian pair.
| Field Summary | |
fundamentals.EuVector |
anchor
The point's coordinates |
| Fields inherited from class objects.EuObject |
infoHash, provenience, scaledown |
| Constructor Summary | |
EuPoint()
Contructor for dummy object |
|
EuPoint(double x,
double y)
The constructor does initialization. |
|
EuPoint(fundamentals.EuVector v)
The constructor does initialization. |
|
EuPoint(fundamentals.mouseInfo info,
objects.EuObject other,
java.util.Random croupier)
Construct at random on visible part of given parametric object |
|
EuPoint(fundamentals.mouseInfo info,
java.util.Random croupier)
Construct at random on visible part of canvas |
|
| Method Summary | |
boolean |
castIdentical(objects.EuObject other)
See if passed object is identical to the present one. |
boolean |
closureContains(fundamentals.EuVector point)
See if passed point is identical to the present one. |
protected objects.plotCollection |
computeClip(fundamentals.mouseInfo info)
Represent the visible portion of the object as a collection of arcs, intervals or points |
double |
confusionDistance(objects.EuObject other)
Returns the distance from this object to another under these simplifications: The distance to lines or circles is in {0,POSITIVE_INFINITY} unless this is a point. |
double |
distance(fundamentals.EuVector point)
Describe distance method here. |
void |
drawAs(java.awt.Graphics g,
fundamentals.mouseInfo info,
int symbol)
|
boolean |
interiorContains(fundamentals.EuVector point)
Always false |
boolean |
isFull()
Describe isFull method here. |
double |
nameDisplacementAngle(fundamentals.mouseInfo info)
Describe nameDisplacementAngle method here. |
fundamentals.EuVector |
nameLocation(fundamentals.mouseInfo info)
Describe nameLocation method here. |
boolean |
overlaps(objects.EuObject other)
Acts identically to castIdentical() |
java.lang.String |
params()
Describe params method here. |
void |
passArguments(fundamentals.EuArguments args)
Describe passArguments method here. |
java.lang.String |
toNaturalLanguage(int language,
boolean determined)
Describe toNaturalLanguage method here. |
java.lang.String |
toString()
Describe toString method here. |
char |
typeName()
Describe typeName method here. |
| 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 |
public fundamentals.EuVector anchor
| Constructor Detail |
public EuPoint(double x,
double y)
throws UserException
x - the first coordinatey - the second coordinate
UserException - if an overflow error occurs
public EuPoint(fundamentals.EuVector v)
throws UserException
v - the vector
UserException - if an overflow error occurs
public EuPoint(fundamentals.mouseInfo info,
java.util.Random croupier)
throws UserException
info - sizing informationcroupier - random number generator
UserException - if an error occurs
public EuPoint(fundamentals.mouseInfo info,
objects.EuObject other,
java.util.Random croupier)
throws InternalException,
UserException,
DesignException
info - sizing informationother - an EuObject valuecroupier - random number generator
InternalException - if an error occurs
UserException - if an error occurs
DesignExceptionpublic EuPoint()
| Method Detail |
protected objects.plotCollection computeClip(fundamentals.mouseInfo info)
computeClip in class EuObjectinfo - information used in scaling and positioning the object
plotCollection value
public void drawAs(java.awt.Graphics g,
fundamentals.mouseInfo info,
int symbol)
throws InternalException,
DesignException,
UserException
InternalException
DesignException
UserExceptionpublic boolean castIdentical(objects.EuObject other)
castIdentical in class EuObjectother - the object being compared to the present one
EuPoint with the same coordinates.public boolean overlaps(objects.EuObject other)
castIdentical()
overlaps in class EuObjectother - the object being compared to the
present one
EuPoint with the same
coordinatespublic boolean interiorContains(fundamentals.EuVector point)
interiorContains in class EuObjectpoint - the point being compared to the present one
public boolean closureContains(fundamentals.EuVector point)
closureContains in class EuObjectpoint - the point being compared to the present one
public double distance(fundamentals.EuVector point)
distance method here.
distance in class EuObjectpoint - an EuVector value
double valuepublic double confusionDistance(objects.EuObject other)
confusionDistance in class EuObjectother - an EuObject value
public char typeName()
typeName method here.
typeName in class EuObjectpublic boolean isFull()
isFull method here.
isFull in class EuObjectpublic java.lang.String params()
params method here.
params in class EuObjectpublic java.lang.String toString()
toString method here.
toString in class EuObjectpublic void passArguments(fundamentals.EuArguments args)
passArguments method here.
passArguments in class EuObjectargs - an EuArguments value
public java.lang.String toNaturalLanguage(int language,
boolean determined)
toNaturalLanguage method here.
toNaturalLanguage in class EuObjectlanguage - an int valuedetermined - a boolean value
String valuepublic double nameDisplacementAngle(fundamentals.mouseInfo info)
nameDisplacementAngle method here.
nameDisplacementAngle in class EuObjectinfo - a mouseInfo value
double valuepublic fundamentals.EuVector nameLocation(fundamentals.mouseInfo info)
nameLocation method here.
nameLocation in class EuObjectinfo - a mouseInfo value
EuVector value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||