| 1551 | inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %lf %lf ", name(), below_gpstime, above_gpstime); }; |
| 1552 | inline U32 get_decompress_selective() const { return LASZIP_DECOMPRESS_SELECTIVE_GPS_TIME; }; |
| 1553 | inline BOOL filter(const LASpoint* point) { |
| 1554 | I64 offset = 0; |
| 1555 | if ( ((global_encoding & (1 << LAS_TOOLS_GLOBAL_ENCODING_BIT_GPS_TIME_TYPE)) != 0) && ((global_encoding & (1 << LAS_TOOLS_GLOBAL_ENCODING_BIT_TIME_OFFSET_FLAG)) != 0)) |
| 1556 | { offset = ((I64)time_offset - 1000) * 1000 * 1000; } |
| 1557 | return (point->have_gps_time && ((point->gps_time < below_gpstime - offset) || (point->gps_time > above_gpstime - offset))); }; |
| 1558 | LAScriterionKeepGpsTime(F64 below_gpstime, F64 above_gpstime) { this->below_gpstime = below_gpstime; this->above_gpstime = above_gpstime; }; |
| 1559 | private: |
| 1560 | F64 below_gpstime, above_gpstime; |
nothing calls this directly
no outgoing calls
no test coverage detected