get_PointStyle Method

WRAPPER_API CoordPoint &get_PointStyle()

WRAPPER_API const CoordPoint &get_PointStyle() const

 

Description

The get_PointStyle method returns the CoordPoint that is used as a template for points in this collection.

 

Example

void CoordPointCollection_getPointStyle(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;

}