-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group action on different objects #119
Comments
@joansola I thrown here a few initial ideas on improving I'll edit the ticket to keep it up to date with the discussion. |
Complex groups are I was thinking, regarding
and other possible actions only available for this group. In SE3 we have a similar problem, in
In
so I see no fundamental impediment for |
At the moment, the
act
function treats its input argument as a point and act on it accordingly (e.g. SE2 rotates and translates). It would be great ifact
could act appropriately on different objects, likely vectors and points at first.Options
This calls for a rethinking/redesign of the function with the following options:
enum
)struct assumePoint
)Pro/cons:
1.
Pro:
Cons:
act
implementation is going to be a bigswitch
enum
for every new object2.
Pro:
Cons:
3.
Pro:
Cons:
class Point
)Pseudo-code for each options:
act( obj, Ja, Jb, flag )
act< flag >( obj, Ja, Jb )
act( Vector, Ja, Jb )
act( Point, Ja, Jb )
The text was updated successfully, but these errors were encountered: