API Reference > OdGe Classes > OdGePlane Class > OdGePlane Methods > set Method > OdGePlane::set Method (OdGePoint3d&, OdGePoint3d&, OdGePoint3d&)
OdGePlane::set Method (OdGePoint3d&, OdGePoint3d&, OdGePoint3d&)
Syntax
C++
OdGePlane& set(const OdGePoint3d& uPnt, const OdGePoint3d& origin, const OdGePoint3d& vPnt);
Parameters 
Description 
const OdGePoint3d& uPnt 
[in] A point at the end of the U-axis.  
const OdGePoint3d& origin 
[in] Origin of plane.  
const OdGePoint3d& vPnt 
[in] A point at the end of 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.