Skip to main content

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:
NameTypeAttributesDefaultDescription
inputPathBuilding.Pipeline.InputNewly added stroke data that must be processed
typePathBuilding.Pipeline.SegmentType<optional>DataSequenceProcessor.SegmentType.INTEGRALInput type
lastSegmentboolean<optional>trueApplicable 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:
NameTypeAttributesDefaultDescription
indexint<optional>7
previousPathBuilding.Pipeline.ConvexHullChainProducer

Home