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
FieldsModifier and TypeFieldDescriptionprotected ILcd2DBinaryTopologyILcdCirclewithILcdCircle.protected ILcd2DBinaryTopologyDefault basic binary topology class.protected ILcd2DBinaryTopologyILcdPolygonwithILcdCircle.protected ILcd2DBinaryTopologyILcdPolygonwithILcdPolygon.protected ILcd2DBinaryTopologyILcdPolygonwithILcdPolyline.protected ILcd2DBinaryTopologyILcdPolygonwithILcdPolypoint.protected ILcd2DBinaryTopologyILcdPolylinewithILcdCircle.protected ILcd2DBinaryTopologyILcdPolylinewithILcdPolyline.protected ILcd2DBinaryTopologyILcdPolylinewithILcdPolypoint.protected ILcd2DBinaryTopologyILcdPolypointwithILcdCircle.protected ILcd2DBinaryTopologyILcdPolypointwithILcdPolypoint.protected ILcd2DBinaryTopologyILcdShapewithILcdBounds.protected ILcd2DBinaryTopologyILcdShapewithILcdPoint.protected ILcd2DBinaryTopologyILcdBoundswithILcdBounds.Fields inherited from interface com.luciad.geometry.topology.ILcd2DBinaryTopology
CONTAIN, INSIDE, INTERACT, LINE_INTERSECT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckTopology(ILcdShape aS1, ILcdShape aS2, int aRelation) If no implementation is found for the object pair(aS1,aS2)anIllegalArgumentExceptionis thrown except if the methodisFallBackOnBoundsWithBoundsreturns true .booleanGets the fallBackOnBoundsWithBounds attribute of the ALcd2DBasicBinaryTopologyMultiShape object.booleanDeprecated.This method has been deprecated.static voidsetClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated.voidsetFallBackOnBoundsWithBounds(boolean aFallBack) Sets the fallBackOnBoundsWithBounds attribute of theALcd2DBasicBinaryTopologyMultiShapeobject.Methods inherited from class com.luciad.geometry.topology.ALcd2DBasicBinaryTopology
symRel
-
Field Details
-
fBTDefault
Default basic binary topology class. -
fBTSRSR
ILcdBoundswithILcdBounds. -
fBTShapePoint
ILcdShapewithILcdPoint. -
fBTShapeBounds
ILcdShapewithILcdBounds. -
fBTCircleCircle
ILcdCirclewithILcdCircle. -
fBTPolygonPolygon
ILcdPolygonwithILcdPolygon. -
fBTPolygonPolyline
ILcdPolygonwithILcdPolyline. -
fBTPolygonPolypoint
ILcdPolygonwithILcdPolypoint. -
fBTPolygonCircle
ILcdPolygonwithILcdCircle. -
fBTPolylinePolyline
ILcdPolylinewithILcdPolyline. -
fBTPolylinePolypoint
ILcdPolylinewithILcdPolypoint. -
fBTPolylineCircle
ILcdPolylinewithILcdCircle. -
fBTPolypointPolypoint
ILcdPolypointwithILcdPolypoint. -
fBTPolypointCircle
ILcdPolypointwithILcdCircle.
-
-
Constructor Details
-
ALcd2DBasicBinaryTopologyMultiShape
public ALcd2DBasicBinaryTopologyMultiShape()
-
-
Method Details
-
setFallBackOnBoundsWithBounds
public void setFallBackOnBoundsWithBounds(boolean aFallBack) Sets the fallBackOnBoundsWithBounds attribute of theALcd2DBasicBinaryTopologyMultiShapeobject.- 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.Returnstrueif 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)anIllegalArgumentExceptionis thrown except if the methodisFallBackOnBoundsWithBoundsreturns true .- Specified by:
checkTopologyin interfaceILcd2DBinaryTopology- Parameters:
aS1- first shapeaS2- second shapeaRelation- a relation to be checked upon- Returns:
- whether the relation
aRelationholds 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 istruethen 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.
-