de.grogra.imp3d.objects
public abstract class PolygonsBase extends java.lang.Object implements Polygons, java.io.Serializable
Polygonization.polygonize(de.grogra.graph.ContextDependent, de.grogra.graph.GraphState, de.grogra.imp3d.PolygonArray, int, float) has to be
implemented.COMPUTE_NORMALS, COMPUTE_UV| Constructor and Description |
|---|
PolygonsBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOnContext()
Determines whether this object actually depends on context.
|
int |
getStamp() |
void |
writeStamp(Cache.Entry cache,
GraphState gs)
Writes a stamp of the context into
cache. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpolygonizepublic boolean dependsOnContext()
ContextDependentdependsOnContext in interface ContextDependenttrue iff this object depends on contextpublic int getStamp()
public void writeStamp(Cache.Entry cache, GraphState gs)
ContextDependentcache. Based on
this stamp, a cache detects whether the context of this
object has changed or not.writeStamp in interface ContextDependentcache - a cache entry to write the stampgs - the current graph state