de.grogra.imp3d
Interface Polygonizable

All Known Implementing Classes:
Arrange, Cylinder, Frustum, MeshNode, NURBSSurface, Patch, Polygon

public interface Polygonizable

If a Polygonizable object is the value of the attribute Attributes.SHAPE, it defines a shape which is composed of polygons.

Author:
Ole Kniemeyer

Method Summary
 ContextDependent getPolygonizableSource(GraphState gs)
          Defines the data source on which the polygonization depends.
 Polygonization getPolygonization()
          Defines the algorithm which is used to decompose the data into a polygon mesh representation.
 

Method Detail

getPolygonizableSource

ContextDependent getPolygonizableSource(GraphState gs)
Defines the data source on which the polygonization depends.

Parameters:
gs - the current graph state
Returns:
the data source

getPolygonization

Polygonization getPolygonization()
Defines the algorithm which is used to decompose the data into a polygon mesh representation.

Returns:
polygonization algorithm