Class: PolygonMerger
PathBuilding.Pipeline.PolygonMerger()
Computes the union of a list of polygons. The result is a polygon with zero or more internal contours (holes).
Constructor
new PolygonMerger()
Since:
- version 3.0
Extends
Methods
process(input, typeopt, lastSegmentopt)
Invokes input processing of particular implementation
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
input | PathBuilding.Pipeline.Input | Newly added stroke data that must be processed | ||
type | PathBuilding.Pipeline.SegmentType | <optional> | DataSequenceProcessor.SegmentType.INTEGRAL | Input type |
lastSegment | boolean | <optional> | true | Applicable for SegmentType.ADDITION only, describe end of the input |
Overrides:
reset()
Resets the processor to its initial state
Overrides:
Type Definitions
Input
PolygonMerger input type
Type:
Output
PolygonMerger output type
Type:
PipelineStage
Type:
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
index | int | <optional> | 7 | |
previous | PathBuilding.Pipeline.ConvexHullChainProducer |