Click or drag to resize

PlaneCreateFromNormalYup Method

Construct a plane from a point, a normal vector, and a vector that projects to the positive YAxis.

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

Parameters

origin
Type: Rhino.GeometryPoint3d
Point on the plane.
normal
Type: Rhino.GeometryVector3d
Non-zero normal to the plane.
yDirection
Type: Rhino.GeometryVector3d
Non-zero vector, linearly independent from normal, that projects to the positive YAxis of the plane.

Return Value

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