HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_ExpandGroupUtils::ConnectAttribute Class Reference

#include <GEO_ExpandGroupUtils.h>

Public Member Functions

 ConnectAttribute (const GA_Attribute *attrib)
 
 ConnectAttribute (const GA_ElementGroup *group, bool allow_touch=false, const GA_EdgeGroup *edges=nullptr, bool constrain_within_group=false)
 
bool isValid () const
 
GA_AttributeOwner getOwner () const
 
bool constrainWithinGroup () const
 
bool isGroup () const
 
bool allowTouch () const
 
bool treatAsEdge () const
 
bool canGrowToPrim (GA_Offset prim0_v0, GA_Offset prim0_v1, GA_Offset prim1_v0, GA_Offset prim1_v1, const GEO_Detail &gdp) const
 
bool canGrowToVertex (GA_Offset v0, GA_Offset v1, const GEO_Detail &gdp, GA_GroupType growth_type, UT_Map< GA_Offset, GA_OffsetArray > &adj_map) const
 
bool isEdgeBound (GA_Offset prim0_v0, GA_Offset prim0_v1, GA_Offset prim1_v0, GA_Offset prim1_v1, const GEO_Detail &gdp) const
 
bool isEqual (GA_Offset x0, GA_Offset x1) const
 
bool groupContainsPrim (GA_Offset prim, const GEO_Detail &gdp) const
 
bool groupContainsPoint (GA_Offset pt, const GEO_Detail &gdp) const
 
bool groupContainsVertex (GA_Offset vtx, const GEO_Detail &gdp) const
 
bool groupContainsEdge (const GA_Edge &e, const GEO_Detail &gdp, bool strict=true) const
 

Detailed Description

Definition at line 29 of file GEO_ExpandGroupUtils.h.

Constructor & Destructor Documentation

GEO_ExpandGroupUtils::ConnectAttribute::ConnectAttribute ( const GA_Attribute attrib)
GEO_ExpandGroupUtils::ConnectAttribute::ConnectAttribute ( const GA_ElementGroup group,
bool  allow_touch = false,
const GA_EdgeGroup edges = nullptr,
bool  constrain_within_group = false 
)

Member Function Documentation

bool GEO_ExpandGroupUtils::ConnectAttribute::allowTouch ( ) const
inline

Definition at line 56 of file GEO_ExpandGroupUtils.h.

bool GEO_ExpandGroupUtils::ConnectAttribute::canGrowToPrim ( GA_Offset  prim0_v0,
GA_Offset  prim0_v1,
GA_Offset  prim1_v0,
GA_Offset  prim1_v1,
const GEO_Detail gdp 
) const
bool GEO_ExpandGroupUtils::ConnectAttribute::canGrowToVertex ( GA_Offset  v0,
GA_Offset  v1,
const GEO_Detail gdp,
GA_GroupType  growth_type,
UT_Map< GA_Offset, GA_OffsetArray > &  adj_map 
) const
bool GEO_ExpandGroupUtils::ConnectAttribute::constrainWithinGroup ( ) const
inline

Definition at line 46 of file GEO_ExpandGroupUtils.h.

GA_AttributeOwner GEO_ExpandGroupUtils::ConnectAttribute::getOwner ( ) const
inline

Definition at line 42 of file GEO_ExpandGroupUtils.h.

bool GEO_ExpandGroupUtils::ConnectAttribute::groupContainsEdge ( const GA_Edge e,
const GEO_Detail gdp,
bool  strict = true 
) const
inline

Definition at line 95 of file GEO_ExpandGroupUtils.h.

bool GEO_ExpandGroupUtils::ConnectAttribute::groupContainsPoint ( GA_Offset  pt,
const GEO_Detail gdp 
) const
inline

Definition at line 85 of file GEO_ExpandGroupUtils.h.

bool GEO_ExpandGroupUtils::ConnectAttribute::groupContainsPrim ( GA_Offset  prim,
const GEO_Detail gdp 
) const
bool GEO_ExpandGroupUtils::ConnectAttribute::groupContainsVertex ( GA_Offset  vtx,
const GEO_Detail gdp 
) const
inline

Definition at line 90 of file GEO_ExpandGroupUtils.h.

bool GEO_ExpandGroupUtils::ConnectAttribute::isEdgeBound ( GA_Offset  prim0_v0,
GA_Offset  prim0_v1,
GA_Offset  prim1_v0,
GA_Offset  prim1_v1,
const GEO_Detail gdp 
) const
bool GEO_ExpandGroupUtils::ConnectAttribute::isEqual ( GA_Offset  x0,
GA_Offset  x1 
) const
bool GEO_ExpandGroupUtils::ConnectAttribute::isGroup ( ) const
inline

Definition at line 51 of file GEO_ExpandGroupUtils.h.

bool GEO_ExpandGroupUtils::ConnectAttribute::isValid ( ) const
inline

Definition at line 38 of file GEO_ExpandGroupUtils.h.

bool GEO_ExpandGroupUtils::ConnectAttribute::treatAsEdge ( ) const
inline

Definition at line 61 of file GEO_ExpandGroupUtils.h.


The documentation for this class was generated from the following file: