mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Ref T275, general improvement in value object added comparePropertyByIndex
This commit is contained in:
@@ -185,6 +185,18 @@ namespace BlackMisc
|
||||
}
|
||||
}
|
||||
|
||||
int CCoordinateGeodetic::comparePropertyByIndex(const CPropertyIndex &index, const CCoordinateGeodetic &compareValue) const
|
||||
{
|
||||
if (ICoordinateGeodetic::canHandleIndex(index))
|
||||
{
|
||||
return ICoordinateGeodetic::comparePropertyByIndex(index, compareValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
return CValueObject::comparePropertyByIndex(index, compareValue);
|
||||
}
|
||||
}
|
||||
|
||||
CCoordinateGeodetic::CCoordinateGeodetic(const std::array<double, 3> &normalVector)
|
||||
{
|
||||
this->setNormalVector(normalVector);
|
||||
|
||||
Reference in New Issue
Block a user