Skip to main content

seams

Function seams 

Source
pub fn seams(
    graph: &GeometryGraph,
    curve: NodeId,
    _options: &ExecutionOptions,
) -> GeomResult<Vec<StationSeam>>
Expand description

Where a graph curve’s seams are, read from its stored data (#263): the distances in its station measure, with the curve’s own parameter.

An atomic 2D or 3D curve reports axiolid_reference::station::exact_station_seams2 or exact_station_seams3 (every seam exact, or refused), and a curve placed at a station its source’s. A curve relation a station can be measured along (#285: a composite, a trim, nested and placed, 2D or 3D) reports axiolid_reference::station::CompositeBasis::exact_seams: the joints of its pieces in the direction of travel, at the running sum of their lengths in the station measure, and the seams of each piece’s curve inside the piece; the distance is also the parameter reported. No joint is smooth, since a joint’s continuity is declared, not guaranteed by the data. options is not read: the seams are the curve’s, whatever the tolerance.

§Errors

A seam whose distance would need a quadrature (a B-spline’s corner knot, a joint after an ellipse or a B-spline piece), a relation no station can be measured along, a composite whose pieces do not meet or are measured differently, an instance, and a node that is not a curve, each by name.