Files
envi-code/SourceCode/Code2026/inc/AdsXRx/XSortSideOnVertex.h
T

51 lines
1.1 KiB
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
//-----------------------------------------------------------------------------+
2026-09-28 15:28:50 +08:00
// Copyright (C), 1998-2007, SH Software Co. Ltd.
2026-10-04 00:04:20 +08:00
// = FileName : XSortSideOnVertex 类
2026-09-28 15:28:50 +08:00
// = Version : ver2.0
// = Author : zjq
// = CreateDate : 2002-09-09
2026-10-04 00:04:20 +08:00
// = Description: XSortSideOnVertex 声明
2026-09-28 15:28:50 +08:00
// = Maintainers:
//
//-----------------------------------------------------------------------------+
#ifndef _XSortSideOnVertex_H_
#define _XSortSideOnVertex_H_
#ifndef _XSIDEVECTOR_H_
#include "XSideVector.h"
#endif
#ifndef _DLIST_H_
#include "DList.h"
#endif
#ifndef _XPOINT_H_
#include "XPoint.h"
#endif
class XRegionSide;
2026-10-04 00:04:20 +08:00
// 排序边表,连接在一个点上的所有边
2026-09-28 15:28:50 +08:00
class GEOAPI XSortSideOnVertex : public DList<XSideVector>
{
public:
XSortSideOnVertex(const XPoint &ptLoc);
virtual ~XSortSideOnVertex();
BOOL Include(const XPoint &pt) const;
int Insert(XRegionSide *pSide);
XSideVector * GetPrevSide(int iVal) const;
XSideVector * GetNextSide(int iVal) const;
public:
XPoint m_ptLoc;
XPoint m_ptMin, m_ptMax;
};
#endif