|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--objects.EuObject | +--objects.EuParametrized
An instance of this class represents a point, represented as a cartesian pair.
Field Summary | |
fundamentals.EuVector |
anchor
An anchor point on the object, corresponds to parameter 0 |
Fields inherited from class objects.EuObject |
infoHash, provenience, scaledown |
Constructor Summary | |
EuParametrized()
Contructor for dummy object |
|
EuParametrized(double x,
double y)
Creates a new EuParametrized instance. |
|
EuParametrized(fundamentals.EuVector anchor)
Creates a new EuParametrized instance. |
Method Summary | |
abstract fundamentals.EuVector |
atParameter(double t)
Returns the cartesian coordinates at the parameter in the internal representation of the object. |
fundamentals.EuVector |
atParameter(fundamentals.EuAngle t)
Return in a EuVector the coordinates of a point on the
circle at a given angle. |
fundamentals.EuVector |
atParameter(fundamentals.EuReal t)
Returns the cartesian coordinates at the parameter in the internal representation of the object |
abstract double |
closestParameter(double x,
double y)
Returns the parameter of the point on the object closest to a specified point, |
double |
closestParameter(fundamentals.EuVector point)
Returns the parameter of the point on the object closest to a specified point, |
boolean |
closureContains(fundamentals.EuVector point)
See if passed point lies on the object. |
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. |
boolean |
interiorContains(fundamentals.EuVector point)
See if passed point lies in the interior of the object. |
protected abstract fundamentals.EuVector |
invisibleRandomPoint(fundamentals.mouseInfo info,
java.util.Random croupier)
Describe invisibleRandomPoint method here. |
protected boolean |
matchingPair(fundamentals.EuVector a,
fundamentals.EuVector b,
fundamentals.EuVector c,
fundamentals.EuVector d)
Describe matchingPair method here. |
fundamentals.EuVector |
nameLocation(fundamentals.mouseInfo info)
Describe nameLocation method here. |
protected abstract double |
nameParameter(fundamentals.mouseInfo info)
Describe nameParameter method here. |
java.lang.String |
params()
Describe params method here. |
void |
passArguments(fundamentals.EuArguments args)
Read off parameters describing the object and add to passed EuArguments instance |
fundamentals.EuVector |
randomPoint(fundamentals.mouseInfo info,
java.util.Random croupier)
Describe randomPoint method here. |
Methods inherited from class objects.EuObject |
castIdentical, cloneObject, computeClip, draw, equals, getClip, isFull, isVisible, mouseVicinity, mouseVicinity, nameDisplacementAngle, overlaps, toNaturalLanguage, toPs, toString, typeName |
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 EuParametrized(fundamentals.EuVector anchor) throws UserException
EuParametrized
instance.
anchor
- an EuVector
value
UserException
- if an error occurspublic EuParametrized(double x, double y) throws UserException
EuParametrized
instance.
x
- a double
valuey
- a double
value
UserException
- if an error occurspublic EuParametrized()
Method Detail |
public abstract fundamentals.EuVector atParameter(double t)
t
- a double
value
public fundamentals.EuVector atParameter(fundamentals.EuReal t)
t
- the
parameter
public fundamentals.EuVector atParameter(fundamentals.EuAngle t)
EuVector
the coordinates of a point on the
circle at a given angle.
t
- the parameter
public boolean interiorContains(fundamentals.EuVector point)
interiorContains
in class EuObject
point
- an EuVector
value
public boolean closureContains(fundamentals.EuVector point)
closureContains
in class EuObject
point
- an EuVector
value
public double distance(fundamentals.EuVector point)
distance
method here.
distance
in class EuObject
point
- an EuVector
value
double
valuepublic abstract double closestParameter(double x, double y)
x
- a double
valuey
- a double
value
public double closestParameter(fundamentals.EuVector point)
point
- the point
public double confusionDistance(objects.EuObject other)
confusionDistance
in class EuObject
other
- an EuObject
value
protected boolean matchingPair(fundamentals.EuVector a, fundamentals.EuVector b, fundamentals.EuVector c, fundamentals.EuVector d)
matchingPair
method here.
a
- an EuVector
valueb
- an EuVector
valuec
- an EuVector
valued
- an EuVector
value
boolean
valuepublic java.lang.String params()
params
method here.
params
in class EuObject
protected abstract fundamentals.EuVector invisibleRandomPoint(fundamentals.mouseInfo info, java.util.Random croupier) throws UserException
invisibleRandomPoint
method here.
info
- a mouseInfo
valuecroupier
- a Random
value
EuVector
value
UserException
- if an error occurspublic fundamentals.EuVector randomPoint(fundamentals.mouseInfo info, java.util.Random croupier) throws InternalException, UserException, DesignException
randomPoint
method here.
info
- a mouseInfo
valuecroupier
- a Random
value
EuVector
value
InternalException
- if an error occurs
UserException
- if an error occurs
DesignException
public void passArguments(fundamentals.EuArguments args)
passArguments
in class EuObject
args
- an EuArguments
valueprotected abstract double nameParameter(fundamentals.mouseInfo info)
nameParameter
method here.
info
- a mouseInfo
value
double
valuepublic fundamentals.EuVector nameLocation(fundamentals.mouseInfo info)
nameLocation
method here.
nameLocation
in class EuObject
info
- a mouseInfo
value
EuVector
value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |