|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjts.RCC9Matrix
public class RCC9Matrix
Class for determining the RCC9 relation between two objects.
Field Summary | |
---|---|
private boolean |
equivalent
specifies if the objects are equivalent |
private IntersectionMatrix |
matrix
the Egenhofer9IM matrix |
Constructor Summary | |
---|---|
RCC9Matrix(Geometry g1,
Geometry g2)
Constructs an RCC9 matrix without the equivalence property. |
|
RCC9Matrix(Geometry g1,
Geometry g2,
double precision)
Constructs an RCC9 matrix. |
Method Summary | |
---|---|
boolean |
DC()
Returns true if the objects are disjoint. |
boolean |
EC()
Returns true if the objects are externally connected. |
boolean |
EQ()
Returns true if the objects are equal. |
boolean |
equivalent()
Returns true if the objects are equivalent. |
java.lang.String |
getRCC5Relation()
Getsh the RCC5 relation between the objects. |
java.lang.String |
getRCC8Relation()
Getsh the RCC8 relation between the objects. |
java.lang.String |
getRelation()
Getsh the RCC9 relation between the objects. |
boolean |
NTPP()
Returns true if the first object contains the second object and the object are not tangentialy connected. |
boolean |
NTPPi()
Returns true if the second object contains the first object and the object are not tangentialy connected. |
boolean |
PO()
Returns true if the objects are partially overlapping. |
private boolean |
tangentialyConnected()
Returns true if the objects are tangentialy connected. |
boolean |
TPP()
Returns true if the first object contains the second object and the object are tangentialy connected. |
boolean |
TPPi()
Returns true if the second object contains the first object and the object are tangentialy connected. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private IntersectionMatrix matrix
private boolean equivalent
Constructor Detail |
---|
public RCC9Matrix(Geometry g1, Geometry g2)
g1
- - the first geometryg2
- - the second geometrypublic RCC9Matrix(Geometry g1, Geometry g2, double precision)
g1
- - the first geometryg2
- - the second geometryprecision
- - the precision used for determining equivalenceMethod Detail |
---|
private boolean tangentialyConnected()
public boolean equivalent()
public boolean DC()
public boolean EC()
public boolean PO()
public boolean EQ()
public boolean TPP()
public boolean TPPi()
public boolean NTPP()
public boolean NTPPi()
public java.lang.String getRelation()
public java.lang.String getRCC8Relation()
public java.lang.String getRCC5Relation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |