Class LayerTinfour

    • Field Detail

      • dumpFolder

        public String dumpFolder
    • Constructor Detail

      • LayerTinfour

        public LayerTinfour()
    • Method Detail

      • getDumpFolder

        public String getDumpFolder()
        Returns:
        When an exception occur, this folder with receiver the input data
      • setDumpFolder

        public void setDumpFolder​(String dumpFolder)
        Parameters:
        dumpFolder - When an exception occur, this folder with receiver the input data
      • getEpsilon

        public double getEpsilon()
        Returns:
        Merge vertices closer than specified epsilon
      • setEpsilon

        public void setEpsilon​(double epsilon)
        Parameters:
        epsilon - Merge vertices closer than specified epsilon
      • dumpData

        public void dumpData()
      • setMinAngle

        public void setMinAngle​(Double minAngle)
        Description copied from interface: LayerDelaunay
        Set the minimum angle, if you wish to enforce the quality of the delaunay Call processDelauney after to take account of this method.
        Specified by:
        setMinAngle in interface LayerDelaunay
        Parameters:
        minAngle - Minimum angle in radiant
      • hintInit

        public void hintInit​(org.locationtech.jts.geom.Envelope bBox,
                             long polygonCount,
                             long verticesCount)
                      throws LayerDelaunayError
        Description copied from interface: LayerDelaunay
        This optional method give an hint of the size of the delaunay process. Call this method before the first call of addPolygon This method is used only for optimization.
        Specified by:
        hintInit in interface LayerDelaunay
        Parameters:
        bBox - Bounding box of the delaunay mesh
        polygonCount - Size of the polygon count
        Throws:
        LayerDelaunayError
      • addVertex

        public void addVertex​(org.locationtech.jts.geom.Coordinate vertexCoordinate)
                       throws LayerDelaunayError
        Append a vertex into the triangulation
        Specified by:
        addVertex in interface LayerDelaunay
        Parameters:
        vertexCoordinate - coordinate of the new vertex
        Throws:
        LayerDelaunayError
      • addLineString

        public void addLineString​(org.locationtech.jts.geom.LineString lineToProcess,
                                  int buildingID)
                           throws LayerDelaunayError
        Append a LineString into the triangulation
        Specified by:
        addLineString in interface LayerDelaunay
        Parameters:
        buildingID - Associated ID building that will be available on points
        Throws:
        LayerDelaunayError
      • reset

        public void reset()
        Description copied from interface: LayerDelaunay
        Remove all data, come back to the constructor state
        Specified by:
        reset in interface LayerDelaunay
      • setRetrieveNeighbors

        public void setRetrieveNeighbors​(boolean retrieve)
        Enable or Disable the collecting of triangles neighboring data.
        Specified by:
        setRetrieveNeighbors in interface LayerDelaunay
        Parameters:
        retrieve -