SimplifyPointSettings

Point simplification settings.

Example

application = cf.Application.getInstance()
project = application:NewProject()

    -- Create some geometry to simplify

line1 = project.Contents.Geometry:AddLine(cf.Point(0, 0, 0), cf.Point(1, 0, 0))
line2 = project.Contents.Geometry:AddLine(cf.Point(0.25, 0, 0), cf.Point(0.75, 0, 0))
union = project.Contents.Geometry:Union({line1, line2})

    -- Now simplify the geometry and adjust a point option

simplified = project.Contents.Geometry:Simplify(union)
simplified.PointSettings.RemoveRedundant = false

Inheritance

The SimplifyPointSettings object is derived from the CompositeValue object.

Usage locations

The SimplifyPointSettings object can be accessed from the following locations:

Property List

RemoveRedundant
Remove redundant geometry points. (Read/Write boolean)

Property Details

RemoveRedundant
Remove redundant geometry points.
Type
boolean
Access
Read/Write