BVectorTransformer Class Reference

#include <BVectorTransformer.h>

Inheritance diagram for BVectorTransformer:

Inheritance graph
[legend]

List of all members.


Detailed Description

An object that encapsulates the logic necessary to convert a BVectorLayer from one coordinate system to another.

Public Member Functions

 BVectorTransformer (const GeoCore::BCoordSysPtr &pTargCS)
 Constructs a BVectorTransformer that will convert coodinates to the specified coordinate system.
 BVectorTransformer ()
 Default constructor.
virtual bool Process (void)
 Processes the geometry in the BVectorLayer by transforming them to the target coordinate system.

Constructor & Destructor Documentation

BVectorTransformer (  )  [inline]

Default constructor.

BVectorTransformer ( const GeoCore::BCoordSysPtr pTargCS  )  [inline]

Constructs a BVectorTransformer that will convert coodinates to the specified coordinate system.

Parameters:
pTargCS The target coordinate system definition.


Member Function Documentation

virtual bool Process ( void   )  [virtual]

Processes the geometry in the BVectorLayer by transforming them to the target coordinate system.

Exceptions:
BNoLayerDataException This exception will be thrown if no layer data has been added to this BVectorTransformer. See the BLayerProcessor::SetData method to set the layer data.
BNoCoordSysException This exception will be thrown if the target coordinate system has not been specified. See the BCoordinateTransformer::SetTargetCoordSys method to set the target coordinate system definition.

Implements BCoordinateTransformer.


The documentation for this class was generated from the following file:

GeoTranslate 5.0 From Blue Marble Geographics