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
- polyface/PolyfaceQuery.ts Line 1009
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.