|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LineSegmentizable
If a LineSegmentizable
object is the value of the
attribute Attributes.SHAPE
, it
defines a shape which is composed of line segments.
Method Summary | |
---|---|
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. |
Method Detail |
---|
ContextDependent getSegmentizableSource(GraphState gs)
gs
- the current graph state
int 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 gs
gs
- the current graph stateout
- the line segments are written to out
flatness
- a parameter for the degree of flatness, a typical value is 1
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |