class Fox::FXRangef

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE _wrap_new_FXRangef(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[6];
  int ii;
  
  argc = nargs;
  if (argc > 6) SWIG_fail;
  for (ii = 0; (ii < argc); ++ii) {
    argv[ii] = args[ii];
  }
  if (argc == 0) {
    return _wrap_new_FXRangef__SWIG_0(nargs, args, self);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRangef, SWIG_POINTER_NO_NULL);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_FXRangef__SWIG_1(nargs, args, self);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSpheref, SWIG_POINTER_NO_NULL);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_FXRangef__SWIG_3(nargs, args, self);
    }
  }
  if (argc == 6) {
    int _v;
    {
      int res = SWIG_AsVal_float(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_float(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_float(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_new_FXRangef__SWIG_2(nargs, args, self);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 6, "FXRangef.new", 
    "    FXRangef.new()\n"
    "    FXRangef.new(FXRangef const &bounds)\n"
    "    FXRangef.new(FXfloat xlo, FXfloat xhi, FXfloat ylo, FXfloat yhi, FXfloat zlo, FXfloat zhi)\n"
    "    FXRangef.new(FXSpheref const &sphere)\n");
  
  return Qnil;
}

Public Instance Methods

[](i) → FXVec3f click to toggle source

Element accessor/slicing.

SWIGINTERN VALUE
_wrap_FXRangef___getitem__(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXVec3f *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef *","__getitem__", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXVec3f *) &FXRangef___getitem__(arg1,arg2);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXVec3f, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
[]=(i, slice) click to toggle source

Element setter/slicing.

SWIGINTERN VALUE
_wrap_FXRangef___setitem__(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  FXint arg2 ;
  FXVec3f *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef *","__setitem__", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  arg2 = NUM2INT(argv[0]);
  res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FXVec3f,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXVec3f &","__setitem__", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXVec3f &","__setitem__", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXVec3f * >(argp3);
  FXRangef___setitem__(arg1,arg2,*arg3);
  return Qnil;
fail:
  return Qnil;
}
center(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_center(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXVec3f > result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","center", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  result = ((FXRangef const *)arg1)->center();
  {
    FXVec3f* resultptr = new FXVec3f(result);
    vresult = FXRbGetRubyObj(resultptr, "FXVec3f *");
  }
  return vresult;
fail:
  return Qnil;
}
contains?(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXRangef_containsq___(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[5];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 5) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRangef, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec3f, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRangef_containsq_____SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRangef, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRangef, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRangef_containsq_____SWIG_2(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRangef, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXSpheref, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRangef_containsq_____SWIG_3(nargs, args, self);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRangef, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_FXRangef_containsq_____SWIG_0(nargs, args, self);
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 5, "FXRangef.contains?", 
    "    bool FXRangef.contains?(FXfloat x, FXfloat y, FXfloat z)\n"
    "    bool FXRangef.contains?(FXVec3f const &p)\n"
    "    bool FXRangef.contains?(FXRangef const &bounds)\n"
    "    bool FXRangef.contains?(FXSpheref const &sphere)\n");
  
  return Qnil;
}
corner(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_corner(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXVec3f > result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","corner", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = FXRangef_corner((FXRangef const *)arg1,arg2);
  {
    FXVec3f* resultptr = new FXVec3f(result);
    vresult = FXRbGetRubyObj(resultptr, "FXVec3f *");
  }
  return vresult;
fail:
  return Qnil;
}
depth(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_depth(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","depth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  result = (FXfloat)((FXRangef const *)arg1)->depth();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}
diagonal(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_diagonal(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXVec3f > result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","diagonal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  result = ((FXRangef const *)arg1)->diagonal();
  {
    FXVec3f* resultptr = new FXVec3f(result);
    vresult = FXRbGetRubyObj(resultptr, "FXVec3f *");
  }
  return vresult;
fail:
  return Qnil;
}
diameter(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_diameter(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","diameter", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  result = (FXfloat)((FXRangef const *)arg1)->diameter();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}
empty? → bool click to toggle source

Check if FXRangef is empty.

SWIGINTERN VALUE
_wrap_FXRangef_emptyq___(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","empty", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  result = (bool)((FXRangef const *)arg1)->empty();
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}
height(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_height(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","height", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  result = (FXfloat)((FXRangef const *)arg1)->height();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}
include!(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXRangef_includeN___(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[5];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 5) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRangef, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec3f, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRangef_includeN_____SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRangef, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRangef, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRangef_includeN_____SWIG_2(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRangef, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXSpheref, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRangef_includeN_____SWIG_3(nargs, args, self);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRangef, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_float(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_float(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_float(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_FXRangef_includeN_____SWIG_0(nargs, args, self);
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 5, "FXRangef.include!", 
    "    FXRangef FXRangef.include!(FXfloat x, FXfloat y, FXfloat z)\n"
    "    FXRangef FXRangef.include!(FXVec3f const &v)\n"
    "    FXRangef FXRangef.include!(FXRangef const &box)\n"
    "    FXRangef & FXRangef.include!(FXSpheref const &sphere)\n");
  
  return Qnil;
}
intersect(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXRangef_intersect(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[4];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 4) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRangef, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec4f, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRangef_intersect__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRangef, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec3f, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXVec3f, SWIG_POINTER_NO_NULL);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_FXRangef_intersect__SWIG_1(nargs, args, self);
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 4, "FXRangef.intersect", 
    "    FXint FXRangef.intersect(FXVec4f const &plane)\n"
    "    bool FXRangef.intersect(FXVec3f const &u, FXVec3f const &v)\n");
  
  return Qnil;
}
intersection(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_intersection(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  FXRangef *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  FXRangef result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","intersection", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRangef,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRangef const &","intersection", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRangef const &","intersection", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRangef * >(argp2);
  result = FXRangef_intersection((FXRangef const *)arg1,(FXRangef const &)*arg2);
  {
    FXRangef* resultptr = new FXRangef(result);
    vresult = FXRbGetRubyObj(resultptr, "FXRangef *");
  }
  return vresult;
fail:
  return Qnil;
}
longest(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_longest(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","longest", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  result = (FXfloat)((FXRangef const *)arg1)->longest();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}
lower(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_lower(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXVec3f > result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  result = FXRangef_lower((FXRangef const *)arg1);
  {
    FXVec3f* resultptr = new FXVec3f(result);
    vresult = FXRbGetRubyObj(resultptr, "FXVec3f *");
  }
  return vresult;
fail:
  return Qnil;
}
overlaps?(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_overlapsq___(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  FXRangef *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","overlaps", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRangef,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRangef const &","overlaps", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRangef const &","overlaps", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRangef * >(argp2);
  result = (bool)FXRangef_overlaps((FXRangef const *)arg1,(FXRangef const &)*arg2);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}
radius(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_radius(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","radius", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  result = (FXfloat)((FXRangef const *)arg1)->radius();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}
shortest(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_shortest(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","shortest", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  result = (FXfloat)((FXRangef const *)arg1)->shortest();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}
union(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_union(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  FXRangef *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  FXRangef result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","onion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRangef,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRangef const &","onion", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRangef const &","onion", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRangef * >(argp2);
  result = FXRangef_onion((FXRangef const *)arg1,(FXRangef const &)*arg2);
  {
    FXRangef* resultptr = new FXRangef(result);
    vresult = FXRbGetRubyObj(resultptr, "FXRangef *");
  }
  return vresult;
fail:
  return Qnil;
}
upper(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_upper(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXVec3f > result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","upper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  result = FXRangef_upper((FXRangef const *)arg1);
  {
    FXVec3f* resultptr = new FXVec3f(result);
    vresult = FXRbGetRubyObj(resultptr, "FXVec3f *");
  }
  return vresult;
fail:
  return Qnil;
}
width(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRangef_width(int argc, VALUE *argv, VALUE self) {
  FXRangef *arg1 = (FXRangef *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRangef, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRangef const *","width", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRangef * >(argp1);
  result = (FXfloat)((FXRangef const *)arg1)->width();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}