|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--objects.EuObject
|
+--objects.EuParametrized
|
+--objects.EuLine
|
+--objects.EuHalf
An instance of this class represents a half-line,
represented as a line using EuLine, along with an endpoint and
a direction.
| Field Summary | |
fundamentals.EuReal |
inParameter
The parameter at which the half-line begins. |
| Fields inherited from class objects.EuLine |
generator |
| Fields inherited from class objects.EuParametrized |
anchor |
| Fields inherited from class objects.EuObject |
infoHash, provenience, scaledown |
| Constructor Summary | |
EuHalf()
Contructor for dummy object |
|
EuHalf(double x,
double y,
double deltax,
double deltay,
double t,
int direction)
The constructor does initialization. |
|
EuHalf(objects.EuPoint p1,
objects.EuPoint p2)
The halfline is instantiated through the two given points, with p1 as endpoint |
|
| Method Summary | |
fundamentals.EuVector |
anInnerPoint()
Describe anInnerPoint method here. |
fundamentals.EuVector |
atEnd()
Describe atEnd method here. |
boolean |
castIdentical(objects.EuObject other)
See if passed object can be cast to the present one. |
double |
closestParameter(double x,
double y)
Find the parameter value which yields the closest point to a given one. |
objects.plotCollection |
computeClip(fundamentals.mouseInfo info)
Compute the visible portion of the object as a collection of arcs, intervals or points. |
int |
getDirection()
Describe getDirection method here. |
boolean |
interiorContains(fundamentals.EuVector point)
See if passed point lies inside the half-line. |
protected fundamentals.EuVector |
invisibleRandomPoint(fundamentals.mouseInfo info,
java.util.Random croupier)
Chooses a sensible point on the half line when the half line is invisible. |
boolean |
isFull()
Describe isFull method here. |
boolean |
overlaps(objects.EuObject other)
See if objects overlap. |
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.EuLine |
atParameter, cloneMe, closestParameterOnLine, confusionDistance, nameDisplacementAngle, nameParameter, onSameLine, superIdentical |
| Methods inherited from class objects.EuParametrized |
atParameter, atParameter, closestParameter, closureContains, distance, 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 inParameter
| Constructor Detail |
public EuHalf(double x,
double y,
double deltax,
double deltay,
double t,
int direction)
throws DesignException,
UserException
x - the first coordinate of anchory - the second coordinate of anchordeltax - the first coordinate of generatordeltay - the second coordinate of generatort - the parameter of the endpointdirection - the direction (direction)
DesignException - if an error occurs
UserException - if an error occurspublic EuHalf()
public EuHalf(objects.EuPoint p1,
objects.EuPoint p2)
throws UserException
p1 - an EuPoint valuep2 - an EuPoint value
UserException - if an error occurs| Method Detail |
public fundamentals.EuVector atEnd()
atEnd method here.
public objects.plotCollection computeClip(fundamentals.mouseInfo info)
throws UserException
computeClip in class EuLineinfo - information used in scaling and positioning the object
plotCollection value
UserException - if an error occurs
protected fundamentals.EuVector invisibleRandomPoint(fundamentals.mouseInfo info,
java.util.Random croupier)
invisibleRandomPoint in class EuLineinfo - a mouseInfo valuecroupier - a Random value
EuVector valuepublic fundamentals.EuVector anInnerPoint()
anInnerPoint method here.
EuVector valuepublic boolean castIdentical(objects.EuObject other)
castIdentical in class EuLineother - an EuObject value
EuLine which is
identical to this one @param other the object being compared to
the present one
public double closestParameter(double x,
double y)
closestParameter in class EuLinex - The first coordinate of the given pointy - The second coordinate of the given point
public boolean overlaps(objects.EuObject other)
overlaps in class EuLineother - an EuObject value
EuLine, EuHalf or
EuInterval which overlaps with this one @param other the
object being compared to the present onepublic boolean interiorContains(fundamentals.EuVector point)
interiorContains in class EuParametrizedpoint - an EuVector value
public char typeName()
typeName method here.
typeName in class EuLinepublic boolean isFull()
isFull method here.
isFull in class EuLinepublic int getDirection()
getDirection method here.
int valuepublic java.lang.String params()
params method here.
params in class EuLinepublic java.lang.String toString()
toString method here.
toString in class EuLinepublic void passArguments(fundamentals.EuArguments args)
passArguments method here.
passArguments in class EuLineargs - an EuArguments value
public java.lang.String toNaturalLanguage(int language,
boolean determined)
toNaturalLanguage method here.
toNaturalLanguage in class EuLinelanguage - an int valuedetermined - a boolean value
String value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||