马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
本帖最后由 st788796 于 2014-9-14 11:26 编辑
AcGeCircArc3d建构器和析构器 AcGeCircArc3d::AcGeCircArc3d函数 AcGeCircArc3d( const AcGeCircArc3d& arc); 建构一条与输入弧线相同的3D弧线。 AcGeCircArc3d( const AcGePoint3d& cent, const AcGeVector3d& nrm, double radius); cent | 输入弧线的中心 | nrm | 输入弧线的法向量 | radius | 输入弧线的半径 |
以给定的圆心、法向量和半径建构一圆。半径一定不为0。建构向量按法向量为逆时针方向。 AcGeCircArc3d( const AcGePoint3d& cent, const AcGeVector3d& nrm, const AcGeVector3d& refVec, double radius, double startAngle, double endAngle); cent | 输入圆弧的中心 | nrm | 输入弧线的法向量 | refVec | 输入测量圆弧角度的参考向量 | radius | 输入圆弧的半径 | startAngle | 输入圆弧起点角度 | endAngle | 输入圆弧终点角度 |
以指定的中心、法向量、半径、起始角度和终止角度建构一圆弧。以弧线上的一点和中心点作一向量,并以该向量和参考向量(refVec)来测量角度。角度是以法向量的逆时针方向测量的。“nrm”必须垂直于“refVec”并且终止角度必须比起始角度大。若要建构一个圆,则终止角度和起始角度之差为2 x Pi。 AcGeCircArc3d( const AcGePoint3d& startPoint, const AcGePoint3d& point, const AcGePoint3d& endPoint); startPoint | 输入弧线的起始点 | point | 输入弧线上的点 | endPoint | 输入弧线的终止点 |
通过这三点建构一弧线。不论这三点是重复的还是共线的。这个建构器只能建构弧线,不能用于建构圆。
对应的 XdGe::Constructor
1 (setq ge1 (xdge::constructor (car (entsel))))
<图元名: 1d4d1660> 2 _$ (setq ge2 (XdGe::Constructor "kCircArc3d" (getpoint) (getpoint) (getpoint)))
<图元名: 1d4d4cc0> 中间一个方法没有测试成功
查询属性 命令: (xdge::method ge2)
<kCircArc3d>:
Edit Functions:
├───set
├───setAngles
├───setAxes
├───setCenter
├───setRadius
Geometric Inquiry Functions:
├───bulge
├───center
├───endAng
├───endPoint
├───normal
├───radius
├───refVec
├───startAng
├───startPoint
Geometric Relationship Functions:
├───closestPointToPlane
├───intersectWith
├───projIntersectWith
├───tangent
Query Functions:
├───getPlane
<kCurve3d>:
Bounding Box Functions:
├───boundBlock
├───orthoBoundBlock
Closest Point Functions:
├───closestPointTo
├───projClosestPointTo
Degeneracy Functions:
├───isDegenerate
Edit Functions:
├───setInterval
Evaluation Functions:
├───evalPoint
Geometric Inquiry Functions:
├───hasEndPoint
├───hasStartPoint
├───isClosed
├───isCoplannarWith
├───isLinear
├───isPeriodic
├───isPlannar
Length Functions:
├───area
├───length
├───paramAtLength
Parameterization Functions:
├───paramOf
├───reverseParam
Point Containment Functions:
├───isOn
├───orthoProject
├───project
Query Functions:
├───getClosestPointTo
├───getInterval
├───getLocalClosestPoints
├───getNormalPoint
├───getProjClosestPointTo
├───getSamplePoints
├───getSplitCurves
├───getTrimmedOffset
Subdivide Functions:
├───explode
<kEntity3d>:
Copy Functions:
├───copy
Equality Checking Functions:
├───isEqualTo
Miscellaneous Functions:
├───newEntity2d
├───newEntity3d
Point Containment Functions:
├───isOn
Transformation Functions:
├───mirror
├───rotateBy
├───scaleBy
├───transformBy
├───translateBy
Type Identification Functions:
├───isKindOf
├───type
_$ (xdge::type ge2)
"kCircArc3d"
_$ (xdge::isgeentity ge2)
T
_$ (xdge::isgeentity (entlast));_警告
nil
_$ (xdge::getpropertyvalue ge2 "center")
(2714.51 1145.3 0.0)
_$ (xdge::getpropertyvalue ge2 "Length")
nil
_$ (xdge::getpropertyvalue ge2 "area")
nil
_$ (xdge::getpropertyvalue ge2 "area" "length" "area" "startpoint")
(2718.4 1124.02 0.0)
_$ (xdge::getpropertyvalue ge2 "startpoint" "endpoint")
((2718.4 1124.02 0.0) (2718.4 1166.58 0.0)) _$ (xdge::getpropertyvalue ge2 "getSamplePoints" 5)
((2718.4 1124.02 0.0) (2731.12 1131.45 0.0) (2736.14 1145.3 0.0) (2731.12 1159.15 0.0) (2718.4 1166.58 0.0)) _$ (xdge::getpropertyvalue ge2 "length" 1.0 1.1)
2.16267
_$
还要熟悉 ARX Help 中的参数个数和意义!
|