AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIRepairTools.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIRepairTools_H_
4 #define _APIRepairTools_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class TopoShape;
11  class ShapeProcessSettings;
20  {
22  public:
28  static TopoShape RemoveExtraEdges (const TopoShape& shape) ;
35  static bool IsSelfIntersection (const TopoShape& shape, int level) ;
43  static TopoShape GlueFaces (const TopoShape& shape, Real tolerance, bool keepNonSolid) ;
51  static TopoShape GlueEdges (const TopoShape& shape, Real tolerance, bool keepNonSolid) ;
58  static TopoShape UnionFaces (const TopoShape& shape, Real tolerance) ;
64  static TopoShape FuseCollinearEdgesWithinWire (const TopoShape& wire) ;
70  static TopoShape RemoveInternalFaces (const TopoShape& shape) ;
78  static TopoShape Sewing (const TopoShape& shape, Real tolerance, bool allowNonManifold) ;
85  static TopoShape SuppressHoles (const TopoShape& shape, const UIntList& wireIds) ;
92  static TopoShape SuppressInternalWires (const TopoShape& shape, const UIntList& wireIds) ;
100  static TopoShape CloseContour (const TopoShape& shape, const UIntList& wireIds, bool byCommonVertexOrNewEdge) ;
109  static TopoShape DivideEdge (const TopoShape& shape, int edgeId, Real aValue, bool isByParameter) ;
116  static TopoShape ProcessShape (const TopoShape& shape, const ShapeProcessSettings& settings) ;
117  };//RepairTools;
118 }}//API
119 
120 #endif //_APIRepairTools_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
The shape processing settings.
Definition: APIShapeProcessSettings.h:17
std::vector< unsigned int > UIntList
Definition: APIString.h:17
Repair tool.
Definition: APIRepairTools.h:19
拓扑对象
Definition: APITopoShape.h:18
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
double Real
Definition: APIMath.h:7