RhinoCommon API
MeshReduce Method (ReduceMeshParameters, Boolean) |
Reduce polygon count
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.15
public bool Reduce( ReduceMeshParameters parameters, bool threaded )
Public Function Reduce ( parameters As ReduceMeshParameters, threaded As Boolean ) As Boolean
Parameters
- parameters
- Type: Rhino.GeometryReduceMeshParameters
Parameters - threaded
- Type: SystemBoolean
If True then will run computation inside a worker thread and ignore any provided CancellationTokens and ProgressReporters. If False then will run on main thread.
Return Value
Type: BooleanTrue if mesh is successfully reduced and false if mesh could not be reduced for some reason.