'Declaration Public Overloads Sub Simplify( _ ByVal simplificationOption As GeometrySimplificationOption, _ ByVal worldTransform As Nullable(Of Matrix3x2), _ ByVal flatteningTolerance As Single, _ ByVal geometrySink As GeometrySink _ )
public void Simplify( GeometrySimplificationOption simplificationOption, Nullable<Matrix3x2> worldTransform, float flatteningTolerance, GeometrySink geometrySink )
Parameters
- simplificationOption
- A value that specifies whether the simplified geometry should contain curves.
- worldTransform
- The transform to apply to the simplified geometry, or NULL.
- 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
- The SimplifiedGeometrySink to which the simplified geometry is appended.
Return Value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.