de.grogra.imp3d
public interface LineSegmentizable
LineSegmentizable object is the value of the
attribute Attributes.SHAPE, it
defines a shape which is composed of line segments.| Modifier and Type | Method and Description |
|---|---|
ContextDependent |
getSegmentizableSource(GraphState gs)
Defines the data source on which the line segmentization
depends.
|
int |
getStamp() |
void |
segmentize(ContextDependent source,
GraphState gs,
LineArray out,
float flatness)
Performs the segmentization of the source into line segments.
|
ContextDependent getSegmentizableSource(GraphState gs)
gs - the current graph stateint getStamp()
void segmentize(ContextDependent source, GraphState gs, LineArray out, float flatness)
out.userObject is not modified.source - the data source as reported by a previous invocation of
getSegmentizableSource(GraphState) with the same gsgs - the current graph stateout - the line segments are written to outflatness - a parameter for the degree of flatness, a typical value is 1