set_PointStyle Method

WRAPPER_API void set_PointStyle(const CoordPoint &value)

 

Description

The set_PointStyle method sets the CoordPoint that is used as a template for CoordPoints in this CoordPointCollection.  This method will not change any of the points in the collection.

 

Example

void CoordPointCollection_setPointStyle(GEOCALCPBW_NAMESPACE::CoordPointCollection & cpc, GEOCALCPBW_NAMESPACE::DataSource & data)

{

_towchar issuer("BMG");

_towchar code("PROJECTED_POINT_USFEET");

cpc.set_PointStyle(*(data.GetProjectedPoint(issuer.c_str(), code.c_str())));

GEOCALCPBW_NAMESPACE::CoordPoint * pt = cpc.get_PointStyle().CloneCoordPoint();

pt->set_InUnits(1, 2, 3);

cpc.AddPoint(*pt);

 

delete pt;

}