WRAPPER_API bool ConvertSourceToTarget(const CoordPoint &sourcePoint,
CoordPoint &targetPoint) const;
WRAPPER_API bool ConvertSourceToTarget(constdouble
sourceXYZ[], double targetXYZ[])
const;
Description
Converts the passed point from the source coordinate system to the target coordinate system.
Example
void DataSource_Put(GEOCALCPBW_NAMESPACE::DataSource & data)
{
if(data.get_IsLoaded() &&
data.get_Editable())
{
GEOCALCPBW_NAMESPACE::AngularUnit au;
au.get_Identifiers().Add(_towchar("GC"),
_towchar("A_Super_Great_AngularUnit"));
if(! data.PutAngularUnit(au,
TRUE))
{
AfxMessageBox("PutAngularUnit
failed");
}
}
}
Comments
0 comments
Please sign in to leave a comment.