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