public abstract class GeometricShapeDomain extends SpatialDomain
GeometricShapeVariable. This is an abstract class that is used to refer to the generic
type of three types of domains: point (provided by implementing class PointDomain), line string (provided by implementing class LineStringDomain),
and polygon (provided by implementing class PolygonalDomain).| Modifier and Type | Field and Description |
|---|---|
protected com.vividsolutions.jts.geom.Geometry |
geom |
coordinatesdefaultValueChoiceFunction, logger, myVariable, valueChoiceFunctions| Modifier | Constructor and Description |
|---|---|
protected |
GeometricShapeDomain(Variable v) |
protected |
GeometricShapeDomain(Variable v,
com.vividsolutions.jts.geom.Coordinate... coord) |
| Modifier and Type | Method and Description |
|---|---|
com.vividsolutions.jts.geom.Geometry |
getGeometry()
Returns the
Geometry used to represent this domain internally. |
java.lang.Class<?> |
getShapeType()
Returns the class used to represent this domain.
|
java.lang.String |
toString()
Get a string representation of this domain (must be implemented by the
Domain developer. |
protected abstract void |
updateGeometry() |
compareTo, isInstantiated, setCoordinateschooseValue, chooseValue, getValueChoiceFunctions, getVariable, registerValueChoiceFunction, removeValueChoiceFunctions, setDefaultValueChoiceFunctionprotected GeometricShapeDomain(Variable v)
protected GeometricShapeDomain(Variable v, com.vividsolutions.jts.geom.Coordinate... coord)
public java.lang.Class<?> getShapeType()
public com.vividsolutions.jts.geom.Geometry getGeometry()
Geometry used to represent this domain internally. Methods provided by the JTS Topology Suite (see http://tsusiatsoftware.net) can
be used on these objects.Geometry used to represent this domain internally.protected abstract void updateGeometry()
updateGeometry in class SpatialDomain