#include <GU_Measure.h>
|
static void | computePerimeter (GU_Detail &gdp, const GA_RWHandleF &perimeter, const GA_PrimitiveGroup *group) |
|
static void | computeArea (GU_Detail &gdp, const GA_RWHandleF &area, const GA_PrimitiveGroup *group) |
|
static void | computeCurvature (GU_Detail &gdp, const GA_RWHandleF &curvature, const GA_ROHandleV3 &normal, const GA_PointGroup *pgroup, const CurvatureType type, fpreal min, fpreal max) |
|
static void | computeVolume (GU_Detail &gdp, const UT_Vector3 &refpt, const GA_RWHandleF &volume, const GA_PrimitiveGroup *group) |
|
Definition at line 23 of file GU_Measure.h.
Enumerator |
---|
CURVE_ALL |
|
CURVE_CONCAVE |
|
CURVE_CONVEX |
|
Definition at line 26 of file GU_Measure.h.
Measure the area of primitives The area of each primitive will be computed and stored in the attribute handle passed in. The attribute handle MUST point to a primitive attribute.
Measure the curvature of points The curvature of each point will be computed and stored in the attribute handle passed in. The normal attribute handle should point to an attribute containing the normal for each point (which does not have to be normalized). This is used in the curvature computations. The curvature computed is an approximation which is more accurate for polygon meshes. No special code is used to compute curvature on higher order surfaces. mode
Measure the perimeter of primitives The perimeter of each primitive will be computed and stored in the attribute handle passed in. The attribute handle MUST point to a primitive attribute.
The documentation for this class was generated from the following file: