HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_SplitPoints.h File Reference
#include "GEO_API.h"
#include <GA/GA_Types.h>
#include <SYS/SYS_Types.h>
+ Include dependency graph for GEO_SplitPoints.h:

Go to the source code of this file.

Macros

#define __GEO_SplitPoints__
 

Functions

GA_Size GEO_API GEOsplitPoints (GEO_Detail *detail, const GA_ElementGroup *group=nullptr)
 
GA_Size GEO_API GEOsplitPointsByAttrib (GEO_Detail *detail, const GA_ElementGroup *group, const GA_Attribute *attrib, fpreal tolerance=0)
 
GA_Size GEO_API GEOsplitPointsByAttrib (GEO_Detail *detail, const GA_Range &points, const GA_Attribute *attrib, fpreal tolerance=0)
 

Macro Definition Documentation

#define __GEO_SplitPoints__

Definition at line 14 of file GEO_SplitPoints.h.

Function Documentation

GA_Size GEO_API GEOsplitPoints ( GEO_Detail detail,
const GA_ElementGroup group = nullptr 
)

group can be a point, vertex, or primitive group to split out new points for all vertices associated with elements in the group, if the points are shared. This splits all points if group is nullptr. Returns the number of points added. This bumps data IDs as necessary if any points are split.

Definition at line 52 of file GEO_SplitPoints.C.

GA_Size GEO_API GEOsplitPointsByAttrib ( GEO_Detail detail,
const GA_ElementGroup group,
const GA_Attribute attrib,
fpreal  tolerance = 0 
)

group can be a point, vertex, or primitive group to split out new points for all clusters of vertices in the group where their values are unequal to at least one vertex (whether in the group or not) on the shared point. This splits all points by the attribute if group is nullptr. Returns the number of points added. This bumps data IDs as necessary if any points are split.

Definition at line 391 of file GEO_SplitPoints.C.

GA_Size GEO_API GEOsplitPointsByAttrib ( GEO_Detail detail,
const GA_Range points,
const GA_Attribute attrib,
fpreal  tolerance = 0 
)

Returns the number of points added. NOTE: You can use GU_Promote to promote primitive attributes to point attributes. This bumps data IDs as necessary if any points are split.

Definition at line 407 of file GEO_SplitPoints.C.