HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Snap Namespace Reference

Classes

struct  AttributeMergeData
 
struct  CommonSnapParms
 
struct  PointSnapParms
 
struct  GridSnapParms
 
struct  AttribSnapParms
 

Enumerations

enum  AttributeMergeMethod {
  MERGE_ATTRIBUTE_MAX, MERGE_ATTRIBUTE_MIN, MERGE_ATTRIBUTE_MEAN, MERGE_ATTRIBUTE_MODE,
  MERGE_ATTRIBUTE_MEDIAN, MERGE_ATTRIBUTE_SUM, MERGE_ATTRIBUTE_SUMSQUARE, MERGE_ATTRIBUTE_RMS,
  MERGE_ATTRIBUTE_FIRST, MERGE_ATTRIBUTE_LAST, MERGE_ATTRIBUTE_CONCAT, MERGE_ATTRIBUTE_WEIGHTEDMEAN,
  MERGE_ATTRIBUTE_WEIGHTEDSUM, MERGE_ATTRIBUTE_MINWEIGHT, MERGE_ATTRIBUTE_MAXWEIGHT, MERGE_ATTRIBUTE_CONCATORDERED
}
 

Functions

GU_API void snapPoints (GU_Detail &qgdp, const GU_Detail *tgdp, const PointSnapParms &parms)
 
GU_API void snapGrid (GU_Detail &gdp, const GridSnapParms &parms)
 
GU_API void snapByAttrib (GU_Detail &qgdp, const GU_Detail *tgdp, const AttribSnapParms &parms)
 

Enumeration Type Documentation

Enumerator
MERGE_ATTRIBUTE_MAX 
MERGE_ATTRIBUTE_MIN 
MERGE_ATTRIBUTE_MEAN 
MERGE_ATTRIBUTE_MODE 
MERGE_ATTRIBUTE_MEDIAN 
MERGE_ATTRIBUTE_SUM 
MERGE_ATTRIBUTE_SUMSQUARE 
MERGE_ATTRIBUTE_RMS 
MERGE_ATTRIBUTE_FIRST 
MERGE_ATTRIBUTE_LAST 
MERGE_ATTRIBUTE_CONCAT 
MERGE_ATTRIBUTE_WEIGHTEDMEAN 
MERGE_ATTRIBUTE_WEIGHTEDSUM 
MERGE_ATTRIBUTE_MINWEIGHT 
MERGE_ATTRIBUTE_MAXWEIGHT 
MERGE_ATTRIBUTE_CONCATORDERED 

Definition at line 26 of file GU_Snap.h.

Function Documentation

GU_API void GU_Snap::snapByAttrib ( GU_Detail qgdp,
const GU_Detail tgdp,
const AttribSnapParms &  parms 
)

Snaps query elements to the target elements specified by parms.myTargetElemAttrib and parms.myTargetOwner.

GU_API void GU_Snap::snapGrid ( GU_Detail gdp,
const GridSnapParms &  parms 
)

NOTE: myTGroup, myModifyBothQueryAndTarget, and myOutputAttribH are NOT used by this.

GU_API void GU_Snap::snapPoints ( GU_Detail qgdp,
const GU_Detail tgdp,
const PointSnapParms &  parms 
)

Snaps together points in qgdp based on parameters in parms. If tgdp is null, qgdp is used for both the query points and target points.