ConvertSourceListToTarget Method

WRAPPER_API long ConvertSourceListToTarget(const CoordPointCollection& sourceList, CoordPointCollection& targetList) const;

 

Description

Converts the passed point collection 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");

}

}

}