[]
Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an SimplifiedGeometrySink.
public void Simplify(GeometrySimplificationOption simplificationOption, GeometrySink geometrySink)
Public Sub Simplify(simplificationOption As GeometrySimplificationOption, geometrySink As GeometrySink)
| Type | Name | Description |
|---|---|---|
| GeometrySimplificationOption | simplificationOption | A value that specifies whether the simplified geometry should contain curves. |
| GeometrySink | geometrySink | The SimplifiedGeometrySink to which the simplified geometry is appended. |
Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an SimplifiedGeometrySink.
public void Simplify(GeometrySimplificationOption simplificationOption, float flatteningTolerance, GeometrySink geometrySink)
Public Sub Simplify(simplificationOption As GeometrySimplificationOption, flatteningTolerance As Single, geometrySink As GeometrySink)
| Type | Name | Description |
|---|---|---|
| GeometrySimplificationOption | simplificationOption | A value that specifies whether the simplified geometry should contain curves. |
| float | flatteningTolerance | The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution. |
| GeometrySink | geometrySink | The SimplifiedGeometrySink to which the simplified geometry is appended. |
Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an SimplifiedGeometrySink.
public void Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2? worldTransform, float flatteningTolerance, GeometrySink geometrySink)
Public Sub Simplify(simplificationOption As GeometrySimplificationOption, worldTransform As Matrix3x2?, flatteningTolerance As Single, geometrySink As GeometrySink)
| Type | Name | Description |
|---|---|---|
| GeometrySimplificationOption | simplificationOption | A value that specifies whether the simplified geometry should contain curves. |
| Matrix3x2? | worldTransform | The transform to apply to the simplified geometry, or NULL. |
| float | flatteningTolerance | The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution. |
| GeometrySink | geometrySink | The SimplifiedGeometrySink to which the simplified geometry is appended. |