7#include <Common/assertion.h>
8#include <Common/logging.h>
44 Vector3R* out_vector)
const override;
46 void transformOrientation(
49 Vector3R* out_orientation)
const override;
56 void transformLineSegment(
65 real* out_lineMaxT)
const override;
73 static inline std::vector<TDecomposedTransform<U>> getScaleFreeTransforms(
107 -> std::vector<TDecomposedTransform<U>>
109 std::vector<TDecomposedTransform<U>> scaleFreeTransforms;
110 for(
const auto& transform : transforms)
113 if(!transform.hasScaleEffect(0.000001_r))
115 scaleFreeTransforms.push_back(transform);
120 "scale effect detected, which is {}, ignoring", transform.getScale().toString());
126 PH_ASSERT(scaleFreeTransforms.size() == transforms.size());
128 return scaleFreeTransforms;
Math functions and utilities.
Definition TransformInfo.h:10
PH_DEFINE_EXTERNAL_LOG_GROUP(StaticRigidTransform, Math)