Skip navigation links
com.vividsolutions.jts.operation.relate

Class RelateOp

    • Constructor Detail

      • RelateOp

        public RelateOp(Geometry g0,
                        Geometry g1)
        Creates a new Relate operation, using the default (OGC SFS) Boundary Node Rule.
        Parameters:
        g0 - a Geometry to relate
        g1 - another Geometry to relate
      • RelateOp

        public RelateOp(Geometry g0,
                        Geometry g1,
                        BoundaryNodeRule boundaryNodeRule)
        Creates a new Relate operation with a specified Boundary Node Rule.
        Parameters:
        g0 - a Geometry to relate
        g1 - another Geometry to relate
        boundaryNodeRule - the Boundary Node Rule to use
    • Method Detail

      • relate

        public static IntersectionMatrix relate(Geometry a,
                                                Geometry b)
        Computes the IntersectionMatrix for the spatial relationship between two Geometrys, using the default (OGC SFS) Boundary Node Rule
        Parameters:
        a - a Geometry to test
        b - a Geometry to test
        Returns:
        the IntersectonMatrix for the spatial relationship between the geometries
      • relate

        public static IntersectionMatrix relate(Geometry a,
                                                Geometry b,
                                                BoundaryNodeRule boundaryNodeRule)
        Computes the IntersectionMatrix for the spatial relationship between two Geometrys using a specified Boundary Node Rule.
        Parameters:
        a - a Geometry to test
        b - a Geometry to test
        boundaryNodeRule - the Boundary Node Rule to use
        Returns:
        the IntersectonMatrix for the spatial relationship between the input geometries
      • getIntersectionMatrix

        public IntersectionMatrix getIntersectionMatrix()
        Gets the IntersectionMatrix for the spatial relationship between the input geometries.
        Returns:
        the IntersectonMatrix for the spatial relationship between the input geometries

Copyright © 2016. All rights reserved.