HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GEO_Closure Class Reference

#include <GEO_Closure.h>

Public Member Functions

 GEO_Closure (GEO_Detail &gdp)
 
 ~GEO_Closure ()
 
void findPrimsUsingEdge (const GA_Edge &edge, UT_IntArray &primlist)
 
void findPrimsUsingEdgeSort (const GA_Edge &edge, UT_IntArray &primlist)
 
void findPolysUsingEdge (const GA_Edge &edge, UT_IntArray &primlist)
 
void findPrimsUsingPoint (const GA_Offset pt, UT_IntArray &primlist)
 
void findPolysUsingPoint (const GA_Offset pt, UT_IntArray &primlist)
 
GA_Size getNumSharedEdges (GA_Offset pt)
 
GA_PrimitiveGroupgetPrimitiveClosure (const GA_BreakpointGroup *grp=0, const GA_PrimCompat::TypeMask &mask=GEO_PrimTypeCompat::GEOSPLINE)
 
GA_PrimitiveGroupgetPrimitiveClosure (const GA_EdgeGroup &edgegroup, GA_PrimitiveGroup *primgrp=0)
 
GA_PrimitiveGroupgetEdgePointClosure (const GA_Edge &edge, GA_PrimitiveGroup *primgrp=0)
 
GA_PointGroupgetPointClosure (const GA_Group &group)
 
GA_PointGroupgetPointClosure (const GA_PointGroup &ptgroup)
 
GA_PointGroupgetPointClosure (const GA_EdgeGroup &edgegroup)
 
GA_PointGroupgetPointClosure (const GA_PrimitiveGroup &primgroup)
 
GA_PointGroupgetPointClosure (const GA_VertexGroup &vtxgroup)
 
GA_VertexGroupgetVertexClosure (const GA_Group &group)
 
GA_VertexGroupgetVertexClosure (const GA_PointGroup &ptgroup)
 
GA_VertexGroupgetVertexClosure (const GA_EdgeGroup &edgegroup)
 
GA_VertexGroupgetVertexClosure (const GA_PrimitiveGroup &primgroup)
 
GA_VertexGroupgetVertexClosure (const GA_VertexGroup &vtxgroup)
 
GA_PrimitiveGroupgetPrimitiveClosure (const GA_Group &group)
 
GA_PrimitiveGroupgetPrimitiveClosure (const GA_PointGroup &ptgroup)
 
GA_PrimitiveGroupgetPrimitiveClosure (const GA_PrimitiveGroup &primgroup)
 
GA_PrimitiveGroupgetPrimitiveClosure (const GA_VertexGroup &vtxgroup)
 

Static Public Member Functions

static int getSharedPoint (GEO_Face *face0, GEO_Face *face1, int &vtxidx0, int &vtxidx1)
 
static int haveSharedPoint (GEO_Face *face0, GEO_Face *face1)
 
static GA_PointGroupgetDetachedPointClosure (const GEO_Detail &gdp, const GA_Group &group)
 
static GA_PointGroupgetDetachedPointClosure (const GEO_Detail &gdp, const GA_PointGroup &ptgroup)
 
static GA_PointGroupgetDetachedPointClosure (const GEO_Detail &gdp, const GA_EdgeGroup &edgegroup)
 
static GA_PointGroupgetDetachedPointClosure (const GEO_Detail &gdp, const GA_PrimitiveGroup &primgroup)
 
static GA_PointGroupgetDetachedPointClosure (const GEO_Detail &gdp, const GA_VertexGroup &vtxgroup)
 
static GA_VertexGroupgetDetachedVertexClosure (const GEO_Detail &gdp, const GA_Group &group)
 
static GA_VertexGroupgetDetachedVertexClosure (const GEO_Detail &gdp, const GA_PointGroup &ptgroup)
 
static GA_VertexGroupgetDetachedVertexClosure (const GEO_Detail &gdp, const GA_EdgeGroup &edgegroup)
 
static GA_VertexGroupgetDetachedVertexClosure (const GEO_Detail &gdp, const GA_PrimitiveGroup &primgroup)
 
static GA_VertexGroupgetDetachedVertexClosure (const GEO_Detail &gdp, const GA_VertexGroup &vtxgroup)
 
static GA_PrimitiveGroupgetDetachedPrimitiveClosure (const GEO_Detail &gdp, const GA_Group &group)
 
