Package com.luciad.geometry.topology
Class ALcd2DBasicBinaryTopology
java.lang.Object
com.luciad.geometry.topology.ALcd2DBasicBinaryTopology
- All Implemented Interfaces:
ILcd2DBinaryTopology
- Direct Known Subclasses:
ALcd2DBasicBinaryTopologyMultiShape
Abstract implementation of the interface
ILcd2DBinaryTopology
.- Since:
- 1.0
-
Field Summary
Fields inherited from interface com.luciad.geometry.topology.ILcd2DBinaryTopology
CONTAIN, INSIDE, INTERACT, LINE_INTERSECT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
symRel
(int aRelation) Returns the symmetrical relation of a given binary topology relation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.geometry.topology.ILcd2DBinaryTopology
checkTopology
-
Constructor Details
-
ALcd2DBasicBinaryTopology
public ALcd2DBasicBinaryTopology()
-
-
Method Details
-
symRel
Returns the symmetrical relation of a given binary topology relation. Relations R1 and R2 are considered symmetrical if R1 applied to (aS1, aS2) equals R2 applied to (aS2, aS1). For the given operation:- symRel(INTERACT) == INTERACT
- symRel(CONTAINS) == INSIDE
- symRel(INSIDE) == CONTAINS
- symRel(LINE_INTERSECTS) == LINE_INTERSECTS
- Parameters:
aRelation
- binary topology relation.- Returns:
- the symmetrical binary topology relation.
- Throws:
IllegalArgumentException
- if the symmetrical relation is not known.
-