[cgma-dev] which "TopologyBridge" is used for a "RefEntity" entity

Jane Hu janejhu at gmail.com
Thu Sep 1 09:25:26 CDT 2011


Hi, Hong-Jun,

When you get TopologyBridge pointer, you can just dynamic_cast it to it's
geometry type, say you have a curve, then you do:

Curve * curve = dynamic_cast<Curve*>(Topo_bridge);

or

 Curve *curve = CAST_TO(Topo_bridge , Curve);

Jane

On Wed, Aug 31, 2011 at 3:09 PM, Hong-Jun Kim <hongjun at mcs.anl.gov> wrote:

> Hi, all
>
> For a certain "RefEntity" entity, is there any way to find which
> "TopologyBridge" is used from bridge manager's bridge list?
>
> I have tried to find any functions for this in "RefEntity" but I couldn't.
> Is there any special way to get this information?
> Thanks.
>
> -----------------------------
> Hong-Jun Kim
> Post-doc researcher
> MCS, Argonne National Laboratory
> 9700 S. Cass Ave. B240/R2147
> Argonne, IL 60439
> 630-252-4791
> hongjun at mcs.anl.gov
> -----------------------------
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20110901/9843c0c9/attachment.htm>


More information about the cgma-dev mailing list