Class GeometryLocation
- java.lang.Object
-
- com.vividsolutions.jtstest.testbuilder.geom.GeometryLocation
-
public class GeometryLocation extends java.lang.ObjectModels the location of a point on a Geometry- Author:
- Martin Davis
-
-
Constructor Summary
Constructors Constructor Description GeometryLocation(Geometry parent, Geometry component, int[] componentPath)GeometryLocation(Geometry parent, Geometry component, int[] componentPath, int segmentIndex, boolean isVertex, Coordinate pt)GeometryLocation(Geometry parent, Geometry component, int segmentIndex, boolean isVertex, Coordinate pt)GeometryLocation(Geometry parent, Geometry component, int index, Coordinate pt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Geometrydelete()GeometrygetComponent()CoordinategetCoordinate()doublegetLength()Geometryinsert()booleanisVertex()java.lang.StringpathString()java.lang.StringtoFacetString()java.lang.StringtoString()
-
-
-
Constructor Detail
-
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 Detail
-
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 java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
pathString
public java.lang.String pathString()
-
toFacetString
public java.lang.String toFacetString()
-
-