Skip to main content

connection_geometry

Function connection_geometry 

Source
pub fn connection_geometry(
    tx: &mut Transaction,
    kind: ConnectionKind,
    on_relating: EntityId,
    on_related: Option<EntityId>,
) -> EntityId
Expand description

Stage a connection geometry.

The two slots are the geometry as seen from each side of the connection. on_related absent means both elements agree on the same geometry – which is the common case, and is why omitting it is not the same as repeating the first reference.