Skip to main content

Crate ifc_georef

Crate ifc_georef 

Source
Expand description

IFC project-to-map coordinate operations.

This crate resolves IFC references, units, axis defaults, and CRS metadata, then emits a format-neutral axiolid_core::Transform3. It does not place products, reproject coordinates, or select a geometry backend.

Re-exports§

pub use authoring::create_direction;
pub use authoring::create_geographic_crs;
pub use authoring::create_map_conversion;
pub use authoring::create_map_conversion_scaled;
pub use authoring::create_projected_crs;
pub use authoring::create_representation_context;
pub use authoring::create_representation_subcontext;
pub use authoring::create_rigid_operation;
pub use authoring::create_well_known_text;
pub use authoring::GeographicCrsDraft;
pub use authoring::MapConversionDraft;
pub use authoring::ProjectedCrsDraft;

Modules§

authoring
Transactional authoring of the georeferencing entities.

Structs§

GeorefView
A model whose declared schema has been pinned to IFC4 or IFC4X3.
LengthUnit
A length unit reduced to a metre factor.
ProjectToMap
A resolved project-to-map coordinate operation, normalised to metres.
ProjectedCrs
A projected coordinate reference system read from IfcProjectedCRS.

Enums§

GeorefError
Why a project-to-map operation could not be resolved losslessly.
NorthReference
A resolved north reference: a unit-length 2D direction in the project’s own XY plane, plus which reference it names.

Functions§

compose_project_frame
Compose an externally supplied project frame with a resolved project-to-map operation, producing the project frame’s map-frame transform.
grid_north_direction
Resolve grid north from an already-computed IfcMapConversion operation.
project_north_direction
The project’s own north reference: always (0, 1) in its own XY plane.
resolve_project_to_map
Resolve an IfcMapConversion and normalize both frames to metres.
resolve_project_to_map_in
Resolve an IfcMapConversion within a schema-pinned GeorefView.
resolve_true_north
Resolve IfcGeometricRepresentationContext.TrueNorth.

Type Aliases§

GeorefResult
Result of a georeferencing read, carrying GeorefError on failure.