Transforms a point from construction plane coordinates to world coordinates.
Rhino.XformCPlaneToWorld (arrPoint, arrPlane)
arrPoint |
Required. Array. A 3-D point in construction plane coordinates. |
||||||||||
arrPlane |
Required. Array. The construction plane. The elements of a plane array are as follows:
|
Array |
A 3-D point in world coordinates if successful. |
Null |
If not successful, or on error. |
Dim arrPlanePt, arrPlane, arrPoint
arrPlanePt = Array(0.0, 0.0, 0.0)
arrPlane = Rhino.ViewCPlane
arrPoint = Rhino.XFormCPlaneToWorld(arrPlanePt, arrPlane)
If IsArray(arrPoint) Then
Rhino.Print "World point: " & Rhino.Pt2Str(arrPoint, 3)
End If