Crate ifc_lite_landxml

Crate ifc_lite_landxml 

Source
Expand description

Bounded, event-driven LandXML 1.0, 1.1, and 1.2 source ingestion.

This crate intentionally stops at durable LandXML semantic records. It neither fabricates IFC nor creates renderer meshes; later adapters own coordinate systems, mesh partitioning, and presentation.

Modules§

alignment
LandXML horizontal alignment semantics and deterministic numeric probes.

Structs§

LandXmlAlignment
A horizontal alignment that owns profiles and cross-sections by source id.
LandXmlCancellationFlag
Share this flag with a native task and call Self::cancel from its host.
LandXmlCanonicalVertex
One canonical planar vertex used by generated constrained terrain.
LandXmlCapabilities
LandXmlCapabilityDiagnostic
A parser capability gap retained with its source identity and path.
LandXmlCgPoint
A COGO point’s namespace-local identity is distinct from its display name.
LandXmlCoordinateSystem
Source-owned CRS declarations from LandXML 1.2’s root CoordinateSystem. Kept as raw strings: only the viewer adapter may accept explicit EPSG IDs.
LandXmlCrossSection
A sampled cross-section at one station on its parent alignment.
LandXmlCrossSectionPoint
A cross-section point as authored, including its optional source references.
LandXmlCrossSectionSegment
A continuous sampled CrossSectSurf/PntList2D sequence.
LandXmlCrossSectionSurface
One source cross-section surface, never a generated corridor surface.
LandXmlDocument
The durable LandXML source document joins terrain and plan semantics from the same original byte stream. It deliberately does not create IFC or a renderer-specific representation; the canonical loader owns that step.
LandXmlError
Parse failure with a stable code suitable for native/server/wasm mapping.
LandXmlExtension
A non-LandXML namespace root retained for diagnostics and later adapters.
LandXmlGradeLine
A continuous PntList2D segment of a sampled profile.
LandXmlLimits
Hard limits applied before semantic allocations grow with untrusted input.
LandXmlMetadataRecordFragment
Bounded transport fragment for one metadata record value.
LandXmlMetadataStreamAssembler
Reassembles move-owned metadata cursor events for adapters that still need a complete semantic document at their compatibility boundary.
LandXmlMetadataStreamEnd
Counters emitted after every move-owned metadata record.
LandXmlMetadataStreamHeader
Metadata header emitted once, after all surface fragments have received credit. Its record vectors are intentionally empty; their values follow as individually owned LandXmlMetadataStreamEvent::Record values.
LandXmlMonument
A monument retains the source point reference instead of resolving it away.
LandXmlParcel
LandXmlParcelProbe
Measurements remain in the document’s declared coordinate units.
LandXmlPipe
One validated graph edge in a pipe network.
LandXmlPipeConnectivity
A pipe’s graph edge after refStart and refEnd resolve to source nodes.
LandXmlPipeFeature
A schema-valid Feature child retained without assigning IFC meaning.
LandXmlPipeFlow
Preserved flow attributes; the parser does not derive hydraulic results.
LandXmlPipeInvert
The direction-specific invert belonging to a structure and pipe.
LandXmlPipeMeasure
A finite authored measurement and the source unit used to make it useful.
LandXmlPipeNetwork
One exact LandXML PipeNetwork source hierarchy.
LandXmlPipeNetworkCollection
One exact PipeNetworks collection and its authored metadata.
LandXmlPipeNetworkDocument
Pipe-network semantic result. It is intentionally independent from TIN.
LandXmlPipePosition
A coordinate authored directly in a pipe-network Center element.
LandXmlPipeRefusal
A semantic refusal for a single source element, not a fabricated fallback.
LandXmlPipeSourceBatch
Stable source identities prepared for a future canonical LandXML adapter.
LandXmlPipeStructure
One structure in source order, with source-to-pipe invert provenance.
LandXmlPipeUnits
The length units effective for one pipe-network collection.
LandXmlPlanDocument
Durable COGO and plan records joined to the canonical LandXML document.
LandXmlPlanFeature
LandXmlPlanGeometry
An analytic CoordGeom primitive, never a tessellated substitute.
LandXmlPlanLimits
Plan-record bounds layered over the shared hostile-XML limits.
LandXmlPlanPoint
A coordinate in LandXML’s authored northing/easting/elevation order.
LandXmlPlanResolver
One document-scoped resolver used by bulk adapters. Cached failures are as important as points: dangling, ambiguous and cyclic aliases must not be retraversed for every dependent geometry record.
LandXmlPlanSourceBatch
Bounded source identifiers for host-side navigation and batching.
LandXmlPoint
LandXmlPolyline
One preserved source line/ring (boundary, breakline, or contour).
LandXmlPreservedOnlyExtension
A bounded preserved-only corridor or stringline extension root.
LandXmlProfile
A ProfAlign or ProfSurf record under an alignment.
LandXmlProfilePoint
One station/elevation pair authored by PVI or a sampled grade line.
LandXmlRoadway
A roadway’s named source associations; it does not claim corridor geometry.
LandXmlSourceId
Deterministic source identifier; it is not derived from any output mesh.
LandXmlSourcePoint
Coordinates from Surface/SourceData/DataPoints, separate from face ids.
LandXmlStreamHeader
LandXmlStreamMetadata
Complete non-surface semantics finalized from the same event-driven parsers. terrain.surfaces is empty because complete surfaces were already emitted as bounded fragments with stable source identities.
LandXmlStreamSummary
Deliberately not a fake complete document: surface data is drained before finalization and the summary owns only bounded counters and header facts.
LandXmlSurface
LandXmlSurfaceFragment
LandXmlTerrainDiagnostic
Source-preserving diagnostic; a refusal never turns into guessed terrain.
LandXmlTinDocument
LandXmlTinStreamSession
LandXmlUnits
LandXmlVerticalCurve
A vertical curve anchored at its authored point of vertical intersection.

