Skip to main content

vector

Function vector 

Source
pub fn vector(
    tx: &mut Transaction,
    orientation: EntityId,
    magnitude: f64,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcVector: a direction with a magnitude.

ยงErrors

Refuses a non-finite or non-positive magnitude. A zero-magnitude vector gives the line it parameterizes no scale at all.