API Reference > OdGe Classes > OdGePlane Class > OdGePlane Methods > set Method > OdGePlane::set Method (double, double, double, double)
OdGePlane::set Method (double, double, double, double)
Syntax
C++
OdGePlane& set(double a, double b, double c, double d);
Parameters 
Description 
double a 
[in] Coefficient a.  
double b 
[in] Coefficient b.  
double c 
[in] Coefficient c.  
double d 
[in] Coefficient d. 

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.