|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gishur.x2.core.XObject | +--gishur.x2.core.XIntersectableObject
Fields inherited from class gishur.x2.core.XObject |
RESERVED_STATE_MAX_MASK, STATE_DIRTY, STATE_LOCKED, STATE_MUTABLE |
Fields inherited from interface gishur.x2.core.Intersectable |
FACES, POINT_INSIDE, POINT_ON_BORDER, POINT_OUTSIDE, POINTS, POINTS_CURVES |
Fields inherited from interface gishur.core.geom.Intersectable |
DEFAULT |
Constructor Summary | |
XIntersectableObject()
|
Method Summary | |
boolean |
contains(double x,
double y)
Returns true, if the planar object contains the point (x,y), i.e. the intersection with that point is not empty. |
boolean |
contains(XPoint p)
Returns true, if the planar object contains the point p, i.e. the intersection with that point is not empty. |
boolean |
liesOn(XPoint p)
Returns true if the specified point p lies on the border of
this object. |
Methods inherited from class gishur.x2.core.XObject |
checkState, checkStateCleared, clearDirty, clearState, clone, copy, dirty, getMutable, getOldXObject, getXObjectMembers, inverseTransform, lock, locked, makeImmutable, makeMutable, modify, mutable, restoreMutability, rotate, scale, setState, state, state, toString_complete, toString_state, toString, transform, transform, translate, translate, unlock |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface gishur.x2.core.Intersectable |
locate |
Methods inherited from interface gishur.core.geom.Intersectable |
intersection, supportIntersection |
Constructor Detail |
public XIntersectableObject()
Method Detail |
public boolean contains(double x, double y)
contains
in interface Intersectable
x,y
- X/Ý-coordinates of the pointpublic boolean contains(XPoint p)
contains
in interface Intersectable
p
- the pointGeomException
- p
is null
public boolean liesOn(XPoint p)
p
lies on the border of
this
object.liesOn
in interface Intersectable
p
- test pointp
lies on the border of this object.GeomException
- p
is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |