Class GeometryLocation

java.lang.Object
org.locationtech.jtstest.testbuilder.geom.GeometryLocation

public class GeometryLocation extends Object
Models the location of a point on a Geometry
Author:
Martin Davis
  • Constructor Details

    • GeometryLocation

      public GeometryLocation(Geometry parent, Geometry component, int[] componentPath)
    • GeometryLocation

      public GeometryLocation(Geometry parent, Geometry component, int index, Coordinate pt)
    • GeometryLocation

      public GeometryLocation(Geometry parent, Geometry component, int segmentIndex, boolean isVertex, Coordinate pt)
    • GeometryLocation

      public GeometryLocation(Geometry parent, Geometry component, int[] componentPath, int segmentIndex, boolean isVertex, Coordinate pt)
  • Method Details

    • getComponent

      public Geometry getComponent()
    • getCoordinate

      public Coordinate getCoordinate()
    • isVertex

      public boolean isVertex()
    • insert

      public Geometry insert()
    • delete

      public Geometry delete()
    • getLength

      public double getLength()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • pathString

      public String pathString()
    • toFacetString

      public String toFacetString()