8 using namespace swift::misc::math;
9 using namespace swift::misc::physical_quantities;
13 namespace swift::misc::geo
21 int minValues,
int sufficentValues)
const
34 const double elvFt = coordinate.geodeticHeight().value(CLengthUnit::ft());
36 if (valuesInFt.
size() >= sufficentValues) {
break; }
41 const double MaxDevFt = maxDeviation.
value(CLengthUnit::ft());
42 const QPair<double, double> elvStdDevMean = CMathUtils::standardDeviationAndMean(valuesInFt);
size_type size() const
Returns number of elements in the sequence.
Q_REQUIRED_RESULT CSequence sorted(Predicate p) const
Return a copy sorted by a given comparator predicate.
CCoordinateGeodetic & reference
STL compatibility.
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.