Can't override class |__new__
jelle feringa
jelleferinga at gmail.com
Thu Mar 5 07:44:40 EST 2009
> > 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 -> halfedge -> facet -> polyhedron )
> I think so. External module written in C/C++ is often statically linked.
I'm sorry, but I don't follow you; what has linking to do with changing
the behaviour of the compiled module?
Thanks,
-jelle
More information about the Python-list
mailing list