@pierreden said:
I would love to be able to make my own My::Point3d class with additional methods, and still be able to use My::Point3d together with Geom::Point3d without errors.
The other option is to extend an instance of a Point3d...
module YourPoint3d attr_accessor ;your_var1, ;your_var2 def your_def1 end def your_def2 end end p = Geom;;Point3d.new p.extend YourPoint3d p.your_var1 = 20This gives your particular Point3d additional methods and attributes without messing with the Point3d class at all.
--
Karen