AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIIntersectionLineSurface.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIIntersectionLineSurface_H_
4 #define _APIIntersectionLineSurface_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class TopoShape;
19  {
21  public:
26  void SetSurface (const TopoShape& surface) ;
32  bool Perform (const Ray& ray) ;
40  bool Perform (const TopoShape& curve, Real startParam, Real endParam) ;
45  int GetPointCount () const;
51  Vector3 GetPoint (int idx) const;
57  Real GetParameterU (int idx) const;
63  Real GetParameterV (int idx) const;
69  Real GetParameterW (int idx) const;
74  Vector3 GetNearestPoint () const;
75  };//IntersectionLineSurface;
76 }}//API
77 
78 #endif //_APIIntersectionLineSurface_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
Ray.
Definition: APIMath.h:364
拓扑对象
Definition: APITopoShape.h:18
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
Point or vector.
Definition: APIMath.h:37
Intersection testing for line and surface.
Definition: APIIntersectionLineSurface.h:18
double Real
Definition: APIMath.h:7