Enums§

LandXmlCapabilityDiagnosticCode
Stable capability diagnostics for non-rendering LandXML road semantics.
LandXmlCrossSectionPointDataFormat
The coordinate convention authored by a CrossSectPnt.
LandXmlCrossSectionSurfaceKind
Whether cross-section values are existing/sampled or planned/design values.
LandXmlDiagnosticCode
Stable, machine-readable reason for an ingestion refusal or invalid source.
LandXmlGeometryKind
LandXmlMetadataRecord
One complete top-level LandXML semantic record. A consumer can release the record before requesting the next credited event.
LandXmlMetadataStreamEvent
Resumable metadata events delivered through LandXmlStreamEvent::Metadata.
LandXmlParcelState
Whether a parcel can be probed without inventing a filled boundary.
LandXmlPipeGeometry
A direct point along the declared pipe route.
LandXmlPipePart
The declared cross-section part of a pipe.
LandXmlPlanPointLocation
A plan geometry endpoint is either authored directly or a COGO reference.
LandXmlPreservedOnlyExtensionKind
The source area containing an unsupported preserved-only subtree.
LandXmlProfileEvaluationError
Why a design profile cannot be evaluated at a requested station.
LandXmlProfileKind
LandXML distinguishes proposed vertical geometry from sampled surface data.
LandXmlRenderState
Honest presentation state for one source surface.
LandXmlStreamEvent
LandXmlStructurePart
The declared part of a structure.
LandXmlSurfaceComponent
LandXmlSurfaceKind
Source topology classification declared by a Surface/Definition.
LandXmlTerrainDiagnosticCode
Stable refusal category for optional constrained terrain adaptation.
LandXmlTopologyOrigin
Whether terrain faces came from the producer or the constrained adapter.
LandXmlVersionCapability
Capability selected from the root LandXML namespace and version attribute.
LandXmlVerticalCurveKind
The exact LandXML vertical-curve declaration.

Constants§

LANDXML_10_NAMESPACE
LANDXML_11_NAMESPACE
LANDXML_12_NAMESPACE
MAX_LANDXML_STREAM_DRAIN_BYTES
MAX_LANDXML_STREAM_EVENT_BYTES
Maximum serialized event retained while reserving queue headroom.
MAX_LANDXML_STREAM_INPUT_CHUNK_BYTES
MAX_LANDXML_STREAM_QUEUED_BYTES
The host must return transport credit by draining before more XML is read.
MAX_LANDXML_STREAM_QUEUED_EVENTS

Traits§

LandXmlCancellation
Cooperative cancellation hook for hosts that run ingestion off-thread.

Functions§

classify_landxml_version
Classify a LandXML root by its namespace-selected grammar and declared version provenance. Producers sometimes pair their grammar namespace with another known declaration; retain that declaration and let the caller record an explicit compatibility diagnostic.
parse_landxml_document
Parse all supported LandXML semantic families from one source buffer.
parse_landxml_pipe_networks
Parse exact LandXML 1.2 pipe networks with default resource limits. This native source parser exposes no renderer, WASM, or invented IFC path.
parse_landxml_pipe_networks_with_cancel
Parse exact LandXML 1.2 pipe networks with host limits and cancellation.
parse_landxml_plan
Parse COGO points, monuments, parcels and plan features from LandXML 1.2.
parse_landxml_plan_with_cancel
Parse plan records while bounding work and polling the caller’s cancellation hook.
parse_landxml_tin
Parse exact LandXML 1.2 TIN semantics with default resource limits.
parse_landxml_tin_with_cancel
Parse exact LandXML 1.2 TIN semantics with host limits and cancellation.

Type Aliases§

LandXmlPipeProperties
LandXmlProperties