WRAPPER_API CoordPoint *get_Point(long index) const
WRAPPER_API CoordPoint *get_Point(const BmgChar *name) const
The get_Point method returns the specified CoordPoint. There are two signatures for this method, one that allows the desired point to be specified by its index in this collection, and one that allows the desired point to be specified by name.
It is the users responsibility to free the returned CoordPoint objects.
void CoordPointCollection_getPoint(GEOCALCPBW_NAMESPACE::CoordPointCollection & cpc)
{
for(int i = 0; i < cpc.get_Count(); i++)
{
GEOCALCPBW_NAMESPACE::CoordPoint * pt = cpc.get_Point(i);
delete pt;
}
}