MCPcopy Create free account
hub / github.com/PDAL/PDAL / construct

Method construct

pdal/Geometry.cpp:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void Geometry::construct(void *g)
100{
101 OGRGeometry* geom(nullptr);
102 geom = reinterpret_cast<OGRGeometry *>(g);
103
104 if (geom)
105 m_geom.reset(geom->clone());
106}
107
108
109void Geometry::construct(void *g, const SpatialReference& srs)

Callers

nothing calls this directly

Calls 2

setSpatialReferenceFunction · 0.70
resetMethod · 0.45

Tested by

no test coverage detected