API Reference > Classes > PRC Tessellation Classes > OdPrc3dTess Class > OdPrc3dTess Methods > OdPrc3dTess::optimize Method
OdPrc3dTess::optimize Method
Syntax
C++
bool optimize(double dTolerance = 0.);
Parameters 
Description 
double dTolerance = 0. 
[in] specifies tolerance of optimization, if dTolerance is 0 (default value) data are taken as is, use it carefuly with other value. 

Optimizes tessellation data by removing dublicate points, normals, textures, wires. Returns true if optimization succeed, false - if not.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.