def __init__(self, joint, radius=0.05): """Constructor. \param joint (\c Joint) The joint that uses this geom \param radius (\c float) Radius of the wire sphere at the joint position """ GeomObject.__init__(self) self.joint = joint self.radius = radius self.spheregeom = SphereGeom(radius=self.radius, segmentsu=8, segmentsv=4)
def __init__(self, filename): GeomObject.__init__(self) self.filename = filename