39 lines
805 B
C++
39 lines
805 B
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, SH Software Co. Ltd.
|
|
// = FileName : XRegionIndex Àà
|
|
// = Version : ver2.0
|
|
// = Author : zjq
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: XRegionIndex ÉùÃ÷
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _XREGIONINDEX_H_
|
|
#define _XREGIONINDEX_H_
|
|
|
|
#ifndef _XPOINT_H_
|
|
#include "XPoint.h"
|
|
#endif
|
|
|
|
class GEOAPI XRegionIndex
|
|
{
|
|
public:
|
|
|
|
XRegionIndex();
|
|
XRegionIndex(int idx, double dArea, XPoint pt);
|
|
virtual ~XRegionIndex();
|
|
|
|
static int CompareRegion(const XRegionIndex *p1, const XRegionIndex *p2);
|
|
|
|
public:
|
|
|
|
int m_nIndex;
|
|
|
|
double m_nPathArea;
|
|
|
|
XPoint m_ptInside;
|
|
};
|
|
|
|
#endif
|
|
|