brepjs API Reference
    Preparing search index...

    Interface EdgeRef

    A stable reference to an edge, identified by the roles of its two adjacent faces — its lineage. An edge is the intersection of its two faces, so this resolves by finding the edge shared by the current faces of those roles (sharedEdges). Identity rides on the already-stable face roles rather than the edge's own hash, so it survives edits that re-hash the edge — and it sidesteps the kernel's unreliable generated-face hashes entirely.

    interface EdgeRef {
        faceRoles: readonly [string, string];
        hint: EdgeHint;
        origin: string;
    }
    Index

    Properties

    Properties

    faceRoles: readonly [string, string]

    Roles of the two faces this edge bounds.

    hint: EdgeHint
    origin: string