Rhino 常用创建几何体函数 2 线
1)直线:
Rhino.AddLine (arrStart, arrEnd)
2)多段线:
Rhino.AddPolyline (arrPoints)
3)圆:
Rhino.AddCircle (arrPlane, dblRadius)
4)求平面闭合曲线面积:
Rhino.CurveArea ( strObject)
5)求平面闭合曲线中心点:
Rhino.CurveAreaCentroid ( strObject)
6)布尔运算并集:
Rhino.CurveBooleanUnion (arrCurves [, blnDelete])
7)曲线与曲线相交:
Rhino.CurveCurveIntersection(strObject1 , strObject2 [, dblTolerance])
8)线终点:
Rhino.CurveEndPoint (strObject [, intIndex [, arrPoint]])
9)线起点:
Rhino.CurveStartPoint (strObject [, intIndex [, arrPoint]])
10)求曲线长度:
Rhino.CurveLength (strObject [, intIndex [, arrSubDomain]])
11)求曲线中点:
Rhino.CurveMidPoint (strObject [, intIndex])
12)等分曲线:
Rhino.DivideCurve (strObject, lngSegments [, blnCreate [, blnPoints
[, arrInterval]]])
13)以长度等分曲线:
Rhino.DivideCurveLength (strObject, dblLength [, blnCreate [,
blnPoints [, arrInterval]])
14)炸开曲线:
Rhino.ExplodeCurves (strObject [, blnDelete [, blnReturnSingles]])
10)延伸曲线:
Rhino. ExtendCurveLength(strObject, intType, intSide, arrObjects)
11)合并曲线:
Rhino.JoinCurves (arrObjects [, blnDelete [, dblTolerance]])
12)偏距曲线:
Rhino.OffsetCurve (strObject, arrDirection, dblDistance [,
arrNormal [, intStyle]])
13)反转曲线:
Rhino.ReverseCurve (strObject)
14)分割曲线:
Rhino.SplitCurve (strObject, dblParameter [, blnDelete])
15)剪切曲线:
Rhino.TrimCurve (strObject, arrInterval [, blnDelete])
16)移动基准平面:
Rhino.MovePlane (Rhino.WorldXYPlane, arrOrigin)
点击加载更多评论>>