- /************************************************************
- 文件名: Vct.h
- 作者: 谢婧 Version : 1.0 Date: 2008/05/26
- 类描述: 对vct文件各个数据结构的定义
- 邮件地址:xiejing0707@163.com
- ***********************************************************/
- struct VCTFileHead
- {
- CString DataMark;
- float VerSion;
- char Unit;
- int Dim;
- int Topo;
- float MinX;
- float MinY;
- float MinZ;
- float MaxX;
- float MaxY;
- float MaxZ;
- float ScaleM;
- CString Projection;
- CString Spheroid;
- CString Parameters;
- CString Date;
- char Separator;
- char Coordinate;
- };
- ///////////////////////////////////////////////////
- struct VCTFeature
- {
- CString Code;
- CString Name;
- CString Shape;
- int Color;
- CString ListName;
- VCTFeature* pNext;
- };
- /////////////////////////////////////////////////////
- struct VCTItem
- {
- CString Name;
- CString Type;
- int Width;
- int Pric;
- };
- struct VCTTableStructure
- {
- CString ListName;
- int ItemNum ;
- VCTItem* pItem;
- VCTTableStructure* pTblNext;
- };
- ////////////////////////////////////////////////////////////////////
- struct VCTPointData
- {
- CString AimCode;
- CString FeatureCode;
- CString LayerName;
- int PointMark;
- float X;
- float Y;
- //float Z;
- //int LinkObjectNum;
- //CString* pHeadLkAimCode;
- VCTPointData* pNext;
- };
- ///////////////////////////////////////////////////////////////
- struct VCTPoint
- {
- float X;
- float Y;
- float Z;
- VCTPoint* pNext;
- };
- struct VCTLineData
- {
- CString AimCode;
- CString FeatureCode;
- CString LayerName;
- int LineMark;
- int PointNum;
- int ChildNum;
- int* pMemberChild;
- VCTPoint* pMemberPoint;
- VCTLineData *pNext;
- };
- //////////////////////////////////////////////////////////////////
- struct VCTPolygonData
- {
- CString AimCode;
- CString FeatureCode;
- CString LayerName;
- float labX;
- float labY;
- int PointNum;
- int ChildNum;
- int* pMemberChild;
- VCTPoint* pMemberPoint;
- VCTPolygonData *pNext;
- };
- /////////////////////////////////////////////////////////////
- struct VCTAnnotation
- {
- CString AimCode;
- CString FeatureCode;
- CString LayerName;
- CString Font;
- int Color;
- int Pound;
- int Shape;
- char Udline;
- float Size;
- float Width;
- float High;
- float Intevel;
- CString Content;
- int AntnNum;
- VCTPoint *pMemberPoint;
- VCTAnnotation *pNext;
- };
- //////////////////////////////////////////////////////////////////
- struct VCTRecordList
- {
- CString Record;
- VCTRecordList* pNext;
- };
- struct VCTAttribute
- {
- CString ListName;
- int ItemNum;
- VCTRecordList *pRecordList;
- VCTAttribute* pNext;
- };
- ////////////////////////////