Update of /cvsroot/gcblue/gcb_wx/include/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14606/include/common
Modified Files:
simmath.h
Log Message:
Index: simmath.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/common/simmath.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** simmath.h 7 Mar 2005 01:54:18 -0000 1.28
--- simmath.h 10 Mar 2005 03:28:26 -0000 1.29
***************
*** 122,125 ****
--- 122,127 ----
bool IsMissile() {return ((mnClassification & PTYPE_MISSILE) != 0);}
bool IsSurface() {return ((mnClassification & PTYPE_SURFACE) != 0);}
+ bool IsSub() {return ((mnClassification == PTYPE_SUBMARINE) != 0);}
+ bool IsTorpedo() {return ((mnClassification == PTYPE_TORPEDO) != 0);}
bool IsValid() {return mnID != -1;}
bool IsBearingOnly() const;
***************
*** 188,196 ****
float HeadingToTrack(const tcTrack& track);
float HeadingToGeoRad(const GeoPoint *apGeoPoint);
! float RangeToKm(const GeoPoint *apGeoPoint);
! float RangeToKm(tcKinematics& k);
! float RangeToKm(const tcTrack& track);
! float RangeToKm(float lon_rad, float lat_rad);
! float RangeToKmAlt(tcKinematics& k);
//float InterceptHeadingToTrack(tcTrack& track, float& afTimeToIntercept);
void GetInterceptData2D(const tcTrack& track, float& rfHeading_rad,
--- 190,198 ----
float HeadingToTrack(const tcTrack& track);
float HeadingToGeoRad(const GeoPoint *apGeoPoint);
! float RangeToKm(const GeoPoint *apGeoPoint) const;
! float RangeToKm(tcKinematics& k) const;
! float RangeToKm(const tcTrack& track) const;
! float RangeToKm(float lon_rad, float lat_rad) const;
! float RangeToKmAlt(tcKinematics& k) const;
//float InterceptHeadingToTrack(tcTrack& track, float& afTimeToIntercept);
void GetInterceptData2D(const tcTrack& track, float& rfHeading_rad,
|