fix bug in PIGeoPosition
PIGeoPosition test success git-svn-id: svn://db.shs.com.ru/pip@145 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -382,10 +382,10 @@ double PIGeoPosition::radiusEarth(double geolat, PIEllipsoidModel ell) {
|
||||
}
|
||||
|
||||
|
||||
PIGeoPosition &PIGeoPosition::operator=(const PIGeoPosition &v) {
|
||||
*((PIMathVectorT3d*)(this)) = *((PIMathVectorT3d*)&v);
|
||||
return *this;
|
||||
}
|
||||
//PIGeoPosition &PIGeoPosition::operator=(const PIGeoPosition &v) {
|
||||
// *((PIMathVectorT3d*)(this)) = *((PIMathVectorT3d*)&v);
|
||||
// return *this;
|
||||
//}
|
||||
|
||||
|
||||
PIGeoPosition &PIGeoPosition::operator=(const PIMathVectorT3d &v) {
|
||||
|
||||
@@ -138,7 +138,7 @@ public:
|
||||
/// Computes the radius of curvature in the prime vertical (Rn) corresponding to this PIGeoPosition.
|
||||
double getCurvPrimeVertical() const;
|
||||
|
||||
PIGeoPosition &operator=(const PIGeoPosition & v);
|
||||
// PIGeoPosition &operator=(const PIGeoPosition & v);
|
||||
PIGeoPosition &operator=(const PIMathVectorT3d & v);
|
||||
PIGeoPosition &operator-=(const PIGeoPosition &right);
|
||||
PIGeoPosition &operator+=(const PIGeoPosition &right);
|
||||
|
||||
Reference in New Issue
Block a user