Surface

Immutable surface object; building block of meshes

A surface is a piece of 3D geometry. A mesh consists of a set of surfaces. Each surface itself can be non-manifold, disconnected, degenerate and self-intersecting. Only at the mesh level are further guarantees required, most often that the set of surfaces of a mesh are supersolid.

Signature

// Immutable surface object; building block of meshes
class Surface:
    // no public member

// constructors
class Context:
    fun createSurface(builder: SurfaceBuilder) -> Surface

Constructors

NameDescription
createSurfaceConstructs a surface from a surface builder definition