cleanupGeometry operation

Synopsis

cleanupGeometry(componentSelector, tol)

Parameters

The cleanupGeometry operation cleans up the current shape's geometry. This allows for optimizing the geometry for subsequent cga operations.

Related

Examples

Cleaning up a triangulated asset


Before cleanup




Init-->
  i("myHouse.dae")


The original asset (464 faces, 758 vertices).

cleanupGeometry(all, 0)




Init-->
   i("myHouse.dae")
   cleanupGeometry(all, 0)


Mild cleanup removes most disturbing edges (190 faces, 752 vertices).

cleanupGeometry(all, 0.1)




Init-->
   i("myHouse.dae")
   cleanupGeometry(all, 0.1)


Increasing the tolerance gets rid of the remaining nasty edges (146 faces, 616 vertices).

Copyright ©2008-2016 Esri R&D Center Zurich. All rights reserved.