SDTS_AL
Public Member Functions | List of all members
SDTSPolygonReader Class Reference

#include <sdts_al.h>

Inheritance diagram for SDTSPolygonReader:
SDTSIndexedReader

Public Member Functions

void AssembleRings (SDTSTransfer *, int iPolyLayer)
 
- Public Member Functions inherited from SDTSIndexedReader
SDTSFeatureGetNextFeature ()
 
virtual void Rewind ()
 
void FillIndex ()
 
void ClearIndex ()
 
int IsIndexed ()
 
SDTSFeatureGetIndexedFeatureRef (int)
 
char ** ScanModuleReferences (const char *="ATID")
 

Detailed Description

Class for reading SDTSRawPolygon features from a polygon (PC*) module.

Member Function Documentation

◆ AssembleRings()

void SDTSPolygonReader::AssembleRings ( SDTSTransfer poTransfer,
int  iPolyLayer 
)

Assemble geometry for a polygon transfer.

This method takes care of attaching lines from all the line layers in this transfer to this polygon layer, assembling the lines into rings on the polygons, and then cleaning up unnecessary intermediate results.

Currently this method will leave the line layers rewound to the beginning but indexed, and the polygon layer rewound but indexed. In the future it may restore reading positions, and possibly flush line indexes if they were not previously indexed.

This method does nothing if the rings have already been assembled on this layer using this method.

See SDTSRawPolygon::AssembleRings() for more information on how the lines are assembled into rings.

Parameters
poTransferthe SDTSTransfer that this reader is a part of. Used to get a list of line layers that might be needed.
iPolyLayerthe polygon reader instance number, used to avoid processing lines for other layers.

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