|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--objects.EuObject
|
+--objects.EuParametrized
|
+--objects.EuCircle
An instance of this class represents a circle, represented as a cartesian pair and a radius.
| Field Summary | |
boolean |
degenerate
Describe variable degenerate here. |
fundamentals.EuReal |
radius
The radius. |
| Fields inherited from class objects.EuParametrized |
anchor |
| Fields inherited from class objects.EuObject |
infoHash, provenience, scaledown |
| Constructor Summary | |
EuCircle()
Contructor for dummy object |
|
EuCircle(double x,
double y,
double r)
This constructor does instantiates from parameters. |
|
EuCircle(objects.EuCircle other)
Creates a new EuCircle instance. |
|
EuCircle(objects.EuPoint p,
objects.EuRadius r)
The circle is instantiated with center in the given point and with the given radius |
|
| Method Summary | |
fundamentals.EuVector |
atParameter(double t)
Return in a @see EuVector the coordinates of a point on the circle at a given angle. |
boolean |
castIdentical(objects.EuObject other)
See if passed object can be cast to the present one. |
objects.EuCircle |
cloneMe()
Describe cloneMe method here. |
double |
closestParameter(double x,
double y)
Find the parameter value which yields the closest point to a given one. |
double |
closestParameterOnCircle(double x,
double y)
Describe closestParameterOnCircle method here. |
boolean |
closureContainsObject(objects.EuObject other)
Describe closureContainsObject method here. |
objects.plotCollection |
computeClip(fundamentals.mouseInfo info)
Compute 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. |
protected fundamentals.EuVector |
invisibleRandomPoint(fundamentals.mouseInfo info,
java.util.Random croupier)
Chooses a sensible point on the circle when the circle is invisible. |
boolean |
isFull()
Describe isFull method here. |
double |
nameDisplacementAngle(fundamentals.mouseInfo info)
Describe nameDisplacementAngle method here. |
double |
nameParameter(fundamentals.mouseInfo info)
Describe nameParameter method here. |
protected boolean |
onSameCircle(objects.EuCircle other)
Describe onSameCircle method here. |
boolean |
overlaps(objects.EuObject other)
Acts identically to @see castIdentical() |
java.lang.String |
params()
Describe params method here. |
void |
passArguments(fundamentals.EuArguments args)
Describe passArguments method here. |
boolean |
superIdentical(objects.EuObject other)
See if passed object can be cast to the present one. |
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.EuParametrized |
atParameter, atParameter, closestParameter, closureContains, distance, interiorContains, matchingPair, nameLocation, randomPoint |
| 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.EuReal radius
public boolean degenerate
degenerate here.
| Constructor Detail |
public EuCircle(double x,
double y,
double r)
throws DesignException,
UserException
x - the first coordinate of anchory - the second coordinate of anchorr - the radius
DesignException - if an error occurs
UserException - if an error occurspublic EuCircle(objects.EuCircle other)
EuCircle instance.
other - an EuCircle valuepublic EuCircle()
public EuCircle(objects.EuPoint p,
objects.EuRadius r)
p - an EuPoint valuer - an EuRadius value| Method Detail |
public fundamentals.EuVector atParameter(double t)
atParameter in class EuParametrizedt - a double value
public double closestParameter(double x,
double y)
closestParameter in class EuParametrizedx - the first coordinate of the pointy - the second coordinate of the point
public double closestParameterOnCircle(double x,
double y)
closestParameterOnCircle method here.
x - a double valuey - a double value
double value
public objects.plotCollection computeClip(fundamentals.mouseInfo info)
throws InternalException,
DesignException,
UserException
computeClip in class EuObjectinfo - information used in scaling and positioning the object
plotCollection value
InternalException - if an error occurs
DesignException - if an error occurs
UserException - if an error occurs
protected fundamentals.EuVector invisibleRandomPoint(fundamentals.mouseInfo info,
java.util.Random croupier)
throws UserException
invisibleRandomPoint in class EuParametrizedinfo - a mouseInfo valuecroupier - a Random value
EuVector value
UserException - if an error occursprotected boolean onSameCircle(objects.EuCircle other)
onSameCircle method here.
other - an EuCircle value
boolean valuepublic boolean castIdentical(objects.EuObject other)
castIdentical in class EuObjectother - the object being compared to the present one
public boolean superIdentical(objects.EuObject other)
other - an EuObject value
which is a subset of this one @param other the
object being compared to the present onepublic boolean overlaps(objects.EuObject other)
overlaps in class EuObjectother - the object being compared to the present one
public boolean closureContainsObject(objects.EuObject other)
closureContainsObject method here.
other - the other object being compared to the present
circle
public double confusionDistance(objects.EuObject other)
confusionDistance in class EuParametrizedother - 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 EuParametrizedpublic java.lang.String toString()
toString method here.
toString in class EuObjectpublic objects.EuCircle cloneMe()
cloneMe method here.
EuCircle valuepublic void passArguments(fundamentals.EuArguments args)
passArguments method here.
passArguments in class EuParametrizedargs - 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 nameParameter(fundamentals.mouseInfo info)
nameParameter method here.
nameParameter in class EuParametrizedinfo - a mouseInfo value
double valuepublic double nameDisplacementAngle(fundamentals.mouseInfo info)
nameDisplacementAngle method here.
nameDisplacementAngle in class EuObjectinfo - a mouseInfo value
double value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||