Link Search Menu Expand Document

OCCTSwiftMesh API Reference

A detailed, per-type function reference for the OCCTSwiftMesh Swift API. One page per public type, every public symbol documented: signature, behaviour, parameters, return value, and a runnable example.

This complements the other docs — it’s the exhaustive surface, vs:

OCCTSwiftMesh adds its public surface as extensions on OCCTSwift.Mesh (the triangle-soup value type, re-exported via import OCCTSwiftMesh) plus the value types each algorithm returns. There is no free-standing API beyond the OCCTSwiftMesh namespace marker.

Types

  • OCCTSwiftMesh — the module namespace marker (version constant).
  • Mesh+Simplify — the Mesh.simplified(_:) decimation entry point.
  • SimplifyOptionsMesh.SimplifyOptions, the decimation inputs.
  • SimplifiedMesh — the decimation result (mesh + before/after counts + Hausdorff distance).
  • Cross-Section TypesCutPlane, MeshContour, MeshCrossSection, and the Mesh.crossSection(plane:) / Mesh.crossSections(axis:through:spacing:) slicing entry points.

Table of contents