- UID
- 55031
- 积分
- 995
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2003-6-3
- 最后登录
- 1970-1-1
|
发表于 2004-5-19 19:41:37
|
显示全部楼层
- [FONT=courier new]
- void
- getSamplePoints(
- double fromParam,
- double toParam,
- double approxEps,
- AcGePoint2dArray& pointArray,
- AcGeDoubleArray& paramArray) const;
- fromParam Input starting parameter
- toParam Input ending parameter
- approxEps Input chord-height tolerance
- pointArray Output array of points on curve between fromParam and toParam
- paramArray Output array of parameters corresponding to points in pointArray
- Returns a list of points on the curve between fromParam and toParam. The line segment between any two consecutive points returned in pointArray does not deviate by more than approxEps from the curve.
- --------------------------------------------------------------------------------
- void
- getSamplePoints(
- int numSample,
- AcGePoint2dArray& unnamed) const;
- numSample Input number of points that are to be returned
- unnamed Output array of sampled points
- Returns the specified number of points on the curve. The points are equally spaced by parameter value. So if the interval of the curve [0,1] and numSample is 5, the parameter values of the returned points will be 0, 0.25, 0.5, 0.75, and 1.
- [/FONT]
复制代码 |
|