BIMHome
v1.0.0
BIMHome接口文档说明
首页
相关页面
Topics
包
类
文件
Base
Rotation
EulerSequence
eulerSequenceFromName
eulerSequenceName
evaluateVector
getEulerAngles
getRawValue
getValue
getValue
getValue
getValue
getYawPitchRoll
identity
inverse
invert
isIdentity
isNull
isSame
isSame
m_Angle
m_Axis
m_Quat
makeRotationByAxes
multVec
multVec
normalize
operator!=
operator*
operator*=
operator=
operator==
operator[]
operator[]
Rotation
Rotation
Rotation
Rotation
Rotation
Rotation
Rotation
scaleAngle
setEulerAngles
setValue
setValue
setValue
setValue
setValue
setYawPitchRoll
slerp
◆
isSame()
[2/2]
bool isSame
(
const
Rotation
&
q
,
double
tol
)
const
检查当前旋转对象是否在指定的公差范围内与另一个旋转对象 q 相同或者互为逆
检查当前旋转对象是否在指定的公差范围内与另一个旋转对象 q 相同或者互为逆。
参数
[in]
q
要比较的另一个旋转对象
[in]
tol
公差值,用于确定两个四元数在数值上可以有多接近,才被认为是相同的
返回
如果当前旋转对象在指定的公差范围内与另一个旋转对象 q 相同或者互为逆,返回 true;否则返回 false