AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIIntersectionLineCurve.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIIntersectionLineCurve_H_
4 #define _APIIntersectionLineCurve_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class TopoShape;
19  {
21  public:
26  void SetCurve (const TopoShape& curve) ;
32  bool Perform (const Ray& ray) ;
38  bool Perform (const TopoShape& curve) ;
43  int GetPointCount () const;
49  Vector3 GetPoint (int idx) const;
55  Real GetParameter (int idx) const;
61  Real GetSquareDistance (int idx) const;
66  Vector3 GetNearestPoint () const;
67  };//IntersectionLineCurve;
68 }}//API
69 
70 #endif //_APIIntersectionLineCurve_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 curve.
Definition: APIIntersectionLineCurve.h:18
double Real
Definition: APIMath.h:7