MCPcopy Create free account
hub / github.com/LAStools/LAStools / LAScriterionKeepCircle

Method LAScriterionKeepCircle

LASlib/src/lasfilter.cpp:131–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %lf %lf %lf ", name(), center_x, center_y, radius); };
130 inline BOOL filter(const LASpoint* point) { return (!point->inside_circle(center_x, center_y, radius_squared)); };
131 LAScriterionKeepCircle(F64 x, F64 y, F64 radius) { this->center_x = x; this->center_y = y; this->radius = radius; this->radius_squared = radius * radius; };
132private:
133 F64 center_x, center_y, radius, radius_squared;
134};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected