IFClite TypeScript API
    Preparing search index...

    Interface CoordinateMagnitudes

    Where the model's coordinates actually are, measured without meshing.

    • siteOrigin: the first IfcSite's ObjectPlacement origin, composed through its PlacementRelTo chain (IfcLocalPlacement / IfcAxis2Placement3D|2D, at most 32 hops). This is where tools that put the map position into the placements write it.
    • geometry: one summary per coordinate family, never pooled. IfcCartesianPoint (excluding the points that are an axis placement's Location, which are placement offsets, not geometry) and IfcCartesianPointList2D/3D are sampled separately, because a file can hold thousands of small local points beside a few large meshes in map coordinates: pooled, the two populations meet in a meaningless middle. A family is at map magnitude when its own median is. Coordinates are as written, each in its own placement (not composed).

    All values are in project length units.

    interface CoordinateMagnitudes {
        geometry?: {
            cartesianPoints?: PointFamilyStats;
            pointLists?: PointFamilyStats;
        };
        sampledPoints: number;
        siteLocationPoint?: { coordinates: Vec3; id: number; sharedBy: number };
        siteOrigin?: Vec3;
        siteParentAxes?: { x: Vec3; y: Vec3; z: Vec3 };
        sitePlacementId?: number;
    }
    Index
    geometry?: { cartesianPoints?: PointFamilyStats; pointLists?: PointFamilyStats }
    sampledPoints: number

    How many coordinate tuples the sample read over all families. 0 when none.

    siteLocationPoint?: { coordinates: Vec3; id: number; sharedBy: number }

    The IfcCartesianPoint that is the site placement's own Location (IfcLocalPlacement.RelativePlacement → IfcAxis2Placement3D.Location): what a fix that moves the site edits. sharedBy counts the axis placements whose Location is this same point.

    siteOrigin?: Vec3
    siteParentAxes?: { x: Vec3; y: Vec3; z: Vec3 }

    Axes of the site placement's parent frame, when it has a PlacementRelTo.

    sitePlacementId?: number

    Express id of the first IfcSite's IfcLocalPlacement.