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 Details

  • Constructor Details

    • ALcd2DBasicBinaryTopologyMultiShape

      public ALcd2DBasicBinaryTopologyMultiShape()
  • Method Details

    • setFallBackOnBoundsWithBounds

      public void setFallBackOnBoundsWithBounds(boolean aFallBack)
      Sets the fallBackOnBoundsWithBounds attribute of the ALcd2DBasicBinaryTopologyMultiShape 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.
      Returns true 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) an IllegalArgumentException is thrown except if the method isFallBackOnBoundsWithBounds returns true .
      Specified by:
      checkTopology in interface ILcd2DBinaryTopology
      Parameters:
      aS1 - first shape
      aS2 - second shape
      aRelation - 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 is true 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.