47 lines
1.1 KiB
C++
47 lines
1.1 KiB
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TPGeFitTriangle3D Àà
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TPGeFitTriangle3D ÉùÃ÷
|
|
// = Maintainers:
|
|
//
|
|
//-------------------------------------------------------------------------------------------------------+
|
|
#ifndef _TPGEFITTRIANGLE3D_H_
|
|
#define _TPGEFITTRIANGLE3D_H_
|
|
|
|
#ifndef _TPGEDSCEDGE3D_H_
|
|
#include "TPGeDscEdge3D.h"
|
|
#endif
|
|
|
|
#ifndef _TPDLIST_H_
|
|
#include "TPDList.h"
|
|
#endif
|
|
|
|
class GTriangle2D;
|
|
|
|
class GEOAPI TPGeFitTriangle3D
|
|
{
|
|
public:
|
|
|
|
TPGeFitTriangle3D(TPGeDscEdge3D*p0,TPGeDscEdge3D*p1,TPGeDscEdge3D*p2);
|
|
|
|
virtual ~TPGeFitTriangle3D();
|
|
|
|
|
|
GTriangle2D* CreateTriangle();
|
|
|
|
//¼ÆËãÄâºÏ±ß
|
|
void GetFitEdge(double value,TPDList<TPGeDscEdge3D>&res);
|
|
|
|
bool operator >(const TPGeFitTriangle3D&)const;
|
|
|
|
bool operator <(const TPGeFitTriangle3D&)const;
|
|
|
|
public:
|
|
|
|
TPGeDscEdge3D *pEdge0,*pEdge1,*pEdge2;
|
|
};
|
|
|
|
#endif |