SoRayPickAction::getRadius() method is missing

Create issue
Issue #107 resolved
Wei Hong created an issue

Hi Roy, We have some nodes that have their own implementation for picking. In these nodes, we want to use the same picking radius as SoRayPickAction. However, SoRayPickAction only has a setRadius() method. I was wondering if COIN3D can provide a getRadius() method too.

Best,

Wei

Comments (4)

  1. Roy Walmsley

    Hi Wei,

    I have had a quick look at the code and I don't see why not. It has a default value on instantiation, so should always return a value. I would probably use a declaration like:

    float getRadius (void) const;

    How does that sound?

    Roy

  2. Log in to comment