class Fox::FXRanged

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE _wrap_new_FXRanged(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_FXRanged__SWIG_0(nargs, args, self);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRanged, SWIG_POINTER_NO_NULL);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_FXRanged__SWIG_1(nargs, args, self);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSphered, SWIG_POINTER_NO_NULL);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_FXRanged__SWIG_3(nargs, args, self);
    }
  }
  if (argc == 6) {
    int _v;
    {
      int res = SWIG_AsVal_double(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_double(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_double(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_double(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_double(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_double(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                return _wrap_new_FXRanged__SWIG_2(nargs, args, self);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 6, "FXRanged.new", 
    "    FXRanged.new()\n"
    "    FXRanged.new(FXRanged const &bounds)\n"
    "    FXRanged.new(FXdouble xlo, FXdouble xhi, FXdouble ylo, FXdouble yhi, FXdouble zlo, FXdouble zhi)\n"
    "    FXRanged.new(FXSphered const &sphere)\n");
  
  return Qnil;
}

Public Instance Methods

[](i) → FXVec3d click to toggle source

Element accessor/slicing.

SWIGINTERN VALUE
_wrap_FXRanged___getitem__(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXVec3d *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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged *","__getitem__", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXVec3d *) &FXRanged___getitem__(arg1,arg2);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXVec3d, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
[]=(i, slice) click to toggle source

Element setter/slicing.

SWIGINTERN VALUE
_wrap_FXRanged___setitem__(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  FXint arg2 ;
  FXVec3d *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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged *","__setitem__", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  arg2 = NUM2INT(argv[0]);
  res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FXVec3d,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXVec3d &","__setitem__", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXVec3d &","__setitem__", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXVec3d * >(argp3);
  FXRanged___setitem__(arg1,arg2,*arg3);
  return Qnil;
fail:
  return Qnil;
}
center(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_center(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXVec3d > 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","center", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  result = ((FXRanged const *)arg1)->center();
  vresult = SWIG_NewPointerObj((new FXVec3d(static_cast< const FXVec3d& >(result))), SWIGTYPE_p_FXVec3d, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
contains(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_contains(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  FXdouble arg2 ;
  FXdouble arg3 ;
  FXdouble arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","contains", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  ecode3 = SWIG_AsVal_double(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXdouble","contains", 3, argv[1] ));
  } 
  arg3 = static_cast< FXdouble >(val3);
  ecode4 = SWIG_AsVal_double(argv[2], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "FXdouble","contains", 4, argv[2] ));
  } 
  arg4 = static_cast< FXdouble >(val4);
  result = (bool)((FXRanged const *)arg1)->contains(arg2,arg3,arg4);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}
contains?(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXRanged_containsq___(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) 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_FXRanged, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec3d, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRanged_containsq_____SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRanged, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRanged, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRanged_containsq_____SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRanged, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXSphered, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRanged_containsq_____SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "FXRanged.contains?", 
    "    bool FXRanged.contains?(FXVec3d const &p)\n"
    "    bool FXRanged.contains?(FXRanged const &bounds)\n"
    "    bool FXRanged.contains?(FXSphered const &sphere)\n");
  
  return Qnil;
}
corner(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_corner(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXVec3d > 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","corner", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = FXRanged_corner((FXRanged const *)arg1,arg2);
  vresult = SWIG_NewPointerObj((new FXVec3d(static_cast< const FXVec3d& >(result))), SWIGTYPE_p_FXVec3d, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
depth(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_depth(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","depth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  result = (FXdouble)((FXRanged const *)arg1)->depth();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
diagonal(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_diagonal(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXVec3d > 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","diagonal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  result = ((FXRanged const *)arg1)->diagonal();
  vresult = SWIG_NewPointerObj((new FXVec3d(static_cast< const FXVec3d& >(result))), SWIGTYPE_p_FXVec3d, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
diameter(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_diameter(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","diameter", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  result = (FXdouble)((FXRanged const *)arg1)->diameter();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
empty? → bool click to toggle source

Check if FXRanged is empty.

SWIGINTERN VALUE
_wrap_FXRanged_emptyq___(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","empty", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  result = (bool)((FXRanged 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_FXRanged_height(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","height", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  result = (FXdouble)((FXRanged const *)arg1)->height();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
include(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXRanged_include(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_FXRanged, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec3d, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRanged_include__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRanged, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRanged, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRanged_include__SWIG_2(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRanged, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXSphered, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRanged_include__SWIG_3(nargs, args, self);
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRanged, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_double(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_double(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_double(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_FXRanged_include__SWIG_0(nargs, args, self);
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 5, "FXRanged.include", 
    "    FXRanged FXRanged.include(FXdouble x, FXdouble y, FXdouble z)\n"
    "    FXRanged FXRanged.include(FXVec3d const &v)\n"
    "    FXRanged FXRanged.include(FXRanged const &box)\n"
    "    FXRanged & FXRanged.include(FXSphered const &sphere)\n");
  
  return Qnil;
}
intersect(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXRanged_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_FXRanged, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec4d, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRanged_intersect__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRanged, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec3d, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXVec3d, SWIG_POINTER_NO_NULL);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_FXRanged_intersect__SWIG_1(nargs, args, self);
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 4, "FXRanged.intersect", 
    "    FXint FXRanged.intersect(FXVec4d const &plane)\n"
    "    bool FXRanged.intersect(FXVec3d const &u, FXVec3d const &v)\n");
  
  return Qnil;
}
intersection(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_intersection(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  FXRanged *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  FXRanged 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","intersection", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRanged,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRanged const &","intersection", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRanged const &","intersection", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRanged * >(argp2);
  result = FXRanged_intersection((FXRanged const *)arg1,(FXRanged const &)*arg2);
  vresult = SWIG_NewPointerObj((new FXRanged(static_cast< const FXRanged& >(result))), SWIGTYPE_p_FXRanged, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
longest(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_longest(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","longest", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  result = (FXdouble)((FXRanged const *)arg1)->longest();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
lower(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_lower_get(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXVec3d *result = 0 ;
  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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  result = (FXVec3d *) & ((arg1)->lower);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXVec3d, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
lower=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_lower_set(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  FXVec3d *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXVec3d,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXVec3d const &","lower", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXVec3d const &","lower", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXVec3d * >(argp2);
  if (arg1) (arg1)->lower = *arg2;
  return Qnil;
fail:
  return Qnil;
}
overlaps?(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_overlapsq___(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  FXRanged *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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","overlaps", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRanged,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRanged const &","overlaps", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRanged const &","overlaps", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRanged * >(argp2);
  result = (bool)FXRanged_overlaps((FXRanged const *)arg1,(FXRanged const &)*arg2);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}
radius(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_radius(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","radius", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  result = (FXdouble)((FXRanged const *)arg1)->radius();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
shortest(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_shortest(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","shortest", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  result = (FXdouble)((FXRanged const *)arg1)->shortest();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
union(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_union(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  FXRanged *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  FXRanged 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","onion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRanged,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRanged const &","onion", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRanged const &","onion", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRanged * >(argp2);
  result = FXRanged_onion((FXRanged const *)arg1,(FXRanged const &)*arg2);
  vresult = SWIG_NewPointerObj((new FXRanged(static_cast< const FXRanged& >(result))), SWIGTYPE_p_FXRanged, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
upper(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_upper_get(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXVec3d *result = 0 ;
  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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged *","upper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  result = (FXVec3d *) & ((arg1)->upper);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXVec3d, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
upper=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_upper_set(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  FXVec3d *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged *","upper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXVec3d,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXVec3d const &","upper", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXVec3d const &","upper", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXVec3d * >(argp2);
  if (arg1) (arg1)->upper = *arg2;
  return Qnil;
fail:
  return Qnil;
}
width(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXRanged_width(int argc, VALUE *argv, VALUE self) {
  FXRanged *arg1 = (FXRanged *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble 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_FXRanged, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRanged const *","width", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRanged * >(argp1);
  result = (FXdouble)((FXRanged const *)arg1)->width();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}