public class AbstractGeometryFactory extends Object implements GeometryFactory
Allows user to set the ambient metric via setMetric(int)
.
And provides most general get method with getGeometry()
.
This class writes itself into the associated Geometry
using the call:
so that later users of geometry can access the factory and use it for editing, etc.
geometry.setGeometryAttributes(GeometryUtility.FACTORY, this);
For an introduction to how the factories work, see PointSetFactory
.
Modifier and Type | Method and Description |
---|---|
Geometry |
getGeometry() |
int |
getMetric() |
void |
setMetric(int metric) |
void |
update()
This method is the API method for updating the geometry factory.
|
public Geometry getGeometry()
getGeometry
in interface GeometryFactory
public int getMetric()
public void setMetric(int metric)
public void update()
update
in interface GeometryFactory