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

Method start

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

Source from the content-addressed store, hash-verified

498const piecewise_function::spans_t& piecewise_function::spans() const { return spans_; }
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(); });

Callers 2

runFunction · 0.45
map_implMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected