cloneWithMaximalPlanarFacets MethodStatic

Return a mesh with

  • clusters of adjacent, coplanar facets merged into larger (possibly non-convex) facets.
  • other facets are unchanged.

cloneWithMaximalPlanarFacets(mesh: PolyfaceVisitor | Polyface, maxSmoothEdgeAngle?: Angle): IndexedPolyface

Parameter Type Description
mesh PolyfaceVisitor | Polyface existing mesh or visitor.
maxSmoothEdgeAngle Angle maximum dihedral angle across an edge between facets deemed coplanar. If undefined,
uses Geometry.smallAngleRadians.

Returns - IndexedPolyface

Defined in

Last Updated: 21 November, 2024