MCPcopy Create free account
hub / github.com/comaps/comaps / Collect

Method Collect

generator/feature_generator.cpp:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98uint32_t FeaturesCollector::Collect(FeatureBuilder const & fb)
99{
100 FeatureBuilder::Buffer bytes;
101 fb.SerializeAccuratelyForIntermediate(bytes);
102 uint32_t const featureId = WriteFeatureBase(bytes, fb);
103 CHECK_LESS(0, m_featureID, ());
104 return featureId;
105}
106
107FeaturesAndRawGeometryCollector::FeaturesAndRawGeometryCollector(std::string const & featuresFileName,
108 std::string const & rawGeometryFileName)

Callers

nothing calls this directly

Calls 6

GetGeometryMethod · 0.45
emptyMethod · 0.45
sizeMethod · 0.45
WriteMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected