Lines Matching refs:epsilon
493 BAffineTransform::IsValid(double epsilon) const in IsValid()
495 return fabs(sx) > epsilon && fabs(sy) > epsilon; in IsValid()
500 IsEqualEpsilon(double v1, double v2, double epsilon) in IsEqualEpsilon() argument
502 return fabs(v1 - v2) <= double(epsilon); in IsEqualEpsilon()
507 BAffineTransform::IsIdentity(double epsilon) const in IsIdentity()
509 return IsEqualEpsilon(sx, 1.0, epsilon) in IsIdentity()
510 && IsEqualEpsilon(shy, 0.0, epsilon) in IsIdentity()
511 && IsEqualEpsilon(shx, 0.0, epsilon) in IsIdentity()
512 && IsEqualEpsilon(sy, 1.0, epsilon) in IsIdentity()
513 && IsEqualEpsilon(tx, 0.0, epsilon) in IsIdentity()
514 && IsEqualEpsilon(ty, 0.0, epsilon); in IsIdentity()
519 BAffineTransform::IsDilation(double epsilon) const in IsDilation()
521 return IsEqualEpsilon(shy, 0.0, epsilon) in IsDilation()
522 && IsEqualEpsilon(shx, 0.0, epsilon); in IsDilation()
527 BAffineTransform::IsEqual(const BAffineTransform& other, double epsilon) const in IsEqual()
529 return IsEqualEpsilon(sx, other.sx, epsilon) in IsEqual()
530 && IsEqualEpsilon(shy, other.shy, epsilon) in IsEqual()
531 && IsEqualEpsilon(shx, other.shx, epsilon) in IsEqual()
532 && IsEqualEpsilon(sy, other.sy, epsilon) in IsEqual()
533 && IsEqualEpsilon(tx, other.tx, epsilon) in IsEqual()
534 && IsEqualEpsilon(ty, other.ty, epsilon); in IsEqual()