static GA_PrimitiveGroupgetDetachedPrimitiveClosure (const GEO_Detail &gdp, const GA_PointGroup &ptgroup)
 
static GA_PrimitiveGroupgetDetachedPrimitiveClosure (const GEO_Detail &gdp, const GA_PrimitiveGroup &primgroup)
 
static GA_PrimitiveGroupgetDetachedPrimitiveClosure (const GEO_Detail &gdp, const GA_VertexGroup &vtxgroup)
 

Detailed Description

Definition at line 38 of file GEO_Closure.h.

Constructor & Destructor Documentation

GEO_Closure::GEO_Closure ( GEO_Detail gdp)
GEO_Closure::~GEO_Closure ( )

Member Function Documentation

void GEO_Closure::findPolysUsingEdge ( const GA_Edge edge,
UT_IntArray primlist 
)

This uses the GA_Topology attributes to find polygons using an edge.

void GEO_Closure::findPolysUsingPoint ( const GA_Offset  pt,
UT_IntArray primlist 
)

This uses the GA_Topology attributes to find polygons using a point.

void GEO_Closure::findPrimsUsingEdge ( const GA_Edge edge,
UT_IntArray primlist 
)

This uses the GA_Topology attributes to find primitives using an edge.

void GEO_Closure::findPrimsUsingEdgeSort ( const GA_Edge edge,
UT_IntArray primlist 
)

NOTE: This sorts and removes duplicates for compatibility NOTE: Unlike that findPrimsUsingEdge, this checks GA_Primitive::hasEdge, not just that both points are contained.

void GEO_Closure::findPrimsUsingPoint ( const GA_Offset  pt,
UT_IntArray primlist 
)

This uses the GA_Topology attributes to find primitives using a point.

static GA_PointGroup* GEO_Closure::getDetachedPointClosure ( const GEO_Detail gdp,
const GA_Group group 
)
static

Detached point closures

Note
Caller is responsible for deleting the group.
static GA_PointGroup* GEO_Closure::getDetachedPointClosure ( const GEO_Detail gdp,
const GA_PointGroup ptgroup 
)
static

Detached point closures

Note
Caller is responsible for deleting the group.
static GA_PointGroup* GEO_Closure::getDetachedPointClosure ( const GEO_Detail gdp,
const GA_EdgeGroup edgegroup 
)
static

Detached point closures

Note
Caller is responsible for deleting the group.
static GA_PointGroup* GEO_Closure::getDetachedPointClosure ( const GEO_Detail gdp,
const GA_PrimitiveGroup primgroup 
)
static

Detached point closures

Note
Caller is responsible for deleting the group.
static GA_PointGroup* GEO_Closure::getDetachedPointClosure ( const GEO_Detail gdp,
const GA_VertexGroup vtxgroup 
)
static

Detached point closures

Note
Caller is responsible for deleting the group.
static GA_PrimitiveGroup* GEO_Closure::getDetachedPrimitiveClosure ( const GEO_Detail gdp,
const GA_Group group 
)
static
Note
Caller is responsible for deleting the group.
static GA_PrimitiveGroup* GEO_Closure::getDetachedPrimitiveClosure ( const GEO_Detail gdp,
const GA_PointGroup ptgroup 
)
static
Note
Caller is responsible for deleting the group.
static GA_PrimitiveGroup* GEO_Closure::getDetachedPrimitiveClosure ( const GEO_Detail gdp,
const GA_PrimitiveGroup primgroup 
)
static
Note
Caller is responsible for deleting the group.
static GA_PrimitiveGroup* GEO_Closure::getDetachedPrimitiveClosure ( const GEO_Detail gdp,
const GA_VertexGroup vtxgroup 
)
static
Note
Caller is responsible for deleting the group.
static GA_VertexGroup* GEO_Closure::getDetachedVertexClosure ( const GEO_Detail gdp,
const GA_Group group 
)
static

Detached vertex closures

Note
Caller is responsible for deleting the group.
static GA_VertexGroup* GEO_Closure::getDetachedVertexClosure ( const GEO_Detail gdp,
const GA_PointGroup ptgroup 
)
static

Detached vertex closures

Note
Caller is responsible for deleting the group.
static GA_VertexGroup* GEO_Closure::getDetachedVertexClosure ( const GEO_Detail gdp,
const GA_EdgeGroup edgegroup 
)
static

Detached vertex closures

