InBounds Method

WRAPPER_API bool InBounds(CoordPoint &point) const

 

Description

The InBounds method indicates if the specified CoordPoint is within the bounds of this Envelope.  If AlwaysAccept is set to true, then this method will return true for all CoordPoints.

 

Example

void Envelope_InBounds(GeoCalcPBW::Envelope & env)

{

GeoCalcPBW::CoordPoint * pt = env.get_MinPoint().CloneCoordPoint();

pt->set_InUnits(1, 2);

bool inBounds = env.InBounds(*pt);

 

delete pt;

}