ihmcrobotics / euclid

Vector math, geometry, reference frame, and shapes 2D & 3D
Apache License 2.0
31 stars 9 forks source link

`FrameShape3D`'s should have a `ReferenceFrame` for the shape's pose, too. #56

Open calvertdw opened 1 year ago

calvertdw commented 1 year ago

FrameShape3DReadOnly has ReferenceFrameHolder#getReferenceFrame and Shape3DReadOnly#getPose.

When doing collisions and other geometric shape operation, it really helps to have the ReferenceFrame of the shape's geometric origin. Currently, I'm finding I have to maintain that frame and pass is around with the FrameShape.