API Reference > OdGe Classes > OdGePlane Class > OdGePlane Methods > set Method > OdGePlane::set Method (OdGePoint3d&, OdGeVector3d&, OdGeVector3d&)
OdGePlane::set Method (OdGePoint3d&, OdGeVector3d&, OdGeVector3d&)
Syntax
C++
OdGePlane& set(const OdGePoint3d& origin, const OdGeVector3d& uAxis, const OdGeVector3d& vAxis);
Parameters 
Description 
const OdGePoint3d& origin 
[in] Origin of plane.  
const OdGeVector3d& uAxis 
[in] The U-axis.  
const OdGeVector3d& vAxis 
[in] The V-axis. 

Returns a reference to this plane.

Sets the parameters for this plane according to the arguments. 

 

A parametric point on the plane with parameters u and v maps to the point S(u,v) as follows 

S(u,v) = originOfPlanarEntity + (u * uAxis) + (v * vAxis) 

uAxis and vAxis need not be either normalized or perpendicular, but they must not be collinear. 

The orthonormal canonical coordinate system associated with a plane defined follows 

untitled table origin Origin of plane. originOfPlanarEntiity axis1 A unit vector in the plane. uAxis.normal() axis2 A unit vector perpendicular to the plane. uAxis.crossProduct(vAxis).normal() 

The plane equation for this plane is as follows 

a * X + b * Y + c * Z + d = 0

Copyright © 2002–2020. Open Design Alliance. All rights reserved.