Geometry
The geometry module handles 3D mesh processing, PLY import/export, and spatial indexing for intersection calculations.
Overview
FusionSC offers a high-level geometry representation based on meshes, declarative operations (2D to 3D extrusions, geometric operations on other geometries), and labeling support.
Geometry processing is primarily handled through the GeometryLib service
interface. Geometries are fully represented using Cap’n’Proto types.
API Reference
-
namespace fsc
The FSC library.
Simple interface module for ZLib
Functions
- inline EIGEN_DEVICE_FUNC Vec3u locationInGrid (Vec3d point, Vec3d min, Vec3d max, Vec3u size)
-
struct GeometryResolverBase : public GeometryResolver::Server
Public Functions
-
Promise<void> resolveGeometry(ResolveGeometryContext context) override
-
virtual Promise<void> processGeometry(Geometry::Reader input, Geometry::Builder output, ResolveGeometryContext context)
-
Promise<void> processTransform(Transformed<Geometry>::Reader input, Transformed<Geometry>::Builder output, ResolveGeometryContext context)
-
Promise<void> resolveGeometry(ResolveGeometryContext context) override