20 std::string StringConvert::ManagedToUnmanaged( System::String^
s )
23 std::string output( reinterpret_cast<const char*>(buffer.ToPointer()) );
24 Marshal::FreeHGlobal(buffer);
29 System::String^ VersionInfo::GetString()
35 int VersionInfo::MajorVersion()
41 int VersionInfo::MinorVersion()
47 int VersionInfo::Patch()
53 double Utility::FractionalYear( System::String^
s )
55 return GeographicLib::Utility::fractionalyear<double>(
56 StringConvert::ManagedToUnmanaged( s ) );
Header for NETGeographicLib::NETGeographicLib objects.
Header for GeographicLib::Utility class.
#define GEOGRAPHICLIB_VERSION_PATCH
#define GEOGRAPHICLIB_VERSION_MINOR
#define GEOGRAPHICLIB_VERSION_STRING
#define GEOGRAPHICLIB_VERSION_MAJOR