|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jreality.geometry.AbstractGeometryFactory
public class AbstractGeometryFactory
The grandfather of all the jReality geometry factories.
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.
| Method Summary | |
|---|---|
Geometry |
getGeometry()
|
int |
getMetric()
|
void |
setMetric(int metric)
|
void |
update()
This method is the API method for updating the geometry factory. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Geometry getGeometry()
getGeometry in interface GeometryFactorypublic int getMetric()
public void setMetric(int metric)
public void update()
update in interface GeometryFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||