XformCPlaneToWorld

Transforms a point from construction plane coordinates to world coordinates.

Syntax

rhinoscriptsyntax.XformCPlaneToWorld (point, plane)

rhinoscript.transformation.XformCPlaneToWorld (point, plane)

Parameters

point

Required.  List of 3 numbers or Point3d.  A 3-D point in construction plane coordinates.

plane

Required.  List or Plane. The construction plane.  If a list, the elements of a plane array are as follows:

Element

Description

0

Required.  The construction plane's origin (3-D point).

1

Required.  The construction plane's X axis direction (3-D vector).

2

Required.  The construction plane's Y axis direction (3-D vector).

3

Optional.  The construction plane's Z axis direction (3-D vector).

Returns

Point3d

A 3-D point in world coordinates if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

plane = rs.ViewCPlane()

point = rs.XFormCPlaneToWorld([0,0,0], plane)

if point: print "World point: ", point

Also See

XformWorldToCPlane