public class GeometricShapeVariable extends Variable
DE9IMRelationSolver. A GeometricShapeVariable should be provided a domain
representing one of the following geometric entities: point (provided by class PointDomain), line string (provided by class LineStringDomain),
and polygon (provided by class PolygonalDomain).attributes, backupForSerialization, dependentVariables, id, logger, solver| Modifier | Constructor and Description |
|---|---|
protected |
GeometricShapeVariable(ConstraintSolver cs,
int id) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Variable o) |
Domain |
getDomain()
Get the domain of this Variable.
|
java.lang.Class<?> |
getShapeType()
Returns the class used to represent the domain of this variable.
|
void |
setDomain(Domain d)
Set the domain of this variable.
|
java.lang.String |
toString()
Get a
String representation of this Variable. |
addDependentVariables, dependsOn, equals, getAncestorVariable, getAttributes, getColor, getComponent, getConstraintSolver, getDependentVariables, getDescription, getID, getMarking, getOwner, getParentVariable, getRecursivelyDependentVariables, getRootVariable, hashCode, isDependentVariable, removeDependentVariables, setAttributes, setColor, setComponent, setDependentVariables, setMarking, setOwner, setParentVariableprotected GeometricShapeVariable(ConstraintSolver cs, int id)
public java.lang.Class<?> getShapeType()
public int compareTo(Variable o)
public Domain getDomain()
Variablepublic void setDomain(Domain d)
Variable