HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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_PointGroupUPtr getDetachedPointClosure (const GEO_Detail &gdp, const GA_Group &group)
 
static GA_PointGroupUPtr getDetachedPointClosure (const GEO_Detail &gdp, const GA_PointGroup &ptgroup)
 
static GA_PointGroupUPtr getDetachedPointClosure (const GEO_Detail &gdp, const GA_EdgeGroup &edgegroup)
 
static GA_PointGroupUPtr getDetachedPointClosure (const GEO_Detail &gdp, const GA_PrimitiveGroup &primgroup)
 
static GA_PointGroupUPtr getDetachedPointClosure (const GEO_Detail &gdp, const GA_VertexGroup &vtxgroup)
 
static GA_VertexGroupUPtr getDetachedVertexClosure (const GEO_Detail &gdp, const GA_Group &group)
 
static GA_VertexGroupUPtr getDetachedVertexClosure (const GEO_Detail &gdp, const GA_PointGroup &ptgroup)
 
static GA_VertexGroupUPtr getDetachedVertexClosure (const GEO_Detail &gdp, const GA_EdgeGroup &edgegroup)
 
static GA_VertexGroupUPtr getDetachedVertexClosure (const GEO_Detail &gdp, const GA_PrimitiveGroup &primgroup)
 
static GA_VertexGroupUPtr getDetachedVertexClosure (const GEO_Detail &gdp, const GA_VertexGroup &vtxgroup)
 
static GA_PrimitiveGroupUPtr getDetachedPrimitiveClosure (const GEO_Detail &gdp, const GA_Group &group)
 
static GA_PrimitiveGroupUPtr getDetachedPrimitiveClosure (const GEO_Detail &gdp, const GA_PointGroup &ptgroup)
 
static GA_PrimitiveGroupUPtr getDetachedPrimitiveClosure (const GEO_Detail &gdp, const GA_PrimitiveGroup &primgroup)
 
static GA_PrimitiveGroupUPtr getDetachedPrimitiveClosure (const GEO_Detail &gdp, const GA_VertexGroup &vtxgroup)
 

Detailed Description

Definition at line 40 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_PointGroupUPtr GEO_Closure::getDetachedPointClosure ( const GEO_Detail gdp,
const GA_Group group 
)
static

Detached point closures

static GA_PointGroupUPtr GEO_Closure::getDetachedPointClosure ( const GEO_Detail gdp,
const GA_PointGroup ptgroup 
)
static

Detached point closures

static GA_PointGroupUPtr GEO_Closure::getDetachedPointClosure ( const GEO_Detail gdp,
const GA_EdgeGroup edgegroup 
)
static

Detached point closures

static GA_PointGroupUPtr GEO_Closure::getDetachedPointClosure ( const GEO_Detail gdp,
const GA_PrimitiveGroup primgroup 
)
static

Detached point closures

static GA_PointGroupUPtr GEO_Closure::getDetachedPointClosure ( const GEO_Detail gdp,
const GA_VertexGroup vtxgroup 
)
static

Detached point closures

static GA_PrimitiveGroupUPtr GEO_Closure::getDetachedPrimitiveClosure ( const GEO_Detail gdp,
const GA_Group group 
)
static
static GA_PrimitiveGroupUPtr GEO_Closure::getDetachedPrimitiveClosure ( const GEO_Detail gdp,
const GA_PointGroup ptgroup 
)
static
static GA_PrimitiveGroupUPtr GEO_Closure::getDetachedPrimitiveClosure ( const GEO_Detail gdp,
const GA_PrimitiveGroup primgroup 
)
static
static GA_PrimitiveGroupUPtr GEO_Closure::getDetachedPrimitiveClosure ( const GEO_Detail gdp,
const GA_VertexGroup vtxgroup 
)
static
static GA_VertexGroupUPtr GEO_Closure::getDetachedVertexClosure ( const GEO_Detail gdp,
const GA_Group group 
)
static

Detached vertex closures

static GA_VertexGroupUPtr GEO_Closure::getDetachedVertexClosure ( const GEO_Detail gdp,
const GA_PointGroup ptgroup 
)
static

Detached vertex closures

static GA_VertexGroupUPtr GEO_Closure::getDetachedVertexClosure ( const GEO_Detail gdp,
const GA_EdgeGroup edgegroup 
)
static

Detached vertex closures

static GA_VertexGroupUPtr GEO_Closure::getDetachedVertexClosure ( const GEO_Detail gdp,
const GA_PrimitiveGroup primgroup 
)
static

Detached vertex closures

static GA_VertexGroupUPtr GEO_Closure::getDetachedVertexClosure ( const GEO_Detail gdp,
const GA_VertexGroup vtxgroup 
)
static

Detached vertex closures

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: