HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_FitPlane.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5 */
6 
7 #ifndef __GU_FitPlane_h__
8 #define __GU_FitPlane_h__
9 
10 #include "GU_API.h"
11 
12 #include <UT/UT_Vector3.h>
13 
14 class GA_PointGroup;
15 class GU_Detail;
16 
17 /// Fits a plane to the given set of points.
18 /// Returns true if a plane could be fit successfully.
19 bool GU_API
20 GUfitPlane(const GU_Detail *gdp, const GA_PointGroup *ptgrp,
22 
23 #endif
GA_Attribute * normal(bool internal=false, const GA_PrimitiveGroup *primgroup=nullptr)
#define GU_API
Definition: GU_API.h:14
fpreal64 fpreal
Definition: SYS_Types.h:277
bool GU_API GUfitPlane(const GU_Detail *gdp, const GA_PointGroup *ptgrp, UT_Vector3R &normal, fpreal &distance)
SIM_API const UT_StringHolder distance