SimplifyPointSettings

Point simplification settings.

Example

app = cf.GetApplication()
project = app:NewProject()

    -- Create some geometry to simplify

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

    -- Now simplify the geometry and adjust a point option

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

Usage locations (object properties)

The following objects have properties using the SimplifyPointSettings object:

Property List

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

Property Details

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