WRAPPER_API static CoordSys* CreateFromPtr(const GeoBase *parent, const void *inner);
The CreateFromPtr method initializes a CoordSys object using an internal pointer to some coordinate system data. This function is used for interoperability between Blue Marble Geographics' various libraries.
The parent parameter indicates the object that is responsible for managing the memory associated with the internal data. If this parameter is set to 0, then this CoordSys instance will be responsible for the memory. Otherwise, it will be assumed that another object is managing the memory, and this CoordSys instance will not release the internal data when it is destroyed. The second parameter, inner, is a pointer to some internal coordinate system data, presumably obtained from another of Blue Marble Geographics' libraries. The constructed CoordSys instance will wrap this inner pointer.