MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / end

Method end

src/ifcgeom/taxonomy.cpp:501–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499bool piecewise_function::is_empty() const { return spans_.empty(); }
500double piecewise_function::start() const { return start_; }
501double piecewise_function::end() const { return start_ + length(); }
502double piecewise_function::length() const {
503 return std::accumulate(spans_.begin(), spans_.end(), 0.0, [](const auto& v, const auto& s) { return v + s->length(); });
504

Callers 15

addMethod · 0.45
buildMethod · 0.45
emit_line_stringsFunction · 0.45
addFloatSourceMethod · 0.45
writeMethod · 0.45
addMethod · 0.45
closeParentMethod · 0.45
getMaterialUriMethod · 0.45
containsMethod · 0.45
endDocumentMethod · 0.45
constructMethod · 0.45
constructMethod · 0.45

Calls 1

lengthFunction · 0.70

Tested by 1

test_intersectionMethod · 0.36