Class ALcd2DBasicBinaryTopology

java.lang.Object
com.luciad.geometry.topology.ALcd2DBasicBinaryTopology
All Implemented Interfaces:
ILcd2DBinaryTopology
Direct Known Subclasses:
ALcd2DBasicBinaryTopologyMultiShape

public abstract class ALcd2DBasicBinaryTopology extends Object implements ILcd2DBinaryTopology
Abstract implementation of the interface ILcd2DBinaryTopology.
Since:
1.0
  • Constructor Details

    • ALcd2DBasicBinaryTopology

      public ALcd2DBasicBinaryTopology()
  • Method Details

    • symRel

      public static int symRel(int aRelation) throws IllegalArgumentException
      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.