[]
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)
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)
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)
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. |