Note
Caller is responsible for deleting the group.
static GA_VertexGroup* GEO_Closure::getDetachedVertexClosure ( const GEO_Detail gdp,
const GA_PrimitiveGroup primgroup 
)
static

Detached vertex closures

Note
Caller is responsible for deleting the group.
static GA_VertexGroup* GEO_Closure::getDetachedVertexClosure ( const GEO_Detail gdp,
const GA_VertexGroup vtxgroup 
)
static

Detached vertex closures

Note
Caller is responsible for deleting the group.
GA_PrimitiveGroup* GEO_Closure::getEdgePointClosure ( const GA_Edge edge,
GA_PrimitiveGroup primgrp = 0 
)
Note
Caller is responsible for calling destroyPrimitiveGroup() AND for calling delete prefarr (for the functions using a prefarr).
GA_Size GEO_Closure::getNumSharedEdges ( GA_Offset  pt)
GA_PointGroup* GEO_Closure::getPointClosure ( const GA_Group group)

Point closures

Note
Caller is responsible for calling destroyPointGroup()
GA_PointGroup* GEO_Closure::getPointClosure ( const GA_PointGroup ptgroup)

Point closures

Note
Caller is responsible for calling destroyPointGroup()
GA_PointGroup* GEO_Closure::getPointClosure ( const GA_EdgeGroup edgegroup)

Point closures

Note
Caller is responsible for calling destroyPointGroup()
GA_PointGroup* GEO_Closure::getPointClosure ( const GA_PrimitiveGroup primgroup)

Point closures

Note
Caller is responsible for calling destroyPointGroup()
GA_PointGroup* GEO_Closure::getPointClosure ( const GA_VertexGroup vtxgroup)

Point closures

Note
Caller is responsible for calling destroyPointGroup()
GA_PrimitiveGroup* GEO_Closure::getPrimitiveClosure ( const GA_EdgeGroup edgegroup,
GA_PrimitiveGroup primgrp = 0 
)
Note
Caller is responsible for calling destroyPrimitiveGroup() AND for calling delete prefarr (for the functions using a prefarr).
GA_PrimitiveGroup* GEO_Closure::getPrimitiveClosure ( const GA_BreakpointGroup grp = 0,
const GA_PrimCompat::TypeMask mask = GEO_PrimTypeCompat::GEOSPLINE 
)

If the group is not given, all the prims of type mask are returned in the primitive group.

Note
Caller is responsible for calling destroyPrimitiveGroup()
GA_PrimitiveGroup* GEO_Closure::getPrimitiveClosure ( const GA_Group group)
Note
Caller is responsible for calling destroyPrimitiveGroup()
GA_PrimitiveGroup* GEO_Closure::getPrimitiveClosure ( const GA_PointGroup ptgroup)
Note
Caller is responsible for calling destroyPrimitiveGroup()
GA_PrimitiveGroup* GEO_Closure::getPrimitiveClosure ( const GA_PrimitiveGroup primgroup)
Note
Caller is responsible for calling destroyPrimitiveGroup()
GA_PrimitiveGroup* GEO_Closure::getPrimitiveClosure ( const GA_VertexGroup vtxgroup)
Note
Caller is responsible for calling destroyPrimitiveGroup()
static int GEO_Closure::getSharedPoint ( GEO_Face face0,
GEO_Face face1,
int vtxidx0,
int vtxidx1 
)
static
GA_VertexGroup* GEO_Closure::getVertexClosure ( const GA_Group group)

Vertex closures

Note
Caller is responsible for calling destroyVertexGroup()
GA_VertexGroup* GEO_Closure::getVertexClosure ( const GA_PointGroup ptgroup)

Vertex closures

Note
Caller is responsible for calling destroyVertexGroup()
GA_VertexGroup* GEO_Closure::getVertexClosure ( const GA_EdgeGroup edgegroup)

Vertex closures

Note
Caller is responsible for calling destroyVertexGroup()
GA_VertexGroup* GEO_Closure::getVertexClosure ( const GA_PrimitiveGroup primgroup)

Vertex closures

Note
Caller is responsible for calling destroyVertexGroup()
GA_VertexGroup* GEO_Closure::getVertexClosure ( const GA_VertexGroup vtxgroup)

Vertex closures

Note
Caller is responsible for calling destroyVertexGroup()
static int GEO_Closure::haveSharedPoint ( GEO_Face face0,
GEO_Face face1 
)
static

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