Package com.luciad.geometry.topology
Class ALcd2DBasicBinaryTopologyMultiShape
java.lang.Object
com.luciad.geometry.topology.ALcd2DBasicBinaryTopology
com.luciad.geometry.topology.ALcd2DBasicBinaryTopologyMultiShape
- All Implemented Interfaces:
ILcd2DBinaryTopology
- Direct Known Subclasses:
TLcdCartesianBasicBinaryTopology
,TLcdEllipsoidalBasicBinaryTopology
,TLcdSphericalBasicBinaryTopology
public abstract class ALcd2DBasicBinaryTopologyMultiShape
extends ALcd2DBasicBinaryTopology
implements ILcd2DBinaryTopology
Abstract implementation of the interface
ILcd2DBinaryTopology
to handle multiple combinations of shapes.- Since:
- 1.0
-
Field Summary
Modifier and TypeFieldDescriptionprotected ILcd2DBinaryTopology
ILcdCircle
withILcdCircle
.protected ILcd2DBinaryTopology
Default basic binary topology class.protected ILcd2DBinaryTopology
ILcdPolygon
withILcdCircle
.protected ILcd2DBinaryTopology
ILcdPolygon
withILcdPolygon
.protected ILcd2DBinaryTopology
ILcdPolygon
withILcdPolyline
.protected ILcd2DBinaryTopology
ILcdPolygon
withILcdPolypoint
.protected ILcd2DBinaryTopology
ILcdPolyline
withILcdCircle
.protected ILcd2DBinaryTopology
ILcdPolyline
withILcdPolyline
.protected ILcd2DBinaryTopology
ILcdPolyline
withILcdPolypoint
.protected ILcd2DBinaryTopology
ILcdPolypoint
withILcdCircle
.protected ILcd2DBinaryTopology
ILcdPolypoint
withILcdPolypoint
.protected ILcd2DBinaryTopology
ILcdShape
withILcdBounds
.protected ILcd2DBinaryTopology
ILcdShape
withILcdPoint
.protected ILcd2DBinaryTopology
ILcdBounds
withILcdBounds
.Fields inherited from interface com.luciad.geometry.topology.ILcd2DBinaryTopology
CONTAIN, INSIDE, INTERACT, LINE_INTERSECT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkTopology
(ILcdShape aS1, ILcdShape aS2, int aRelation) If no implementation is found for the object pair(aS1,aS2)
anIllegalArgumentException
is thrown except if the methodisFallBackOnBoundsWithBounds
returns true .boolean
Gets the fallBackOnBoundsWithBounds attribute of the ALcd2DBasicBinaryTopologyMultiShape object.boolean
Deprecated.This method has been deprecated.static void
setClassTraceOn
(boolean aClassTraceOn) Deprecated.This method has been deprecated.void
setFallBackOnBoundsWithBounds
(boolean aFallBack) Sets the fallBackOnBoundsWithBounds attribute of theALcd2DBasicBinaryTopologyMultiShape
object.Methods inherited from class com.luciad.geometry.topology.ALcd2DBasicBinaryTopology
symRel
-
Field Details
-
fBTDefault
Default basic binary topology class. -
fBTSRSR
ILcdBounds
withILcdBounds
. -
fBTShapePoint
ILcdShape
withILcdPoint
. -
fBTShapeBounds
ILcdShape
withILcdBounds
. -
fBTCircleCircle
ILcdCircle
withILcdCircle
. -
fBTPolygonPolygon
ILcdPolygon
withILcdPolygon
. -
fBTPolygonPolyline
ILcdPolygon
withILcdPolyline
. -
fBTPolygonPolypoint
ILcdPolygon
withILcdPolypoint
. -
fBTPolygonCircle
ILcdPolygon
withILcdCircle
. -
fBTPolylinePolyline
ILcdPolyline
withILcdPolyline
. -
fBTPolylinePolypoint
ILcdPolyline
withILcdPolypoint
. -
fBTPolylineCircle
ILcdPolyline
withILcdCircle
. -
fBTPolypointPolypoint
ILcdPolypoint
withILcdPolypoint
. -
fBTPolypointCircle
ILcdPolypoint
withILcdCircle
.
-
-
Constructor Details
-
ALcd2DBasicBinaryTopologyMultiShape
public ALcd2DBasicBinaryTopologyMultiShape()
-
-
Method Details
-
setFallBackOnBoundsWithBounds
public void setFallBackOnBoundsWithBounds(boolean aFallBack) Sets the fallBackOnBoundsWithBounds attribute of theALcd2DBasicBinaryTopologyMultiShape
object.- Parameters:
aFallBack
- The new fallBackOnBoundsWithBounds value.
-
isTraceOn
public boolean isTraceOn()Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Returnstrue
if tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
isFallBackOnBoundsWithBounds
public boolean isFallBackOnBoundsWithBounds()Gets the fallBackOnBoundsWithBounds attribute of the ALcd2DBasicBinaryTopologyMultiShape object.- Returns:
- The fallBackOnBoundsWithBounds value.
-
checkTopology
public boolean checkTopology(ILcdShape aS1, ILcdShape aS2, int aRelation) throws IllegalArgumentException If no implementation is found for the object pair(aS1,aS2)
anIllegalArgumentException
is thrown except if the methodisFallBackOnBoundsWithBounds
returns true .- Specified by:
checkTopology
in interfaceILcd2DBinaryTopology
- Parameters:
aS1
- first shapeaS2
- second shapeaRelation
- a relation to be checked upon- Returns:
- whether the relation
aRelation
holds between the two shapes. - Throws:
IllegalArgumentException
- if no specific implementation is known for the two shapes, that is, when the combination of the two given shapes is not supported.
-
setClassTraceOn
public static void setClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for all instances of this class. If the argument istrue
then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.- Parameters:
aClassTraceOn
- if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
-