Skip to main content

Module model

Module model 

Source

Modules§

curve_relation
Curve relationships that require graph references.
graph
Immutable geometry DAG and append-only builder.
id
Typed graph identity.
node
Closed set of format-neutral graph node families.
solid_operation
Solid construction relationships and CSG instructions.
station
Stations: positions named by a distance along a basis curve (#241, ADR 0082).
surface_relation
Surface relationships that compose curve and surface nodes.
value
Closed conversions from built-in representations into graph nodes.
wire
The versioned wire format of a GeometryGraph (ADR 0085).

Structs§

CurveSegment
One oriented curve in a composite.
CurveStation
A point and frame at a station along a basis curve.
GeometryGraph
Immutable acyclic geometry graph with one or more roots.
GeometryGraphBuilder
Append-only builder that makes cycles and dangling references unrepresentable.
Instance
Reuse one graph node under a transform, preserving instancing.
InstanceAtStation
A node reused in the frame of an OrientedCurveStation (#264): the station-framed form of Instance.
NodeId
Stable index owned by one immutable crate::GeometryGraph.
OpenProfile
Source-authored bounded open two-dimensional profile path.
OrientedCurveStation
A CurveStation with an explicit orientation (#246) and the side of a seam it reads (#263).
PointOnCurve
Point constrained to a curve parameter.
PointOnSurface
Point constrained to surface parameters.
RunStation
A station of an offset run with the side of a seam it reads and its seam-snapping window (#301): the general form of the plain Station a CurveRelation::OffsetByStations takes, used by CurveRelation::OffsetsAtStations. It may also stand at its basis’s start or end, its distance measured by the kernel (#303).
Section
Position of one section along a sectioned sweep.
SectionAtStation
A section standing at a station, with optional tags and an optional explicit orientation (#246): the general form of StationedSection (closed) and StationedOpenSection (open).
Station
A distance along a basis curve with offsets in its section frame.
StationOffsets
Offsets of a station from its basis curve, in the curve’s section frame.
StationOrientation
An explicit in-section orientation at a station (#246).
StationedOpenSection
An open section standing at a station along a sectioned surface’s directrix, its points named by tags.
StationedSection
A closed profile standing at a station along a sectioned spine’s directrix.
SurfaceSides
Which parametric side of a surface curve a p-curve belongs to.

Enums§

BasisEnd
Which end of its basis a RunStation stands at, measured by the kernel (#303; see the module documentation).
BooleanOperator
Regularized boolean set operation on solids.
CurveRelation
Relationship between curve nodes.
GeometryNode
One node in an immutable geometry DAG.
GraphError
Invalid graph construction.
MasterRepresentation
Which representation governs a redundant surface-curve definition.
RuledSide
One side of a ruled surface (#402).
SeamSide
The piece a position exactly on a seam is read from.
SolidOperation
Relationship that constructs a solid from lower-level geometry.
StationFrame
Which frame a station’s offsets and orientation are read in.
SurfaceRelation
Relationship between surface nodes.
Transition
Continuity declared between consecutive composite segments.
TrimSelector
One trim selector preserved from a source representation.
TrimmingPreference
Preference when both parameter and Cartesian trim selectors exist.

Constants§

ORIENTATION_TOLERANCE
Largest sine of the angle between a StationOrientation’s axis and reference direction that still counts as parallel.

Traits§

BuiltInNode
A built-in neutral value that can be inserted into a crate::GeometryGraph.