CreateCoordPointCollection Constructor

WRAPPER_API static CoordPointCollection *CreateCoordPointCollection()

 

Description

The CreateCoordPointCollection constructor creates a new instance of the CoordPointCollection class.  The resulting collection contains no elements and uses a three-dimensional CartesianPoint as its point style.  

 

Example

void CoordPointCollection_CreateCoordPointCollection(GEOCALCPBW_NAMESPACE::DataSource & data)

{

GEOCALCPBW_NAMESPACE::CoordPointCollection * cpc = GEOCALCPBW_NAMESPACE::CoordPointCollection::CreateCoordPointCollection();

_towchar issuer("BMG");

_towchar code("PROJECTED_POINT_USFEET");

GEOCALCPBW_NAMESPACE::CoordPoint * pt = data.GetProjectedPoint(issuer.c_str(), code.c_str());

cpc->set_PointStyle(*pt);

 

delete cpc;

delete pt;

}