62 virtual std::optional<TRANSFORM>
GetTransform(
const std::vector<VECTOR2I>& aPtsA,
63 const std::vector<VECTOR2I>& aPtsB )
const = 0;
82 std::optional<TRANSFORM>
GetTransform(
const std::vector<VECTOR2I>& aPtsA,
83 const std::vector<VECTOR2I>& aPtsB )
const override;
This is a general class that takes two lists of points, and finds the best fit translation and rotati...
virtual std::optional< TRANSFORM > GetTransform(const std::vector< VECTOR2I > &aPtsA, const std::vector< VECTOR2I > &aPtsB) const =0
Compute the best fit transform to align the two sets of points.
This is a relatively straight-forward implementation of the ITEM_REALIGNER_BASE that should handle mo...
std::optional< TRANSFORM > GetTransform(const std::vector< VECTOR2I > &aPtsA, const std::vector< VECTOR2I > &aPtsB) const override
Compute the best fit transform to align the two sets of points.
VECTOR2< int32_t > VECTOR2I