Q3Mesh_GetFacePlaneEquation
You can use theQ3Mesh_GetFacePlaneEquationfunction to determine the plane equation of a face of a mesh.
TQ3Status Q3Mesh_GetFacePlaneEquation ( TQ3GeometryObject mesh, TQ3MeshFace face, TQ3PlaneEquation *planeEquation);
mesh- A mesh.
face- A mesh face.
planeEquation- On exit, the plane equation of the plane spanned by the vertices of the specified mesh face.
DESCRIPTION
TheQ3Mesh_GetFacePlaneEquationfunction returns, in theplaneEquationparameter, the plane equation of the plane spanned by the vertices of the mesh face specified by themeshandfaceparameters. If the vertices of the mesh face do not all lie in one plane, the information returned in theplaneEquationparameter is only an approximation.