WRAPPER_API CoordPointCollection()
WRAPPER_API CoordPointCollection(const CoordPoint &pointStyle)
WRAPPER_API CoordPointCollection(const CoordPointCollection &source)
The CoordPointCollection constructor creates a new instance of the CoordPointCollection class. There are three signatures for this constructor.
The default constructor takes no arguments and produces an empty CoordPointCollection. The point style given by a three-dimensional CartesianPoint that uses meters to express its coordinate values.
The second constructor takes a single argument that gives the point style to use in this CoordPointCollection. The resulting collection contains no elements.
The final constructor is a copy-constructor. It takes a single argument that indicates the CoordPointCollection whose value should be copied to make the new CoordPointCollection.
void CoordPointCollection_CoordPointCollection(GEOCALCPBW_NAMESPACE::DataSource & data)
{
_towchar issuer("BMG");
_towchar code("PROJECTED_POINT_USFEET");
GEOCALCPBW_NAMESPACE::CoordPoint * pt = data.GetProjectedPoint(issuer.c_str(), code.c_str());
GEOCALCPBW_NAMESPACE::CoordPointCollection * cpc1 = new GEOCALCPBW_NAMESPACE::CoordPointCollection();
cpc1->set_PointStyle(*pt);
GEOCALCPBW_NAMESPACE::CoordPointCollection * cpc2 = new GEOCALCPBW_NAMESPACE::CoordPointCollection(*pt);
GEOCALCPBW_NAMESPACE::CoordPointCollection * cpcCopy = new GEOCALCPBW_NAMESPACE::CoordPointCollection(*cpc1);
delete cpc1;
delete cpc2;
delete cpcCopy;
delete pt;
}