Searched refs:epsilon (Results 1 - 15 of 15) sorted by relevance

/inkscape/src/
H A Dproj_pt.h20 const double epsilon = 1E-6; member in namespace:Proj
42 return (fabs(pt[0] - rhs.pt[0]) < epsilon &&
43 fabs(pt[1] - rhs.pt[1]) < epsilon &&
44 fabs(pt[2] - rhs.pt[2]) < epsilon);
101 return (fabs(pt[0] - rhs.pt[0]) < epsilon &&
102 fabs(pt[1] - rhs.pt[1]) < epsilon &&
103 fabs(pt[2] - rhs.pt[2]) < epsilon &&
104 fabs(pt[3] - rhs.pt[3]) < epsilon);
H A Dproj_pt.cpp51 if (fabs(pt[2]) < epsilon) {
H A Dcolor.cpp106 * Returns true if no RGB value differs epsilon or more in both colors,
109 bool SPColor::isClose( SPColor const& other, float epsilon ) const
111 bool match = (fabs((v.c[0]) - (other.v.c[0])) < epsilon)
112 && (fabs((v.c[1]) - (other.v.c[1])) < epsilon)
113 && (fabs((v.c[2]) - (other.v.c[2])) < epsilon);
H A Dcolor.h50 bool isClose( SPColor const& other, float epsilon ) const;
H A Daxis-manip.h54 const double epsilon = 1e-6; member in namespace:Box3D
H A Dline-geometry.h18 #include "axis-manip.h" // FIXME: This is only for Box3D::epsilon; move that to a better location
54 return (Geom::L2 (pt2 - pt1) < epsilon);
H A Dline-geometry.cpp102 if (fabs (det) < epsilon) {
H A Ddesktop-style.cpp480 static double epsilon = 1e-6; local
483 isClose = fabs(lhs[i] - rhs[i]) < epsilon;
/inkscape/src/2geom/
H A Dsbasis-geometric.h110 double epsilon = 1e-5);
117 double epsilon = 1e-5);
H A Dsbasis-geometric.cpp634 double epsilon){
642 if (fabs(dM1xdM0)<epsilon){
643 if (fabs(d2M0xdM0)<epsilon || fabs(d2M1xdM1)<epsilon){
662 if (fabs(a0)<epsilon){
665 }else if (fabs(a1)<epsilon){
721 double epsilon){
724 return cubics_fitting_curvature(M0,M1,dM0,dM1,d2M0xdM0,d2M1xdM1,insist_on_speed_signs,epsilon);
732 double epsilon){
738 return cubics_fitting_curvature(M0,M1,dM0,dM1,d2M0xdM0,d2M1xdM1,insist_on_speed_signs,epsilon);
[all...]
H A Dtransforms.h55 Coord epsilon; member in struct:Geom::TransformConcept
71 bool_ = are_near(t, t2, epsilon);
/inkscape/src/widgets/
H A Dege-adjustment-action.cpp106 gdouble epsilon; member in struct:_EgeAdjustmentActionPrivate
263 action->private_data->epsilon = 0.009;
407 case 0: action->private_data->epsilon = 0.9; break;
408 case 1: action->private_data->epsilon = 0.09; break;
409 case 2: action->private_data->epsilon = 0.009; break;
410 case 3: action->private_data->epsilon = 0.0009; break;
411 case 4: action->private_data->epsilon = 0.00009; break;
636 if ( delta < act->private_data->epsilon ) {
674 gdouble valUpper = num + act->private_data->epsilon;
675 gdouble valLower = num - act->private_data->epsilon;
[all...]
/inkscape/src/ui/dialog/
H A Dinput.cpp1681 //static gdouble epsilon = 0.0001;
1713 // if ( (dev->axes[i].max - dev->axes[i].min) > epsilon ) {
1732 // if ( (dev->axes[i].max - dev->axes[i].min) > epsilon ) {
1760 static gdouble epsilon = 0.0001; local
1774 if ( (diff > epsilon) || (diff < -epsilon) ) {
1785 if ( (diff > epsilon) || (diff < -epsilon) ) {
1794 if ( (diff > epsilon) || (diff < -epsilon) ) {
[all...]
H A Dexport.cpp1418 double const epsilon = pow(10.0, -EXPORT_COORD_PRECISION); local
1420 (fabs(one.min()[Geom::X] - two.min()[Geom::X]) < epsilon) &&
1421 (fabs(one.min()[Geom::Y] - two.min()[Geom::Y]) < epsilon) &&
1422 (fabs(one.max()[Geom::X] - two.max()[Geom::X]) < epsilon) &&
1423 (fabs(one.max()[Geom::Y] - two.max()[Geom::Y]) < epsilon)
/inkscape/src/libnrtype/
H A DLayout-TNG-Compute.cpp1571 /* floating point 80-bit/64-bit rounding problems require epsilon. See
1573 if ( new_span_height.ascent > line_height->ascent + std::numeric_limits<float>::epsilon() ||
1574 new_span_height.descent > line_height->descent + std::numeric_limits<float>::epsilon() ) {

Completed in 89 milliseconds