8 using namespace swift::misc::math;
9 using namespace swift::misc::physical_quantities;
13 namespace swift::misc::geo
15 CCoordinateGeodeticList::CCoordinateGeodeticList() {}
23 int minValues,
int sufficentValues)
const
36 const double elvFt = coordinate.geodeticHeight().value(CLengthUnit::ft());
38 if (valuesInFt.
size() >= sufficentValues) {
break; }
43 const double MaxDevFt = maxDeviation.
value(CLengthUnit::ft());
44 const QPair<double, double> elvStdDevMean = CMathUtils::standardDeviationAndMean(valuesInFt);
size_type size() const
Returns number of elements in the sequence.
CCoordinateGeodetic & reference
STL compatibility.
Q_REQUIRED_RESULT CSequence sorted(Predicate p) const
Return a copy sorted by a given comparator predicate.
Value object encapsulating a list of coordinates.
CElevationPlane averageGeodeticHeight(const CCoordinateGeodetic &reference, const physical_quantities::CLength &range, const physical_quantities::CLength &maxDeviation=physical_quantities::CLength(1.0, physical_quantities::CLengthUnit::m()), int minValues=3, int sufficentValues=5) const
Average height within range and having an height.
Plane of same elevation, can be a single point or larger area (e.g. airport)
static const physical_quantities::CLength & singlePointRadius()
Radius for single point.
static const CElevationPlane & null()
NULL plane.
CONTAINER sortedByEuclideanDistanceSquared(const ICoordinateGeodetic &coordinate) const
Sorted by distance.
CONTAINER findWithinRange(const ICoordinateGeodetic &coordinate, const physical_quantities::CLength &range) const
Find 0..n objects within range of given coordinate.
CCoordinateGeodeticList findWithGeodeticMSLHeight() const
Elements with geodetic height (only MSL)
Physical unit length (length)
double value(MU unit) const
Value in given unit.
void push_back(QList< T >::parameter_type value)
qsizetype size() const const
#define SWIFT_DEFINE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template definition of mixins for a CSequence subclass.