| java.lang.Object net.refractions.udig.tools.edit.support.EditGeom
EditGeom | public class EditGeom implements Iterable<PrimitiveShape>(Code) | | Models a geometry as required by the PixelCoordMap.
author: jones since: 1.1.0 |
initializing | boolean initializing(Code) | | |
EditGeom | public EditGeom(EditBlackboard owner, String featureId2)(Code) | | It is recommended to use constructor with bounds.
Parameters: owner - Parameters: featureId2 - |
EditGeom | public EditGeom(EditBlackboard owner, String featureId, Envelope featureBounds)(Code) | | Parameters: owner - Parameters: featureId - Parameters: featureBounds - |
assertValid | public void assertValid()(Code) | | |
getClosestEdge | public ClosestEdge getClosestEdge(Point point, boolean treatUnknownAsPolygon)(Code) | | gets the closest edge in the geometry to the point.
Parameters: point - reference point Parameters: treatUnknownAsPolygon - declares whether to treat geometries of type UNKNOWN as a polygon |
getFeatureEnvelope | public Envelope getFeatureEnvelope()(Code) | | Returns an old bounding box of the feature whose geometry is wrapped by EditGeom
before any editing.
Returns an old bounding box of the feature |
isChanged | public boolean isChanged()(Code) | | Indicates that this geometry has been modified since it has been in the blackboard.
true if the geometry has been modified while on the blackboard. |
setChanged | public void setChanged(boolean changed)(Code) | | This method signals the in-memory state of EditGeom with respect to the actual
feature in datastore.
true value means that the geometry is changed but not up-to-date
with datastore's feature geometry.
false value means that the geometry is up-to-date
with datastore's feature geometry.
Parameters: changed - |
setShapeType | public void setShapeType(ShapeType shapeType)(Code) | | This is a thread-safe method
Parameters: type - The new shape type. |
|
|