MCPcopy Create free account
hub / github.com/OSGeo/PROJ / getStepCount

Function getStepCount

src/iso19111/operation/coordinateoperationfactory.cpp:1159–1166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1157// ---------------------------------------------------------------------------
1158
1159static size_t getStepCount(const CoordinateOperationNNPtr &op) {
1160 auto concat = dynamic_cast<const ConcatenatedOperation *>(op.get());
1161 size_t stepCount = 1;
1162 if (concat) {
1163 stepCount = concat->operations().size();
1164 }
1165 return stepCount;
1166}
1167
1168// ---------------------------------------------------------------------------
1169

Callers 2

sortMethod · 0.85

Calls 2

sizeMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected