> Aaron explained it better than I did. Basically the C/C++ module uses
> C/C++ version of Facet class directly without consulting python
> interpreter, this is what I meant by static linking.
Thanks so much for the explanation Lie, I understood it fully now.
Thanks again,
-jelle
--
http:
jelle feringa wrote:
CGAL.Facet = OtherFacet
CGAL.Polyhedron.Facet = OtherFacet
p = CGAL.Polyhedron_3()
You're not creating Facet object here, not even Polyhedron.Facet.
Right, which is not the point; I'm trying to override the Facet, a topological
entity of which a Polyhedron is composed o
> > CGAL.Facet = OtherFacet
> > CGAL.Polyhedron.Facet = OtherFacet
> > p = CGAL.Polyhedron_3()
> You're not creating Facet object here, not even Polyhedron.Facet.
Right, which is not the point; I'm trying to override the Facet, a topological
entity of which a Polyhedron is composed of .
( vertex
jelle feringa wrote:
Hi,
I'm working with a C++ module ( CGAL, comp.geom. with exact arithmic )
and am having troubles finding a way to override how the modules returns
objects. What I'm trying to do is to extend the Facet class, but when I try
to use my version of the class, the parent class is
Hi Aaron,
Thanks so much for your feedback.
> Regardless of CGAL's dictionary, it instantiates a Facet.
True, when I add attributes to it, they are disregarded when looping
through the facets later on.
> Depending on the details, you may need only to cut-and-paste your own
> 'make_triangle' fu
On Mar 5, 2:27 am, jelle feringa wrote:
> Hi,
>
> I'm working with a C++ module ( CGAL, comp.geom. with exact arithmic )
> and am having troubles finding a way to override how the modules returns
> objects. What I'm trying to do is to extend the Facet class, but when I try
> to use my version of t
Hi,
I'm working with a C++ module ( CGAL, comp.geom. with exact arithmic )
and am having troubles finding a way to override how the modules returns
objects. What I'm trying to do is to extend the Facet class, but when I try
to use my version of the class, the parent class is still being returned