public class GeometryEditModel extends Object
TestCaseEdit
.Constructor and Description |
---|
GeometryEditModel() |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(List coordList)
Adds a geometry component of the currently selected type,
to the currently selected geometry.
|
void |
addGeometryListener(GeometryListener l) |
void |
clear() |
void |
clear(int i) |
Coordinate[] |
findAdjacentVertices(Coordinate vertex) |
void |
fireGeometryChanged(GeometryEvent e) |
void |
geomChanged() |
Envelope |
getEnvelope() |
Envelope |
getEnvelopeAll() |
Envelope |
getEnvelopeResult() |
Geometry |
getGeometry() |
Geometry |
getGeometry(int i) |
int |
getGeometryType() |
int |
getGeomIndex() |
Geometry |
getResult() |
static String |
getText(Geometry geom,
int textType) |
String |
getText(int textType) |
boolean |
isReadOnly() |
GeometryLocation |
locateNonVertexPoint(Coordinate testPt,
double tolerance)
Locates a non-vertex point on a line segment of the current geometry
within the given tolerance, if any.
|
GeometryLocation |
locateVertex(Coordinate testPt,
double tolerance)
Locates a vertex of the current geometry
within the given tolerance, if any.
|
Coordinate |
locateVertexPt(Coordinate testPt,
double tolerance) |
void |
moveVertex(Coordinate fromLoc,
Coordinate toLoc) |
void |
removeGeometryListener(GeometryListener l) |
void |
setEditGeomIndex(int index) |
void |
setGeometry(Geometry g) |
void |
setGeometry(int i,
Geometry g) |
void |
setGeometryType(int geomType) |
void |
setReadOnly(boolean readOnly) |
void |
setTestCase(TestCaseEdit testCase) |
static String |
toStringVeryLarge(Geometry g) |
public Envelope getEnvelope()
public Envelope getEnvelopeAll()
public Envelope getEnvelopeResult()
public int getGeomIndex()
public void setEditGeomIndex(int index)
public boolean isReadOnly()
public void clear()
public int getGeometryType()
public void setGeometryType(int geomType)
public void setReadOnly(boolean readOnly)
public String getText(int textType)
public Geometry getResult()
public Geometry getGeometry()
public Geometry getGeometry(int i)
public void setTestCase(TestCaseEdit testCase)
public void setGeometry(Geometry g)
public void setGeometry(int i, Geometry g)
public void clear(int i)
public void addComponent(List coordList)
coordList
- public Coordinate[] findAdjacentVertices(Coordinate vertex)
public GeometryLocation locateNonVertexPoint(Coordinate testPt, double tolerance)
testPt
- tolerance
- public GeometryLocation locateVertex(Coordinate testPt, double tolerance)
testPt
- tolerance
- public Coordinate locateVertexPt(Coordinate testPt, double tolerance)
public void moveVertex(Coordinate fromLoc, Coordinate toLoc)
public void geomChanged()
public void removeGeometryListener(GeometryListener l)
public void addGeometryListener(GeometryListener l)
public void fireGeometryChanged(GeometryEvent e)
Copyright © 2021. All rights reserved.