Table of Contents

Namespace Hi.Geom.Topo

Classes

CarveBooleanResult

Result of one carve boolean step. On failure the workpiece is untouched and the step may simply be skipped.

CarveStl

A triangle mesh that can be carved: an exact-fraction topology graph with an incrementally maintained spatial index, mutated in place by exact boolean steps (SubstractVolume(Stl, double) / AddVolume(Stl, double)). Unlike NativeTopoStl3wfr (build-once sweeping input), this object is long-lived and accumulates cut geometry step after step; sharp edges and exact planar faces survive the booleans exactly. Not thread-safe.

NativeTopoStl3d

Native TopoStl with element type double.

NativeTopoStl3wfr

Native TopoStl with element type fraction.

TopoLine3Hfr

Topological 3D line (directed edge) with Fraction<decimal> coordinates. Maintains connectivity to adjacent reversed line and owning triangle. Corresponds to C++ topo_line3wfr_t.

TopoLine3StockHfr

Stock (pool) of topological lines with deduplication based on endpoint identity. Corresponds to C++ topo_line3wfr_stock_t.

TopoPoint3Hfr

Topological 3D point with Fraction<decimal> coordinates. Maintains connectivity to adjacent lines and triangles. Corresponds to C++ topo_point3wfr_t.

TopoPoint3StockHfr

Stock (pool) of topological points with deduplication based on fraction coordinates. Corresponds to C++ topo_point3wfr_stock_t.

TopoStl3Hfr

Pure C# topological STL (triangle mesh) with Fraction<decimal> coordinates. Hfr: High-Precision (decimal) FRaction. Provides unlimited-precision exact arithmetic for geometric computations without relying on native (C++) interop. Corresponds to C++ topo_stl3wfr_t.

TopoStl3HfrFlatDisplayee

Flat-shaded displayee for TopoStl3Hfr. Renders flat triangle faces (one normal per triangle) and all unique edge lines. Corresponds to C++ topo_stl3::_flatDraw + all-lines draw.

TopoStl3HfrSmoothDisplayee

Smooth-shaded displayee for TopoStl3Hfr. Renders smooth faces (per-vertex averaged normals) and sharp edges only. All rendering-related cached data (adjacent cos², smooth normals) is stored in this class via dictionaries, keeping the source TopoStl3Hfr clean. Corresponds to C++ topo_stl3::_smoothDraw + _edgeDraw.

TopoTri3Hfr

Topological 3D triangle with Fraction<decimal> coordinates. Maintains connectivity to points and lines. Corresponds to C++ topo_tri3wfr_t.

TopoTri3StockHfr

Stock (pool) of topological triangles. Corresponds to C++ topo_tri3wfr_stock_t.

Structs

Vec3Hfr

3D vector with Fraction<decimal> elements. Provides unlimited-precision exact arithmetic for geometric computations. Corresponds to C++ vec3<wfr_t>.

Enums

CarveBooleanKind

What a carve boolean did to the workpiece container.