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

Function TransformToLine

generator/feature_maker_base.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void TransformToLine(FeatureBuilder & feature)
61{
62 if (feature.IsLine())
63 return;
64
65 CHECK(feature.IsArea(), (feature));
66 feature.SetLinear(feature.GetParams().GetReversedGeometry());
67}
68
69FeatureBuilder MakePoint(FeatureBuilder const & feature)
70{

Callers 1

MakeLineFunction · 0.85

Calls 5

IsLineMethod · 0.80
IsAreaMethod · 0.80
SetLinearMethod · 0.80
GetReversedGeometryMethod · 0.80
GetParamsMethod · 0.80

Tested by

no test coverage detected