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

Method get_command

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

Source from the content-addressed store, hash-verified

127public:
128 inline const CHAR* name() const { return "keep_circle"; };
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:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected