Files
envi-code/SourceCode/Code2026/inc/AdsXRx/XSortSideOnVertex.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

52 lines
1.1 KiB
C++

//-----------------------------------------------------------------------------+
// Copyright (C), 1998-2007, SH Software Co. Ltd.
// = FileName : XSortSideOnVertex 类
// = Version : ver2.0
// = Author : zjq
// = CreateDate : 2002-09-09
// = Description: XSortSideOnVertex 声明
// = 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;
// 排序边表,连接在一个点上的所有边
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