Click or drag to resize

PlaneCreateFromFrame Method

Constructs a plane from a point, and two vectors in the plane.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static Plane CreateFromFrame(
	Point3d origin,
	Vector3d xDirection,
	Vector3d yDirection
)

Parameters

origin
Type: Rhino.GeometryPoint3d
Point on the plane.
xDirection
Type: Rhino.GeometryVector3d
Non-zero vector in the plane that determines the XAxis direction.
yDirection
Type: Rhino.GeometryVector3d
Non-zero vector not parallel to xDirection that is used to determine the YAxis direction. Note, yDirection does not have to be perpendicular to xDirection.

Return Value

Type: Plane
A valid plane if successful, or Plane.Unset on failure.
See Also