HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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,
21
UT_Vector3R
&
normal
,
fpreal
&
distance
);
22
23
#endif
UT_Vector3.h
UT_Vector3T< fpreal >
GA_PointGroup
Definition:
GA_ElementGroup.h:33
GEO_Detail::normal
GA_Attribute * normal(bool internal=false, const GA_PrimitiveGroup *primgroup=nullptr)
GU_API
#define GU_API
Definition:
GU_API.h:14
fpreal
fpreal64 fpreal
Definition:
SYS_Types.h:277
GU_Detail
Definition:
GU_Detail.h:154
GU_API.h
GUfitPlane
bool GU_API GUfitPlane(const GU_Detail *gdp, const GA_PointGroup *ptgrp, UT_Vector3R &normal, fpreal &distance)
SIM_ConstraintNetwork::Names::distance
SIM_API const UT_StringHolder distance
GU
GU_FitPlane.h
Generated on Tue Dec 17 2024 03:39:46 for HDK by
1.8.6