Skip to content

CleanPolyData ​

Introduction ​

vtkCleanPolyData merge exactly coincident points.

vtkCleanPolyData is a locator object to quickly locate points in 3D.

Methods ​

createDefaultLocator ​

Create default locator.

extend ​

Method used to decorate a given object (publicAPI+model) with vtkCleanPolyData characteristics.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesICleanPolyDataInitialValuesNo(default: {})

getAbsoluteTolerance ​

Get the absolute tolerance value.

getConvertLinesToPoints ​

Get whether to convert lines to points.

getConvertPolysToLines ​

Get whether to convert polygons to lines.

getConvertStripsToPolys ​

Get whether to convert strips to polygons.

getOutputPointsPrecision ​

Get the output points precision.

getPointMerging ​

Get whether to merge points.

getTolerance ​

Get the tolerance used for point merging.

getToleranceIsAbsolute ​

Get whether the tolerance is absolute or relative.

newInstance ​

Method used to create a new instance of vtkCleanPolyData.

ArgumentTypeRequiredDescription
initialValuesICleanPolyDataInitialValuesNofor pre-setting some of its content

operateOnBounds ​

Operate on a bounding box by applying a transformation.

ArgumentTypeRequiredDescription
inBoundsBoundsYesThe input bounding box.
outBoundsBoundsYesThe output bounding box.

operateOnPoint ​

Operate on a point by applying a transformation.

ArgumentTypeRequiredDescription
pointVector3YesThe point to operate on.

requestData ​

ArgumentTypeRequiredDescription
inDataYes
outDataYes

setAbsoluteTolerance ​

Set the absolute tolerance value. This is only used if ToleranceIsAbsolute is true. Initial value is 0.0

ArgumentTypeRequiredDescription
absoluteToleranceNumberYesThe absolute tolerance value.

setConvertLinesToPoints ​

Set whether to convert lines to points.

ArgumentTypeRequiredDescription
convertLinesToPointsBooleanYes

setConvertPolysToLines ​

Set whether to convert polygons to lines.

ArgumentTypeRequiredDescription
convertPolysToLinesBooleanYes

setConvertStripsToPolys ​

Set whether to convert strips to polygons.

ArgumentTypeRequiredDescription
convertStripsToPolysBooleanYes

setOutputPointsPrecision ​

Set the desired output precision for points. Initial value is DEFAULT_PRECISION.

ArgumentTypeRequiredDescription
outputPointsPrecisionDesiredOutputPrecisionYesThe outputPointsPrecision value.

setPointMerging ​

Set whether to merge points. Initial value is false.

ArgumentTypeRequiredDescription
pointMergingBooleanYesThe pointMerging value.

setTolerance ​

Set the tolerance used for point merging. This is ignored if ToleranceIsAbsolute is true. Initial value is 0.0

ArgumentTypeRequiredDescription
toleranceNumberYesThe tolerance value.

setToleranceIsAbsolute ​

Set whether the tolerance is absolute or relative. Initial value is false (relative).

ArgumentTypeRequiredDescription
toleranceIsAbsoluteBooleanYesThe toleranceIsAbsolute value.