Rhino 常用創(chuàng)建幾何體函數(shù) 2 線
1)直線:
Rhino.AddLine (arrStart, arrEnd)
2)多段線:
Rhino.AddPolyline (arrPoints)
3)圓:
Rhino.AddCircle (arrPlane, dblRadius)
4)求平面閉合曲線面積:
Rhino.CurveArea ( strObject)
5)求平面閉合曲線中心點(diǎn):
Rhino.CurveAreaCentroid ( strObject)
6)布爾運(yùn)算并集:
Rhino.CurveBooleanUnion (arrCurves [, blnDelete])
7)曲線與曲線相交:
Rhino.CurveCurveIntersection(strObject1 , strObject2 [, dblTolerance])
8)線終點(diǎn):
Rhino.CurveEndPoint (strObject [, intIndex [, arrPoint]])
9)線起點(diǎn):
Rhino.CurveStartPoint (strObject [, intIndex [, arrPoint]])
10)求曲線長度:
Rhino.CurveLength (strObject [, intIndex [, arrSubDomain]])
11)求曲線中點(diǎn):
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)反轉(zhuǎn)曲線:
Rhino.ReverseCurve (strObject)
14)分割曲線:
Rhino.SplitCurve (strObject, dblParameter [, blnDelete])
15)剪切曲線:
Rhino.TrimCurve (strObject, arrInterval [, blnDelete])
16)移動(dòng)基準(zhǔn)平面:
Rhino.MovePlane (Rhino.WorldXYPlane, arrOrigin)
點(diǎn)擊加載更多評論>>