API Reference > OdGe Classes > OdGePlane Class > OdGePlane Methods > set Method > OdGePlane::set Method (OdGePoint3d&, OdGeVector3d&)
OdGePlane::set Method (OdGePoint3d&, OdGeVector3d&)
Syntax
C++
OdGePlane& set(const OdGePoint3d& point, const OdGeVector3d& normal);
Parameters 
Description 
const OdGeVector3d& normal 
[in] The normal to the plane. 

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.