Insance of a template


How may i create an instance of the OCC templates. I need a Poly_Array1OfMyType. I've done it once rewriting the "instance" (Poly_Array1OfTriangle) using a simply cut/paste, but isn't there a faster way? Ex. with macros as it's for the Handle management.


Rob Bachrach's picture

Look in the OCC documentation under:
-Reference Documentation
->Foundation Classes
-->Reference Manual

Gzp's picture

Thanks, it saved me a lot of time :)