| 1600 | inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s %lf %lf ", name(), below_gpstime, above_gpstime); }; |
| 1601 | inline U32 get_decompress_selective() const { return LASZIP_DECOMPRESS_SELECTIVE_GPS_TIME; }; |
| 1602 | inline BOOL filter(const LASpoint* point) { |
| 1603 | I64 offset = 0; |
| 1604 | 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)) |
| 1605 | { offset = ((I64)time_offset - 1000) * 1000 * 1000; } |
| 1606 | return (point->have_gps_time && ((below_gpstime <= point->gps_time - offset) && (point->gps_time <= above_gpstime - offset))); |
| 1607 | }; |
| 1608 | LAScriterionDropGpsTimeBetween(F64 below_gpstime, F64 above_gpstime) { this->below_gpstime = below_gpstime; this->above_gpstime = above_gpstime; }; |
| 1609 | private: |
| 1610 | F64 below_gpstime, above_gpstime; |
nothing calls this directly
no outgoing calls
no test coverage detected