Plane Constructor (XYZ, XYZ, XYZ)


Construct a Plane object from X and Y axes and an origin represented as XYZ objects. The plane passes through "origin" and is spanned by the basis vectors "xVec" and "yVec".

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since: 2016

Syntax

C#
public Plane(
	XYZ xVec,
	XYZ yVec,
	XYZ origin
)
Visual Basic
Public Sub New ( _
	xVec As XYZ, _
	yVec As XYZ, _
	origin As XYZ _
)
Visual C++
public:
Plane(
	XYZ^ xVec, 
	XYZ^ yVec, 
	XYZ^ origin
)

Parameters

xVec
Type: Autodesk.Revit.DB XYZ
X axis of the resulting Plane object.
yVec
Type: Autodesk.Revit.DB XYZ
Y axis of the resulting Plane object.
origin
Type: Autodesk.Revit.DB XYZ
Origin of the resulting Plane object.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also