Module measure

Source

Modules§

exact
Mass properties of an exact B-rep, without tessellating it.
exact_distance
Certified distance between the boundaries of two exact B-reps (#125, C18).
frechet
Fréchet distance between polylines (#147).
measure
Open measurement capability.
mesh
Deterministic raw triangle-mesh measures.
mesh_measure
The reference Measure provider for triangle meshes.
mesh_proximity
Mesh-level proximity: distance with witnesses, and proximity components.
properties
Measurement result values.
proximity
Deterministic metric proximity queries for 3D primitives.
winding
Generalized winding-number accumulation over validated triangle views.

Structs§

ClosestPoints3
Two witnesses, ordered to match the first and second inputs.
DistanceBounds
An interval certain to contain the distance between two boundaries.
FaceDomain
Which parameters of one exact face lie inside it, decided with a certificate or not at all.
MassProperties
Surface/solid mass properties in local coordinates.
MeshDistance
The separation between two meshes and the witness pair realising it.
MeshMeasure
Reference mass-property provider for triangle meshes.
ProximityComponent
A region where two meshes approach within a threshold.
SurfaceProperties
VolumeProperties
WindingMesh
A read-only, structurally prepared mesh for repeated winding queries.
WindingNumber
Raw winding accumulation for one query point.

Enums§

Clearance
How a certified distance compares with a limit.
ExactMeasureError
Why an exact B-rep could not be measured.
FrechetError
Why a Fréchet query was refused.
MeshMeasureError
MeshProximityError
Why a mesh proximity query could not be answered.
ProximityError
Metric-input failure for primitive proximity queries.
WindingError
Failure to prepare or evaluate a winding query.

Traits§

Measure
Compute mass properties for one representation type.

Functions§

boundary_clearance
Refine the distance only until it clears limit.
boundary_distance
Distance between the boundaries of a and b, to within accuracy.
closest_point_on_triangle
Closest point on a non-degenerate triangle.
closest_points_on_segments
Closest witnesses on two finite segments.
closest_points_on_triangles
Deterministic metric witnesses on two non-degenerate triangles.
discrete_frechet_distance
Discrete Fréchet distance between the vertex sequences of a and b.
discrete_frechet_distance_2d
discrete_frechet_distance in the plane.
exact_properties
Mass properties of an exact B-rep.
frechet_at_most
Whether the continuous Fréchet distance between a and b is at most eps.
frechet_at_most_2d
frechet_at_most in the plane.
frechet_distance
Continuous Fréchet distance between the polylines a and b.
frechet_distance_2d
frechet_distance in the plane.
mesh_distance
Distance between two meshes, with the witness pair realising it.
proximity_components
Disjoint regions where two meshes approach within threshold.
second_moments
Second moments of the enclosed solid about the origin.
surface_properties
volume_properties