fxruby 1.6.41-x86-mingw32 → 1.6.45-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/.yardopts +1 -1
- data/Gemfile +2 -3
- data/History.md +26 -0
- data/README.rdoc +10 -5
- data/Rakefile +16 -5
- data/appveyor.yml +8 -7
- data/docs/Fox/Canvas/CanvasError.html +124 -0
- data/docs/Fox/Canvas/CircleShape.html +477 -0
- data/docs/Fox/Canvas/ImageShape.html +477 -0
- data/docs/Fox/Canvas/LineShape.html +1005 -0
- data/docs/Fox/Canvas/PolygonShape.html +145 -0
- data/docs/Fox/Canvas/RectangleShape.html +439 -0
- data/docs/Fox/Canvas/SelectionPolicy.html +352 -0
- data/docs/Fox/Canvas/Shape.html +1955 -0
- data/docs/Fox/Canvas/ShapeCanvas.html +2031 -0
- data/docs/Fox/Canvas/ShapeGroup.html +527 -0
- data/docs/Fox/Canvas/SingleSelectionPolicy.html +291 -0
- data/docs/Fox/Canvas/TextShape.html +609 -0
- data/docs/Fox/Canvas.html +141 -0
- data/docs/Fox/FTNonModal.html +550 -0
- data/docs/Fox/FX4Splitter.html +1336 -0
- data/docs/Fox/FX7Segment.html +1010 -0
- data/docs/Fox/FXAccelTable.html +715 -0
- data/docs/Fox/FXApp.html +7998 -0
- data/docs/Fox/FXArc.html +562 -0
- data/docs/Fox/FXArrowButton.html +865 -0
- data/docs/Fox/FXBMPIcon.html +450 -0
- data/docs/Fox/FXBMPImage.html +434 -0
- data/docs/Fox/FXBitmap.html +1362 -0
- data/docs/Fox/FXBitmapFrame.html +595 -0
- data/docs/Fox/FXBitmapView.html +1451 -0
- data/docs/Fox/FXButton.html +534 -0
- data/docs/Fox/FXCURCursor.html +261 -0
- data/docs/Fox/FXCalendar.html +880 -0
- data/docs/Fox/FXCanvas.html +311 -0
- data/docs/Fox/FXCheckButton.html +949 -0
- data/docs/Fox/FXChoiceBox.html +472 -0
- data/docs/Fox/FXColor.html +1519 -0
- data/docs/Fox/FXColorBar.html +759 -0
- data/docs/Fox/FXColorDialog.html +591 -0
- data/docs/Fox/FXColorItem.html +323 -0
- data/docs/Fox/FXColorList.html +712 -0
- data/docs/Fox/FXColorRing.html +817 -0
- data/docs/Fox/FXColorSelector.html +796 -0
- data/docs/Fox/FXColorWell.html +850 -0
- data/docs/Fox/FXColorWheel.html +770 -0
- data/docs/Fox/FXComboBox.html +2939 -0
- data/docs/Fox/FXComboTableItem.html +544 -0
- data/docs/Fox/FXCommand.html +526 -0
- data/docs/Fox/FXComposite.html +433 -0
- data/docs/Fox/FXCursor.html +779 -0
- data/docs/Fox/FXDC.html +5231 -0
- data/docs/Fox/FXDCPrint.html +696 -0
- data/docs/Fox/FXDCWindow.html +358 -0
- data/docs/Fox/FXDataTarget.html +573 -0
- data/docs/Fox/FXDebugTarget.html +305 -0
- data/docs/Fox/FXDelegator.html +305 -0
- data/docs/Fox/FXDial.html +1133 -0
- data/docs/Fox/FXDialogBox.html +413 -0
- data/docs/Fox/FXDict.html +1063 -0
- data/docs/Fox/FXDirBox.html +752 -0
- data/docs/Fox/FXDirDialog.html +914 -0
- data/docs/Fox/FXDirItem.html +989 -0
- data/docs/Fox/FXDirList.html +1554 -0
- data/docs/Fox/FXDirSelector.html +995 -0
- data/docs/Fox/FXDockBar.html +1451 -0
- data/docs/Fox/FXDockHandler.html +468 -0
- data/docs/Fox/FXDockSite.html +678 -0
- data/docs/Fox/FXDockTitle.html +606 -0
- data/docs/Fox/FXDocument.html +536 -0
- data/docs/Fox/FXDragCorner.html +440 -0
- data/docs/Fox/FXDrawable.html +478 -0
- data/docs/Fox/FXDriveBox.html +746 -0
- data/docs/Fox/FXEvent.html +1736 -0
- data/docs/Fox/FXExtentd.html +1374 -0
- data/docs/Fox/FXExtentf.html +1374 -0
- data/docs/Fox/FXFileAssoc.html +850 -0
- data/docs/Fox/FXFileDialog.html +2688 -0
- data/docs/Fox/FXFileDict.html +1058 -0
- data/docs/Fox/FXFileItem.html +1141 -0
- data/docs/Fox/FXFileList.html +2259 -0
- data/docs/Fox/FXFileSelector.html +2529 -0
- data/docs/Fox/FXFileStream.html +503 -0
- data/docs/Fox/FXFoldingItem.html +2822 -0
- data/docs/Fox/FXFoldingList.html +5189 -0
- data/docs/Fox/FXFont.html +2998 -0
- data/docs/Fox/FXFontDesc.html +710 -0
- data/docs/Fox/FXFontDialog.html +420 -0
- data/docs/Fox/FXFontSelector.html +576 -0
- data/docs/Fox/FXFrame.html +1012 -0
- data/docs/Fox/FXGIFCursor.html +337 -0
- data/docs/Fox/FXGIFIcon.html +450 -0
- data/docs/Fox/FXGIFImage.html +434 -0
- data/docs/Fox/FXGLCanvas.html +700 -0
- data/docs/Fox/FXGLCone.html +785 -0
- data/docs/Fox/FXGLContext.html +649 -0
- data/docs/Fox/FXGLCube.html +703 -0
- data/docs/Fox/FXGLCylinder.html +791 -0
- data/docs/Fox/FXGLGroup.html +1385 -0
- data/docs/Fox/FXGLLine.html +653 -0
- data/docs/Fox/FXGLObject.html +759 -0
- data/docs/Fox/FXGLPoint.html +561 -0
- data/docs/Fox/FXGLShape.html +714 -0
- data/docs/Fox/FXGLSphere.html +626 -0
- data/docs/Fox/FXGLViewer.html +3506 -0
- data/docs/Fox/FXGLVisual.html +2147 -0
- data/docs/Fox/FXGradient.html +562 -0
- data/docs/Fox/FXGradientBar.html +2479 -0
- data/docs/Fox/FXGroupBox.html +688 -0
- data/docs/Fox/FXHeader.html +3040 -0
- data/docs/Fox/FXHeaderItem.html +1353 -0
- data/docs/Fox/FXHiliteStyle.html +804 -0
- data/docs/Fox/FXHorizontalFrame.html +359 -0
- data/docs/Fox/FXHorizontalSeparator.html +349 -0
- data/docs/Fox/FXICOIcon.html +450 -0
- data/docs/Fox/FXICOImage.html +434 -0
- data/docs/Fox/FXIcon.html +384 -0
- data/docs/Fox/FXIconDict.html +752 -0
- data/docs/Fox/FXIconItem.html +1518 -0
- data/docs/Fox/FXIconList.html +4676 -0
- data/docs/Fox/FXIconSource.html +963 -0
- data/docs/Fox/FXId.html +712 -0
- data/docs/Fox/FXImage.html +2328 -0
- data/docs/Fox/FXImageFrame.html +489 -0
- data/docs/Fox/FXImageView.html +504 -0
- data/docs/Fox/FXInputDialog.html +894 -0
- data/docs/Fox/FXIrb.html +942 -0
- data/docs/Fox/FXJPGIcon.html +607 -0
- data/docs/Fox/FXJPGImage.html +591 -0
- data/docs/Fox/FXKnob.html +1048 -0
- data/docs/Fox/FXLabel.html +1013 -0
- data/docs/Fox/FXLight.html +920 -0
- data/docs/Fox/FXList.html +3717 -0
- data/docs/Fox/FXListBox.html +2518 -0
- data/docs/Fox/FXListItem.html +1459 -0
- data/docs/Fox/FXMDIChild.html +2175 -0
- data/docs/Fox/FXMDIClient.html +781 -0
- data/docs/Fox/FXMDIDeleteButton.html +334 -0
- data/docs/Fox/FXMDIMaximizeButton.html +334 -0
- data/docs/Fox/FXMDIMenu.html +335 -0
- data/docs/Fox/FXMDIMinimizeButton.html +334 -0
- data/docs/Fox/FXMDIRestoreButton.html +334 -0
- data/docs/Fox/FXMDIWindowButton.html +334 -0
- data/docs/Fox/FXMainWindow.html +337 -0
- data/docs/Fox/FXMaterial.html +570 -0
- data/docs/Fox/FXMatrix.html +734 -0
- data/docs/Fox/FXMemoryBuffer.html +472 -0
- data/docs/Fox/FXMemoryStream.html +632 -0
- data/docs/Fox/FXMenuBar.html +347 -0
- data/docs/Fox/FXMenuButton.html +829 -0
- data/docs/Fox/FXMenuCaption.html +1080 -0
- data/docs/Fox/FXMenuCascade.html +388 -0
- data/docs/Fox/FXMenuCheck.html +721 -0
- data/docs/Fox/FXMenuCommand.html +400 -0
- data/docs/Fox/FXMenuPane.html +333 -0
- data/docs/Fox/FXMenuRadio.html +721 -0
- data/docs/Fox/FXMenuSeparator.html +440 -0
- data/docs/Fox/FXMenuTitle.html +405 -0
- data/docs/Fox/FXMessageBox.html +658 -0
- data/docs/Fox/FXObject.html +545 -0
- data/docs/Fox/FXOption.html +491 -0
- data/docs/Fox/FXOptionMenu.html +885 -0
- data/docs/Fox/FXPCXIcon.html +450 -0
- data/docs/Fox/FXPCXImage.html +434 -0
- data/docs/Fox/FXPNGIcon.html +524 -0
- data/docs/Fox/FXPNGImage.html +508 -0
- data/docs/Fox/FXPPMIcon.html +450 -0
- data/docs/Fox/FXPPMImage.html +373 -0
- data/docs/Fox/FXPSBounds.html +500 -0
- data/docs/Fox/FXPacker.html +1229 -0
- data/docs/Fox/FXPicker.html +345 -0
- data/docs/Fox/FXPopup.html +1099 -0
- data/docs/Fox/FXPrintDialog.html +485 -0
- data/docs/Fox/FXPrinter.html +1330 -0
- data/docs/Fox/FXProgressBar.html +1150 -0
- data/docs/Fox/FXProgressDialog.html +715 -0
- data/docs/Fox/FXPseudoKeyboard.html +428 -0
- data/docs/Fox/FXPseudoMouse.html +800 -0
- data/docs/Fox/FXPseudoTarget.html +472 -0
- data/docs/Fox/FXQuatd.html +1377 -0
- data/docs/Fox/FXQuatf.html +1392 -0
- data/docs/Fox/FXRGBIcon.html +450 -0
- data/docs/Fox/FXRGBImage.html +434 -0
- data/docs/Fox/FXRadioButton.html +885 -0
- data/docs/Fox/FXRanged.html +1522 -0
- data/docs/Fox/FXRangef.html +1522 -0
- data/docs/Fox/FXRealSlider.html +1187 -0
- data/docs/Fox/FXRealSpinner.html +2175 -0
- data/docs/Fox/FXRecentFiles.html +841 -0
- data/docs/Fox/FXRectangle.html +802 -0
- data/docs/Fox/FXRegion.html +841 -0
- data/docs/Fox/FXRegistry.html +682 -0
- data/docs/Fox/FXReplaceDialog.html +648 -0
- data/docs/Fox/FXRootWindow.html +312 -0
- data/docs/Fox/FXRuler.html +2000 -0
- data/docs/Fox/FXRulerView.html +3997 -0
- data/docs/Fox/FXScintilla.html +49117 -0
- data/docs/Fox/FXScrollArea.html +1363 -0
- data/docs/Fox/FXScrollBar.html +1019 -0
- data/docs/Fox/FXScrollCorner.html +290 -0
- data/docs/Fox/FXScrollPane.html +499 -0
- data/docs/Fox/FXScrollWindow.html +409 -0
- data/docs/Fox/FXSearchDialog.html +382 -0
- data/docs/Fox/FXSegment.html +422 -0
- data/docs/Fox/FXSeparator.html +402 -0
- data/docs/Fox/FXSettings.html +1861 -0
- data/docs/Fox/FXShell.html +233 -0
- data/docs/Fox/FXShutter.html +472 -0
- data/docs/Fox/FXShutterItem.html +669 -0
- data/docs/Fox/FXSize.html +592 -0
- data/docs/Fox/FXSlider.html +1129 -0
- data/docs/Fox/FXSphered.html +906 -0
- data/docs/Fox/FXSpheref.html +906 -0
- data/docs/Fox/FXSpinner.html +2102 -0
- data/docs/Fox/FXSplashScreen.html +497 -0
- data/docs/Fox/FXSplashWindow.html +494 -0
- data/docs/Fox/FXSplitter.html +643 -0
- data/docs/Fox/FXSpring.html +517 -0
- data/docs/Fox/FXStatusBar.html +593 -0
- data/docs/Fox/FXStatusLine.html +754 -0
- data/docs/Fox/FXStream.html +1372 -0
- data/docs/Fox/FXStreamAllocError.html +148 -0
- data/docs/Fox/FXStreamEndError.html +148 -0
- data/docs/Fox/FXStreamError.html +259 -0
- data/docs/Fox/FXStreamFailureError.html +148 -0
- data/docs/Fox/FXStreamFormatError.html +148 -0
- data/docs/Fox/FXStreamFullError.html +148 -0
- data/docs/Fox/FXStreamNoReadError.html +148 -0
- data/docs/Fox/FXStreamNoWriteError.html +148 -0
- data/docs/Fox/FXStreamUnknownError.html +148 -0
- data/docs/Fox/FXStringDict.html +552 -0
- data/docs/Fox/FXSwitcher.html +619 -0
- data/docs/Fox/FXTGAIcon.html +450 -0
- data/docs/Fox/FXTGAImage.html +434 -0
- data/docs/Fox/FXTIFIcon.html +604 -0
- data/docs/Fox/FXTIFImage.html +588 -0
- data/docs/Fox/FXTabBar.html +644 -0
- data/docs/Fox/FXTabBook.html +373 -0
- data/docs/Fox/FXTabItem.html +478 -0
- data/docs/Fox/FXTable.html +10107 -0
- data/docs/Fox/FXTableItem.html +2195 -0
- data/docs/Fox/FXTablePos.html +360 -0
- data/docs/Fox/FXTableRange.html +360 -0
- data/docs/Fox/FXText.html +6870 -0
- data/docs/Fox/FXTextChange.html +492 -0
- data/docs/Fox/FXTextField.html +2016 -0
- data/docs/Fox/FXToggleButton.html +844 -0
- data/docs/Fox/FXToolBar.html +452 -0
- data/docs/Fox/FXToolBarGrip.html +584 -0
- data/docs/Fox/FXToolBarShell.html +788 -0
- data/docs/Fox/FXToolBarTab.html +729 -0
- data/docs/Fox/FXToolTip.html +761 -0
- data/docs/Fox/FXTopWindow.html +1716 -0
- data/docs/Fox/FXTranslator.html +481 -0
- data/docs/Fox/FXTreeItem.html +2813 -0
- data/docs/Fox/FXTreeList.html +5095 -0
- data/docs/Fox/FXTreeListBox.html +3080 -0
- data/docs/Fox/FXTriStateButton.html +681 -0
- data/docs/Fox/FXUndoList.html +2560 -0
- data/docs/Fox/FXVec2d.html +1450 -0
- data/docs/Fox/FXVec2f.html +1442 -0
- data/docs/Fox/FXVec3d.html +1649 -0
- data/docs/Fox/FXVec3f.html +1649 -0
- data/docs/Fox/FXVec4d.html +1858 -0
- data/docs/Fox/FXVec4f.html +1858 -0
- data/docs/Fox/FXVerticalFrame.html +359 -0
- data/docs/Fox/FXVerticalSeparator.html +349 -0
- data/docs/Fox/FXViewport.html +780 -0
- data/docs/Fox/FXVisual.html +1023 -0
- data/docs/Fox/FXWindow.html +9948 -0
- data/docs/Fox/FXWizard.html +1052 -0
- data/docs/Fox/FXXBMIcon.html +453 -0
- data/docs/Fox/FXXBMImage.html +437 -0
- data/docs/Fox/FXXPMIcon.html +450 -0
- data/docs/Fox/FXXPMImage.html +434 -0
- data/docs/Fox/NotifyHeader.html +286 -0
- data/docs/Fox/SCNotification.html +1438 -0
- data/docs/Fox/TextRange.html +281 -0
- data/docs/Fox.html +11184 -0
- data/docs/IRB.html +204 -0
- data/docs/Responder.html +693 -0
- data/docs/Responder2.html +225 -0
- data/docs/_index.html +2101 -0
- data/docs/class_list.html +51 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +58 -0
- data/docs/css/style.css +496 -0
- data/docs/file.History.html +869 -0
- data/docs/file.README.html +104 -0
- data/docs/file_list.html +66 -0
- data/docs/frames.html +17 -0
- data/docs/index.html +614 -0
- data/docs/js/app.js +314 -0
- data/docs/js/full_list.js +216 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +31043 -0
- data/docs/top-level-namespace.html +214 -0
- data/examples/canvasdemo.rb +5 -1
- data/examples/gltest.rb +162 -106
- data/examples/glviewer.rb +12 -8
- data/ext/fox16_c/core_wrap.cpp +117 -115
- data/ext/fox16_c/dc_wrap.cpp +82 -60
- data/ext/fox16_c/dialogs_wrap.cpp +87 -67
- data/ext/fox16_c/extconf.rb +12 -12
- data/ext/fox16_c/frames_wrap.cpp +101 -75
- data/ext/fox16_c/fx3d_wrap.cpp +258 -302
- data/ext/fox16_c/iconlist_wrap.cpp +70 -52
- data/ext/fox16_c/icons_wrap.cpp +75 -55
- data/ext/fox16_c/image_wrap.cpp +75 -57
- data/ext/fox16_c/label_wrap.cpp +78 -60
- data/ext/fox16_c/layout_wrap.cpp +83 -65
- data/ext/fox16_c/list_wrap.cpp +70 -52
- data/ext/fox16_c/mdi_wrap.cpp +76 -58
- data/ext/fox16_c/menu_wrap.cpp +78 -60
- data/ext/fox16_c/scintilla_wrap.cpp +85 -61
- data/ext/fox16_c/swigruby.h +64 -46
- data/ext/fox16_c/table_wrap.cpp +80 -58
- data/ext/fox16_c/text_wrap.cpp +75 -55
- data/ext/fox16_c/treelist_wrap.cpp +71 -53
- data/ext/fox16_c/ui_wrap.cpp +101 -81
- data/fxruby.gemspec +1 -1
- data/lib/2.4/fox16_c.so +0 -0
- data/lib/2.5/fox16_c.so +0 -0
- data/lib/2.6/fox16_c.so +0 -0
- data/lib/2.7/fox16_c.so +0 -0
- data/lib/3.0/fox16_c.so +0 -0
- data/lib/3.1/fox16_c.so +0 -0
- data/lib/fox16/aliases.rb +0 -0
- data/lib/fox16/bitmapview.rb +0 -0
- data/lib/fox16/calendar.rb +0 -0
- data/lib/fox16/canvas.rb +76 -45
- data/lib/fox16/chore.rb +0 -0
- data/lib/fox16/colors.rb +0 -0
- data/lib/fox16/core.rb +0 -0
- data/lib/fox16/dict.rb +0 -0
- data/lib/fox16/glgroup.rb +5 -5
- data/lib/fox16/glshapes.rb +111 -99
- data/lib/fox16/input.rb +0 -0
- data/lib/fox16/irb.rb +0 -0
- data/lib/fox16/iterators.rb +0 -0
- data/lib/fox16/keys.rb +0 -0
- data/lib/fox16/missingdep.rb +0 -0
- data/lib/fox16/pseudokeyboard.rb +0 -0
- data/lib/fox16/pseudomouse.rb +0 -0
- data/lib/fox16/responder.rb +0 -0
- data/lib/fox16/responder2.rb +0 -0
- data/lib/fox16/scintilla.rb +0 -0
- data/lib/fox16/settings.rb +0 -0
- data/lib/fox16/signal.rb +0 -0
- data/lib/fox16/timeout.rb +0 -0
- data/lib/fox16/tkcompat.rb +0 -0
- data/lib/fox16/undolist.rb +0 -0
- data/lib/fox16/version.rb +1 -1
- data/lib/fox16.rb +2 -4
- data/ports/x86-mingw32/bin/libFOX-1.6-0.dll +0 -0
- data/ports/x86-mingw32/bin/libfxscintilla-20.dll +0 -0
- data/ports/x86-mingw32/bin/libgcc_s_sjlj-1.dll +0 -0
- data/ports/x86-mingw32/bin/libjpeg-62.dll +0 -0
- data/ports/x86-mingw32/bin/libpng16-16.dll +0 -0
- data/ports/x86-mingw32/bin/libstdc++-6.dll +0 -0
- data/ports/x86-mingw32/bin/libtiff-5.dll +0 -0
- data/ports/x86-mingw32/bin/libwinpthread-1.dll +0 -0
- data/ports/x86-mingw32/bin/zlib1.dll +0 -0
- metadata +311 -20
- data/lib/2.2/fox16_c.so +0 -0
- data/lib/2.3/fox16_c.so +0 -0
- data/ports/i686-w64-mingw32/bin/libFOX-1.6-0.dll +0 -0
- data/ports/i686-w64-mingw32/bin/libfxscintilla-20.dll +0 -0
- data/ports/i686-w64-mingw32/bin/libgcc_s_sjlj-1.dll +0 -0
- data/ports/i686-w64-mingw32/bin/libjpeg-62.dll +0 -0
- data/ports/i686-w64-mingw32/bin/libpng16-16.dll +0 -0
- data/ports/i686-w64-mingw32/bin/libstdc++-6.dll +0 -0
- data/ports/i686-w64-mingw32/bin/libtiff-5.dll +0 -0
- data/ports/i686-w64-mingw32/bin/libwinpthread-1.dll +0 -0
- data/ports/i686-w64-mingw32/bin/zlib1.dll +0 -0
@@ -0,0 +1,1522 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: Fox::FXRanged
|
8
|
+
|
9
|
+
— FXRuby API Documentation
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
pathId = "Fox::FXRanged";
|
19
|
+
relpath = '../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../_index.html">Index (F)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">FXRanged</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Class: Fox::FXRanged
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
72
|
+
<span class="inheritName">Object</span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next">Fox::FXRanged</li>
|
78
|
+
|
79
|
+
</ul>
|
80
|
+
<a href="#" class="inheritanceTree">show all</a>
|
81
|
+
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>rdoc-sources/FXRanged.rb</dd>
|
98
|
+
</dl>
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
<h2>Overview</h2><div class="docstring">
|
103
|
+
<div class="discussion">
|
104
|
+
|
105
|
+
<p>Represents a range in 3-D space.</p>
|
106
|
+
|
107
|
+
|
108
|
+
</div>
|
109
|
+
</div>
|
110
|
+
<div class="tags">
|
111
|
+
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
118
|
+
<ul class="summary">
|
119
|
+
|
120
|
+
<li class="public ">
|
121
|
+
<span class="summary_signature">
|
122
|
+
|
123
|
+
<a href="#lower-instance_method" title="#lower (instance method)">#<strong>lower</strong> ⇒ Object </a>
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
</span>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
<span class="summary_desc"><div class='inline'>
|
141
|
+
<p>Lower corner of range <span class='object_link'><a href="FXVec3d.html" title="Fox::FXVec3d (class)">FXVec3d</a></span>.</p>
|
142
|
+
</div></span>
|
143
|
+
|
144
|
+
</li>
|
145
|
+
|
146
|
+
|
147
|
+
<li class="public ">
|
148
|
+
<span class="summary_signature">
|
149
|
+
|
150
|
+
<a href="#upper-instance_method" title="#upper (instance method)">#<strong>upper</strong> ⇒ Object </a>
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
</span>
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
<span class="summary_desc"><div class='inline'>
|
168
|
+
<p>Upper corner of range <span class='object_link'><a href="FXVec3d.html" title="Fox::FXVec3d (class)">FXVec3d</a></span>.</p>
|
169
|
+
</div></span>
|
170
|
+
|
171
|
+
</li>
|
172
|
+
|
173
|
+
|
174
|
+
</ul>
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
<h2>
|
181
|
+
Instance Method Summary
|
182
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
183
|
+
</h2>
|
184
|
+
|
185
|
+
<ul class="summary">
|
186
|
+
|
187
|
+
<li class="public ">
|
188
|
+
<span class="summary_signature">
|
189
|
+
|
190
|
+
<a href="#center-instance_method" title="#center (instance method)">#<strong>center</strong> ⇒ Object </a>
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
</span>
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
<span class="summary_desc"><div class='inline'>
|
205
|
+
<p>Return the center of the box (a point, as an FXVec3d instance).</p>
|
206
|
+
</div></span>
|
207
|
+
|
208
|
+
</li>
|
209
|
+
|
210
|
+
|
211
|
+
<li class="public ">
|
212
|
+
<span class="summary_signature">
|
213
|
+
|
214
|
+
<a href="#contains%3F-instance_method" title="#contains? (instance method)">#<strong>contains?</strong>(aSphere) ⇒ Boolean </a>
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
</span>
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
<span class="summary_desc"><div class='inline'>
|
229
|
+
<p>Returns <code>true</code> if this box properly contains <em>aSphere</em> (an FXSphered instance).</p>
|
230
|
+
</div></span>
|
231
|
+
|
232
|
+
</li>
|
233
|
+
|
234
|
+
|
235
|
+
<li class="public ">
|
236
|
+
<span class="summary_signature">
|
237
|
+
|
238
|
+
<a href="#corner-instance_method" title="#corner (instance method)">#<strong>corner</strong>(c) ⇒ Object </a>
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
</span>
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
<span class="summary_desc"><div class='inline'>
|
253
|
+
<p>Return the _c_th corner of this box (an FXVec3d instance).</p>
|
254
|
+
</div></span>
|
255
|
+
|
256
|
+
</li>
|
257
|
+
|
258
|
+
|
259
|
+
<li class="public ">
|
260
|
+
<span class="summary_signature">
|
261
|
+
|
262
|
+
<a href="#depth-instance_method" title="#depth (instance method)">#<strong>depth</strong> ⇒ Object </a>
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
</span>
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
<span class="summary_desc"><div class='inline'>
|
277
|
+
<p>Return the depth of the box.</p>
|
278
|
+
</div></span>
|
279
|
+
|
280
|
+
</li>
|
281
|
+
|
282
|
+
|
283
|
+
<li class="public ">
|
284
|
+
<span class="summary_signature">
|
285
|
+
|
286
|
+
<a href="#diagonal-instance_method" title="#diagonal (instance method)">#<strong>diagonal</strong> ⇒ Object </a>
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
</span>
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
<span class="summary_desc"><div class='inline'>
|
301
|
+
<p>Return the diagonal vector for the box (an FXVec3d instance).</p>
|
302
|
+
</div></span>
|
303
|
+
|
304
|
+
</li>
|
305
|
+
|
306
|
+
|
307
|
+
<li class="public ">
|
308
|
+
<span class="summary_signature">
|
309
|
+
|
310
|
+
<a href="#diameter-instance_method" title="#diameter (instance method)">#<strong>diameter</strong> ⇒ Object </a>
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
</span>
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
<span class="summary_desc"><div class='inline'>
|
325
|
+
<p>Return the length of the diagonal of the box.</p>
|
326
|
+
</div></span>
|
327
|
+
|
328
|
+
</li>
|
329
|
+
|
330
|
+
|
331
|
+
<li class="public ">
|
332
|
+
<span class="summary_signature">
|
333
|
+
|
334
|
+
<a href="#empty%3F-instance_method" title="#empty? (instance method)">#<strong>empty?</strong> ⇒ Boolean </a>
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
</span>
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
<span class="summary_desc"><div class='inline'>
|
349
|
+
<p>Returns <code>true</code> if this is an empty range (i.e. if any of the side lengths is zero or less).</p>
|
350
|
+
</div></span>
|
351
|
+
|
352
|
+
</li>
|
353
|
+
|
354
|
+
|
355
|
+
<li class="public ">
|
356
|
+
<span class="summary_signature">
|
357
|
+
|
358
|
+
<a href="#height-instance_method" title="#height (instance method)">#<strong>height</strong> ⇒ Object </a>
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
</span>
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
<span class="summary_desc"><div class='inline'>
|
373
|
+
<p>Return the height of the box.</p>
|
374
|
+
</div></span>
|
375
|
+
|
376
|
+
</li>
|
377
|
+
|
378
|
+
|
379
|
+
<li class="public ">
|
380
|
+
<span class="summary_signature">
|
381
|
+
|
382
|
+
<a href="#include!-instance_method" title="#include! (instance method)">#<strong>include!</strong>(*args) ⇒ Object </a>
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
</span>
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
|
396
|
+
<span class="summary_desc"><div class='inline'>
|
397
|
+
<p>Include the given range or point into this range and return a reference to self.</p>
|
398
|
+
</div></span>
|
399
|
+
|
400
|
+
</li>
|
401
|
+
|
402
|
+
|
403
|
+
<li class="public ">
|
404
|
+
<span class="summary_signature">
|
405
|
+
|
406
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(sphere) ⇒ FXRanged </a>
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
</span>
|
411
|
+
|
412
|
+
|
413
|
+
<span class="note title constructor">constructor</span>
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
<span class="summary_desc"><div class='inline'>
|
423
|
+
<p>Initialize box to fully contain the given sphere (an FXSphered instance).</p>
|
424
|
+
</div></span>
|
425
|
+
|
426
|
+
</li>
|
427
|
+
|
428
|
+
|
429
|
+
<li class="public ">
|
430
|
+
<span class="summary_signature">
|
431
|
+
|
432
|
+
<a href="#intersect-instance_method" title="#intersect (instance method)">#<strong>intersect</strong>(plane) ⇒ Object </a>
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
</span>
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
|
446
|
+
<span class="summary_desc"><div class='inline'>
|
447
|
+
<p>Intersect box with a plane <em>ax+by+cz+w</em>; returns -1, 0 or 1.</p>
|
448
|
+
</div></span>
|
449
|
+
|
450
|
+
</li>
|
451
|
+
|
452
|
+
|
453
|
+
<li class="public ">
|
454
|
+
<span class="summary_signature">
|
455
|
+
|
456
|
+
<a href="#intersection-instance_method" title="#intersection (instance method)">#<strong>intersection</strong>(other) ⇒ Object </a>
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
</span>
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
<span class="summary_desc"><div class='inline'>
|
471
|
+
<p>Return a new FXRanged instance which is the intersection of this box and another box.</p>
|
472
|
+
</div></span>
|
473
|
+
|
474
|
+
</li>
|
475
|
+
|
476
|
+
|
477
|
+
<li class="public ">
|
478
|
+
<span class="summary_signature">
|
479
|
+
|
480
|
+
<a href="#intersects%3F-instance_method" title="#intersects? (instance method)">#<strong>intersects?</strong>(u, v) ⇒ Boolean </a>
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
</span>
|
485
|
+
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
|
494
|
+
<span class="summary_desc"><div class='inline'>
|
495
|
+
<p>Return true if the ray from <em>u</em> to <em>v</em> (both FXVec3d instances representing the ray endpoints) intersects this box.</p>
|
496
|
+
</div></span>
|
497
|
+
|
498
|
+
</li>
|
499
|
+
|
500
|
+
|
501
|
+
<li class="public ">
|
502
|
+
<span class="summary_signature">
|
503
|
+
|
504
|
+
<a href="#longest-instance_method" title="#longest (instance method)">#<strong>longest</strong> ⇒ Object </a>
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
</span>
|
509
|
+
|
510
|
+
|
511
|
+
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
<span class="summary_desc"><div class='inline'>
|
519
|
+
<p>Return the length of the longest side of the box.</p>
|
520
|
+
</div></span>
|
521
|
+
|
522
|
+
</li>
|
523
|
+
|
524
|
+
|
525
|
+
<li class="public ">
|
526
|
+
<span class="summary_signature">
|
527
|
+
|
528
|
+
<a href="#overlaps%3F-instance_method" title="#overlaps? (instance method)">#<strong>overlaps?</strong>(other) ⇒ Boolean </a>
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
</span>
|
533
|
+
|
534
|
+
|
535
|
+
|
536
|
+
|
537
|
+
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
|
542
|
+
<span class="summary_desc"><div class='inline'>
|
543
|
+
<p>Returns <code>true</code> if any part of this range overlaps the <em>other</em> range.</p>
|
544
|
+
</div></span>
|
545
|
+
|
546
|
+
</li>
|
547
|
+
|
548
|
+
|
549
|
+
<li class="public ">
|
550
|
+
<span class="summary_signature">
|
551
|
+
|
552
|
+
<a href="#radius-instance_method" title="#radius (instance method)">#<strong>radius</strong> ⇒ Object </a>
|
553
|
+
|
554
|
+
|
555
|
+
|
556
|
+
</span>
|
557
|
+
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
<span class="summary_desc"><div class='inline'>
|
567
|
+
<p>Return the radius of the box.</p>
|
568
|
+
</div></span>
|
569
|
+
|
570
|
+
</li>
|
571
|
+
|
572
|
+
|
573
|
+
<li class="public ">
|
574
|
+
<span class="summary_signature">
|
575
|
+
|
576
|
+
<a href="#shortest-instance_method" title="#shortest (instance method)">#<strong>shortest</strong> ⇒ Object </a>
|
577
|
+
|
578
|
+
|
579
|
+
|
580
|
+
</span>
|
581
|
+
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
<span class="summary_desc"><div class='inline'>
|
591
|
+
<p>Return the length of the shortest side of the box.</p>
|
592
|
+
</div></span>
|
593
|
+
|
594
|
+
</li>
|
595
|
+
|
596
|
+
|
597
|
+
<li class="public ">
|
598
|
+
<span class="summary_signature">
|
599
|
+
|
600
|
+
<a href="#union-instance_method" title="#union (instance method)">#<strong>union</strong>(other) ⇒ Object </a>
|
601
|
+
|
602
|
+
|
603
|
+
|
604
|
+
</span>
|
605
|
+
|
606
|
+
|
607
|
+
|
608
|
+
|
609
|
+
|
610
|
+
|
611
|
+
|
612
|
+
|
613
|
+
|
614
|
+
<span class="summary_desc"><div class='inline'>
|
615
|
+
<p>Return a new FXRanged instance which is the union of this box and another box.</p>
|
616
|
+
</div></span>
|
617
|
+
|
618
|
+
</li>
|
619
|
+
|
620
|
+
|
621
|
+
<li class="public ">
|
622
|
+
<span class="summary_signature">
|
623
|
+
|
624
|
+
<a href="#width-instance_method" title="#width (instance method)">#<strong>width</strong> ⇒ Object </a>
|
625
|
+
|
626
|
+
|
627
|
+
|
628
|
+
</span>
|
629
|
+
|
630
|
+
|
631
|
+
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
|
636
|
+
|
637
|
+
|
638
|
+
<span class="summary_desc"><div class='inline'>
|
639
|
+
<p>Return the width of the box.</p>
|
640
|
+
</div></span>
|
641
|
+
|
642
|
+
</li>
|
643
|
+
|
644
|
+
|
645
|
+
</ul>
|
646
|
+
|
647
|
+
|
648
|
+
<div id="constructor_details" class="method_details_list">
|
649
|
+
<h2>Constructor Details</h2>
|
650
|
+
|
651
|
+
<div class="method_details first">
|
652
|
+
<h3 class="signature first" id="initialize-instance_method">
|
653
|
+
|
654
|
+
#<strong>initialize</strong>(sphere) ⇒ <tt><span class='object_link'><a href="" title="Fox::FXRanged (class)">FXRanged</a></span></tt>
|
655
|
+
|
656
|
+
|
657
|
+
|
658
|
+
|
659
|
+
|
660
|
+
</h3><div class="docstring">
|
661
|
+
<div class="discussion">
|
662
|
+
|
663
|
+
<p>Initialize box to fully contain the given sphere (an FXSphered instance)</p>
|
664
|
+
|
665
|
+
|
666
|
+
</div>
|
667
|
+
</div>
|
668
|
+
<div class="tags">
|
669
|
+
|
670
|
+
|
671
|
+
</div><table class="source_code">
|
672
|
+
<tr>
|
673
|
+
<td>
|
674
|
+
<pre class="lines">
|
675
|
+
|
676
|
+
|
677
|
+
14</pre>
|
678
|
+
</td>
|
679
|
+
<td>
|
680
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 14</span>
|
681
|
+
|
682
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_xlo'>xlo</span><span class='op'>=</span><span class='float'>0.0</span><span class='comma'>,</span> <span class='id identifier rubyid_xhi'>xhi</span><span class='op'>=</span><span class='float'>0.0</span><span class='comma'>,</span> <span class='id identifier rubyid_ylo'>ylo</span><span class='op'>=</span><span class='float'>0.0</span><span class='comma'>,</span> <span class='id identifier rubyid_yhi'>yhi</span><span class='op'>=</span><span class='float'>0.0</span><span class='comma'>,</span> <span class='id identifier rubyid_zlo'>zlo</span><span class='op'>=</span><span class='float'>0.0</span><span class='comma'>,</span> <span class='id identifier rubyid_zhi'>zhi</span><span class='op'>=</span><span class='float'>0.0</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
683
|
+
</td>
|
684
|
+
</tr>
|
685
|
+
</table>
|
686
|
+
</div>
|
687
|
+
|
688
|
+
</div>
|
689
|
+
|
690
|
+
<div id="instance_attr_details" class="attr_details">
|
691
|
+
<h2>Instance Attribute Details</h2>
|
692
|
+
|
693
|
+
|
694
|
+
<span id="lower=-instance_method"></span>
|
695
|
+
<div class="method_details first">
|
696
|
+
<h3 class="signature first" id="lower-instance_method">
|
697
|
+
|
698
|
+
#<strong>lower</strong> ⇒ <tt>Object</tt>
|
699
|
+
|
700
|
+
|
701
|
+
|
702
|
+
|
703
|
+
|
704
|
+
</h3><div class="docstring">
|
705
|
+
<div class="discussion">
|
706
|
+
|
707
|
+
<p>Lower corner of range <span class='object_link'><a href="FXVec3d.html" title="Fox::FXVec3d (class)">Fox::FXVec3d</a></span></p>
|
708
|
+
|
709
|
+
|
710
|
+
</div>
|
711
|
+
</div>
|
712
|
+
<div class="tags">
|
713
|
+
|
714
|
+
|
715
|
+
</div><table class="source_code">
|
716
|
+
<tr>
|
717
|
+
<td>
|
718
|
+
<pre class="lines">
|
719
|
+
|
720
|
+
|
721
|
+
8
|
722
|
+
9
|
723
|
+
10</pre>
|
724
|
+
</td>
|
725
|
+
<td>
|
726
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 8</span>
|
727
|
+
|
728
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_lower'>lower</span>
|
729
|
+
<span class='ivar'>@lower</span>
|
730
|
+
<span class='kw'>end</span></pre>
|
731
|
+
</td>
|
732
|
+
</tr>
|
733
|
+
</table>
|
734
|
+
</div>
|
735
|
+
|
736
|
+
|
737
|
+
<span id="upper=-instance_method"></span>
|
738
|
+
<div class="method_details ">
|
739
|
+
<h3 class="signature " id="upper-instance_method">
|
740
|
+
|
741
|
+
#<strong>upper</strong> ⇒ <tt>Object</tt>
|
742
|
+
|
743
|
+
|
744
|
+
|
745
|
+
|
746
|
+
|
747
|
+
</h3><div class="docstring">
|
748
|
+
<div class="discussion">
|
749
|
+
|
750
|
+
<p>Upper corner of range <span class='object_link'><a href="FXVec3d.html" title="Fox::FXVec3d (class)">Fox::FXVec3d</a></span></p>
|
751
|
+
|
752
|
+
|
753
|
+
</div>
|
754
|
+
</div>
|
755
|
+
<div class="tags">
|
756
|
+
|
757
|
+
|
758
|
+
</div><table class="source_code">
|
759
|
+
<tr>
|
760
|
+
<td>
|
761
|
+
<pre class="lines">
|
762
|
+
|
763
|
+
|
764
|
+
11
|
765
|
+
12
|
766
|
+
13</pre>
|
767
|
+
</td>
|
768
|
+
<td>
|
769
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 11</span>
|
770
|
+
|
771
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_upper'>upper</span>
|
772
|
+
<span class='ivar'>@upper</span>
|
773
|
+
<span class='kw'>end</span></pre>
|
774
|
+
</td>
|
775
|
+
</tr>
|
776
|
+
</table>
|
777
|
+
</div>
|
778
|
+
|
779
|
+
</div>
|
780
|
+
|
781
|
+
|
782
|
+
<div id="instance_method_details" class="method_details_list">
|
783
|
+
<h2>Instance Method Details</h2>
|
784
|
+
|
785
|
+
|
786
|
+
<div class="method_details first">
|
787
|
+
<h3 class="signature first" id="center-instance_method">
|
788
|
+
|
789
|
+
#<strong>center</strong> ⇒ <tt>Object</tt>
|
790
|
+
|
791
|
+
|
792
|
+
|
793
|
+
|
794
|
+
|
795
|
+
</h3><div class="docstring">
|
796
|
+
<div class="discussion">
|
797
|
+
|
798
|
+
<p>Return the center of the box (a point, as an FXVec3d instance).</p>
|
799
|
+
|
800
|
+
|
801
|
+
</div>
|
802
|
+
</div>
|
803
|
+
<div class="tags">
|
804
|
+
|
805
|
+
|
806
|
+
</div><table class="source_code">
|
807
|
+
<tr>
|
808
|
+
<td>
|
809
|
+
<pre class="lines">
|
810
|
+
|
811
|
+
|
812
|
+
47</pre>
|
813
|
+
</td>
|
814
|
+
<td>
|
815
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 47</span>
|
816
|
+
|
817
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_center'>center</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
818
|
+
</td>
|
819
|
+
</tr>
|
820
|
+
</table>
|
821
|
+
</div>
|
822
|
+
|
823
|
+
<div class="method_details ">
|
824
|
+
<h3 class="signature " id="contains?-instance_method">
|
825
|
+
|
826
|
+
#<strong>contains?</strong>(aSphere) ⇒ <tt>Boolean</tt>
|
827
|
+
|
828
|
+
|
829
|
+
|
830
|
+
|
831
|
+
|
832
|
+
</h3><div class="docstring">
|
833
|
+
<div class="discussion">
|
834
|
+
|
835
|
+
<p>Returns <code>true</code> if this box properly contains <em>aSphere</em> (an FXSphered instance)</p>
|
836
|
+
|
837
|
+
|
838
|
+
</div>
|
839
|
+
</div>
|
840
|
+
<div class="tags">
|
841
|
+
|
842
|
+
<p class="tag_title">Returns:</p>
|
843
|
+
<ul class="return">
|
844
|
+
|
845
|
+
<li>
|
846
|
+
|
847
|
+
|
848
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
849
|
+
|
850
|
+
|
851
|
+
|
852
|
+
</li>
|
853
|
+
|
854
|
+
</ul>
|
855
|
+
|
856
|
+
</div><table class="source_code">
|
857
|
+
<tr>
|
858
|
+
<td>
|
859
|
+
<pre class="lines">
|
860
|
+
|
861
|
+
|
862
|
+
54</pre>
|
863
|
+
</td>
|
864
|
+
<td>
|
865
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 54</span>
|
866
|
+
|
867
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_contains?'>contains?</span><span class='lparen'>(</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='comma'>,</span> <span class='id identifier rubyid_z'>z</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
868
|
+
</td>
|
869
|
+
</tr>
|
870
|
+
</table>
|
871
|
+
</div>
|
872
|
+
|
873
|
+
<div class="method_details ">
|
874
|
+
<h3 class="signature " id="corner-instance_method">
|
875
|
+
|
876
|
+
#<strong>corner</strong>(c) ⇒ <tt>Object</tt>
|
877
|
+
|
878
|
+
|
879
|
+
|
880
|
+
|
881
|
+
|
882
|
+
</h3><div class="docstring">
|
883
|
+
<div class="discussion">
|
884
|
+
|
885
|
+
<p>Return the _c_th corner of this box (an FXVec3d instance). Raises IndexError if <em>c</em> is less than zero or greater than 7.</p>
|
886
|
+
|
887
|
+
|
888
|
+
</div>
|
889
|
+
</div>
|
890
|
+
<div class="tags">
|
891
|
+
|
892
|
+
|
893
|
+
</div><table class="source_code">
|
894
|
+
<tr>
|
895
|
+
<td>
|
896
|
+
<pre class="lines">
|
897
|
+
|
898
|
+
|
899
|
+
90</pre>
|
900
|
+
</td>
|
901
|
+
<td>
|
902
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 90</span>
|
903
|
+
|
904
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_corner'>corner</span><span class='lparen'>(</span><span class='id identifier rubyid_c'>c</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
905
|
+
</td>
|
906
|
+
</tr>
|
907
|
+
</table>
|
908
|
+
</div>
|
909
|
+
|
910
|
+
<div class="method_details ">
|
911
|
+
<h3 class="signature " id="depth-instance_method">
|
912
|
+
|
913
|
+
#<strong>depth</strong> ⇒ <tt>Object</tt>
|
914
|
+
|
915
|
+
|
916
|
+
|
917
|
+
|
918
|
+
|
919
|
+
</h3><div class="docstring">
|
920
|
+
<div class="discussion">
|
921
|
+
|
922
|
+
<p>Return the depth of the box</p>
|
923
|
+
|
924
|
+
|
925
|
+
</div>
|
926
|
+
</div>
|
927
|
+
<div class="tags">
|
928
|
+
|
929
|
+
|
930
|
+
</div><table class="source_code">
|
931
|
+
<tr>
|
932
|
+
<td>
|
933
|
+
<pre class="lines">
|
934
|
+
|
935
|
+
|
936
|
+
29</pre>
|
937
|
+
</td>
|
938
|
+
<td>
|
939
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 29</span>
|
940
|
+
|
941
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_depth'>depth</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
942
|
+
</td>
|
943
|
+
</tr>
|
944
|
+
</table>
|
945
|
+
</div>
|
946
|
+
|
947
|
+
<div class="method_details ">
|
948
|
+
<h3 class="signature " id="diagonal-instance_method">
|
949
|
+
|
950
|
+
#<strong>diagonal</strong> ⇒ <tt>Object</tt>
|
951
|
+
|
952
|
+
|
953
|
+
|
954
|
+
|
955
|
+
|
956
|
+
</h3><div class="docstring">
|
957
|
+
<div class="discussion">
|
958
|
+
|
959
|
+
<p>Return the diagonal vector for the box (an FXVec3d instance).</p>
|
960
|
+
|
961
|
+
|
962
|
+
</div>
|
963
|
+
</div>
|
964
|
+
<div class="tags">
|
965
|
+
|
966
|
+
|
967
|
+
</div><table class="source_code">
|
968
|
+
<tr>
|
969
|
+
<td>
|
970
|
+
<pre class="lines">
|
971
|
+
|
972
|
+
|
973
|
+
44</pre>
|
974
|
+
</td>
|
975
|
+
<td>
|
976
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 44</span>
|
977
|
+
|
978
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_diagonal'>diagonal</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
979
|
+
</td>
|
980
|
+
</tr>
|
981
|
+
</table>
|
982
|
+
</div>
|
983
|
+
|
984
|
+
<div class="method_details ">
|
985
|
+
<h3 class="signature " id="diameter-instance_method">
|
986
|
+
|
987
|
+
#<strong>diameter</strong> ⇒ <tt>Object</tt>
|
988
|
+
|
989
|
+
|
990
|
+
|
991
|
+
|
992
|
+
|
993
|
+
</h3><div class="docstring">
|
994
|
+
<div class="discussion">
|
995
|
+
|
996
|
+
<p>Return the length of the diagonal of the box</p>
|
997
|
+
|
998
|
+
|
999
|
+
</div>
|
1000
|
+
</div>
|
1001
|
+
<div class="tags">
|
1002
|
+
|
1003
|
+
|
1004
|
+
</div><table class="source_code">
|
1005
|
+
<tr>
|
1006
|
+
<td>
|
1007
|
+
<pre class="lines">
|
1008
|
+
|
1009
|
+
|
1010
|
+
38</pre>
|
1011
|
+
</td>
|
1012
|
+
<td>
|
1013
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 38</span>
|
1014
|
+
|
1015
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_diameter'>diameter</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1016
|
+
</td>
|
1017
|
+
</tr>
|
1018
|
+
</table>
|
1019
|
+
</div>
|
1020
|
+
|
1021
|
+
<div class="method_details ">
|
1022
|
+
<h3 class="signature " id="empty?-instance_method">
|
1023
|
+
|
1024
|
+
#<strong>empty?</strong> ⇒ <tt>Boolean</tt>
|
1025
|
+
|
1026
|
+
|
1027
|
+
|
1028
|
+
|
1029
|
+
|
1030
|
+
</h3><div class="docstring">
|
1031
|
+
<div class="discussion">
|
1032
|
+
|
1033
|
+
<p>Returns <code>true</code> if this is an empty range (i.e. if any of the side lengths is zero or less).</p>
|
1034
|
+
|
1035
|
+
|
1036
|
+
</div>
|
1037
|
+
</div>
|
1038
|
+
<div class="tags">
|
1039
|
+
|
1040
|
+
<p class="tag_title">Returns:</p>
|
1041
|
+
<ul class="return">
|
1042
|
+
|
1043
|
+
<li>
|
1044
|
+
|
1045
|
+
|
1046
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1047
|
+
|
1048
|
+
|
1049
|
+
|
1050
|
+
</li>
|
1051
|
+
|
1052
|
+
</ul>
|
1053
|
+
|
1054
|
+
</div><table class="source_code">
|
1055
|
+
<tr>
|
1056
|
+
<td>
|
1057
|
+
<pre class="lines">
|
1058
|
+
|
1059
|
+
|
1060
|
+
51</pre>
|
1061
|
+
</td>
|
1062
|
+
<td>
|
1063
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 51</span>
|
1064
|
+
|
1065
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_empty?'>empty?</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1066
|
+
</td>
|
1067
|
+
</tr>
|
1068
|
+
</table>
|
1069
|
+
</div>
|
1070
|
+
|
1071
|
+
<div class="method_details ">
|
1072
|
+
<h3 class="signature " id="height-instance_method">
|
1073
|
+
|
1074
|
+
#<strong>height</strong> ⇒ <tt>Object</tt>
|
1075
|
+
|
1076
|
+
|
1077
|
+
|
1078
|
+
|
1079
|
+
|
1080
|
+
</h3><div class="docstring">
|
1081
|
+
<div class="discussion">
|
1082
|
+
|
1083
|
+
<p>Return the height of the box</p>
|
1084
|
+
|
1085
|
+
|
1086
|
+
</div>
|
1087
|
+
</div>
|
1088
|
+
<div class="tags">
|
1089
|
+
|
1090
|
+
|
1091
|
+
</div><table class="source_code">
|
1092
|
+
<tr>
|
1093
|
+
<td>
|
1094
|
+
<pre class="lines">
|
1095
|
+
|
1096
|
+
|
1097
|
+
26</pre>
|
1098
|
+
</td>
|
1099
|
+
<td>
|
1100
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 26</span>
|
1101
|
+
|
1102
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_height'>height</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1103
|
+
</td>
|
1104
|
+
</tr>
|
1105
|
+
</table>
|
1106
|
+
</div>
|
1107
|
+
|
1108
|
+
<div class="method_details ">
|
1109
|
+
<h3 class="signature " id="include!-instance_method">
|
1110
|
+
|
1111
|
+
#<strong>include!</strong>(*args) ⇒ <tt>Object</tt>
|
1112
|
+
|
1113
|
+
|
1114
|
+
|
1115
|
+
|
1116
|
+
|
1117
|
+
</h3><div class="docstring">
|
1118
|
+
<div class="discussion">
|
1119
|
+
|
1120
|
+
<p>Include the given range or point into this range and return a reference to self. Valid forms are:</p>
|
1121
|
+
|
1122
|
+
<pre class="code ruby"><code class="ruby">range.include!(aRange) -> range
|
1123
|
+
range.include!(x, y, z) -> range
|
1124
|
+
range.include!(vec) -> range
|
1125
|
+
range.include!(sphere) -> range
|
1126
|
+
</code></pre>
|
1127
|
+
|
1128
|
+
|
1129
|
+
</div>
|
1130
|
+
</div>
|
1131
|
+
<div class="tags">
|
1132
|
+
|
1133
|
+
|
1134
|
+
</div><table class="source_code">
|
1135
|
+
<tr>
|
1136
|
+
<td>
|
1137
|
+
<pre class="lines">
|
1138
|
+
|
1139
|
+
|
1140
|
+
76</pre>
|
1141
|
+
</td>
|
1142
|
+
<td>
|
1143
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 76</span>
|
1144
|
+
|
1145
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_include!'>include!</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1146
|
+
</td>
|
1147
|
+
</tr>
|
1148
|
+
</table>
|
1149
|
+
</div>
|
1150
|
+
|
1151
|
+
<div class="method_details ">
|
1152
|
+
<h3 class="signature " id="intersect-instance_method">
|
1153
|
+
|
1154
|
+
#<strong>intersect</strong>(plane) ⇒ <tt>Object</tt>
|
1155
|
+
|
1156
|
+
|
1157
|
+
|
1158
|
+
|
1159
|
+
|
1160
|
+
</h3><div class="docstring">
|
1161
|
+
<div class="discussion">
|
1162
|
+
|
1163
|
+
<p>Intersect box with a plane <em>ax+by+cz+w</em>; returns -1, 0 or 1.</p>
|
1164
|
+
|
1165
|
+
|
1166
|
+
</div>
|
1167
|
+
</div>
|
1168
|
+
<div class="tags">
|
1169
|
+
|
1170
|
+
|
1171
|
+
</div><table class="source_code">
|
1172
|
+
<tr>
|
1173
|
+
<td>
|
1174
|
+
<pre class="lines">
|
1175
|
+
|
1176
|
+
|
1177
|
+
79</pre>
|
1178
|
+
</td>
|
1179
|
+
<td>
|
1180
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 79</span>
|
1181
|
+
|
1182
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_intersect'>intersect</span><span class='lparen'>(</span><span class='id identifier rubyid_plane'>plane</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1183
|
+
</td>
|
1184
|
+
</tr>
|
1185
|
+
</table>
|
1186
|
+
</div>
|
1187
|
+
|
1188
|
+
<div class="method_details ">
|
1189
|
+
<h3 class="signature " id="intersection-instance_method">
|
1190
|
+
|
1191
|
+
#<strong>intersection</strong>(other) ⇒ <tt>Object</tt>
|
1192
|
+
|
1193
|
+
|
1194
|
+
|
1195
|
+
|
1196
|
+
|
1197
|
+
</h3><div class="docstring">
|
1198
|
+
<div class="discussion">
|
1199
|
+
|
1200
|
+
<p>Return a new FXRanged instance which is the intersection of this box and another box.</p>
|
1201
|
+
|
1202
|
+
|
1203
|
+
</div>
|
1204
|
+
</div>
|
1205
|
+
<div class="tags">
|
1206
|
+
|
1207
|
+
|
1208
|
+
</div><table class="source_code">
|
1209
|
+
<tr>
|
1210
|
+
<td>
|
1211
|
+
<pre class="lines">
|
1212
|
+
|
1213
|
+
|
1214
|
+
98</pre>
|
1215
|
+
</td>
|
1216
|
+
<td>
|
1217
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 98</span>
|
1218
|
+
|
1219
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_intersection'>intersection</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1220
|
+
</td>
|
1221
|
+
</tr>
|
1222
|
+
</table>
|
1223
|
+
</div>
|
1224
|
+
|
1225
|
+
<div class="method_details ">
|
1226
|
+
<h3 class="signature " id="intersects?-instance_method">
|
1227
|
+
|
1228
|
+
#<strong>intersects?</strong>(u, v) ⇒ <tt>Boolean</tt>
|
1229
|
+
|
1230
|
+
|
1231
|
+
|
1232
|
+
|
1233
|
+
|
1234
|
+
</h3><div class="docstring">
|
1235
|
+
<div class="discussion">
|
1236
|
+
|
1237
|
+
<p>Return true if the ray from <em>u</em> to <em>v</em> (both FXVec3d instances representing the ray endpoints) intersects this box.</p>
|
1238
|
+
|
1239
|
+
|
1240
|
+
</div>
|
1241
|
+
</div>
|
1242
|
+
<div class="tags">
|
1243
|
+
|
1244
|
+
<p class="tag_title">Returns:</p>
|
1245
|
+
<ul class="return">
|
1246
|
+
|
1247
|
+
<li>
|
1248
|
+
|
1249
|
+
|
1250
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1251
|
+
|
1252
|
+
|
1253
|
+
|
1254
|
+
</li>
|
1255
|
+
|
1256
|
+
</ul>
|
1257
|
+
|
1258
|
+
</div><table class="source_code">
|
1259
|
+
<tr>
|
1260
|
+
<td>
|
1261
|
+
<pre class="lines">
|
1262
|
+
|
1263
|
+
|
1264
|
+
83</pre>
|
1265
|
+
</td>
|
1266
|
+
<td>
|
1267
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 83</span>
|
1268
|
+
|
1269
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_intersects?'>intersects?</span><span class='lparen'>(</span><span class='id identifier rubyid_u'>u</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1270
|
+
</td>
|
1271
|
+
</tr>
|
1272
|
+
</table>
|
1273
|
+
</div>
|
1274
|
+
|
1275
|
+
<div class="method_details ">
|
1276
|
+
<h3 class="signature " id="longest-instance_method">
|
1277
|
+
|
1278
|
+
#<strong>longest</strong> ⇒ <tt>Object</tt>
|
1279
|
+
|
1280
|
+
|
1281
|
+
|
1282
|
+
|
1283
|
+
|
1284
|
+
</h3><div class="docstring">
|
1285
|
+
<div class="discussion">
|
1286
|
+
|
1287
|
+
<p>Return the length of the longest side of the box</p>
|
1288
|
+
|
1289
|
+
|
1290
|
+
</div>
|
1291
|
+
</div>
|
1292
|
+
<div class="tags">
|
1293
|
+
|
1294
|
+
|
1295
|
+
</div><table class="source_code">
|
1296
|
+
<tr>
|
1297
|
+
<td>
|
1298
|
+
<pre class="lines">
|
1299
|
+
|
1300
|
+
|
1301
|
+
32</pre>
|
1302
|
+
</td>
|
1303
|
+
<td>
|
1304
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 32</span>
|
1305
|
+
|
1306
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_longest'>longest</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1307
|
+
</td>
|
1308
|
+
</tr>
|
1309
|
+
</table>
|
1310
|
+
</div>
|
1311
|
+
|
1312
|
+
<div class="method_details ">
|
1313
|
+
<h3 class="signature " id="overlaps?-instance_method">
|
1314
|
+
|
1315
|
+
#<strong>overlaps?</strong>(other) ⇒ <tt>Boolean</tt>
|
1316
|
+
|
1317
|
+
|
1318
|
+
|
1319
|
+
|
1320
|
+
|
1321
|
+
</h3><div class="docstring">
|
1322
|
+
<div class="discussion">
|
1323
|
+
|
1324
|
+
<p>Returns <code>true</code> if any part of this range overlaps the <em>other</em> range.</p>
|
1325
|
+
|
1326
|
+
|
1327
|
+
</div>
|
1328
|
+
</div>
|
1329
|
+
<div class="tags">
|
1330
|
+
|
1331
|
+
<p class="tag_title">Returns:</p>
|
1332
|
+
<ul class="return">
|
1333
|
+
|
1334
|
+
<li>
|
1335
|
+
|
1336
|
+
|
1337
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1338
|
+
|
1339
|
+
|
1340
|
+
|
1341
|
+
</li>
|
1342
|
+
|
1343
|
+
</ul>
|
1344
|
+
|
1345
|
+
</div><table class="source_code">
|
1346
|
+
<tr>
|
1347
|
+
<td>
|
1348
|
+
<pre class="lines">
|
1349
|
+
|
1350
|
+
|
1351
|
+
86</pre>
|
1352
|
+
</td>
|
1353
|
+
<td>
|
1354
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 86</span>
|
1355
|
+
|
1356
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_overlaps?'>overlaps?</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1357
|
+
</td>
|
1358
|
+
</tr>
|
1359
|
+
</table>
|
1360
|
+
</div>
|
1361
|
+
|
1362
|
+
<div class="method_details ">
|
1363
|
+
<h3 class="signature " id="radius-instance_method">
|
1364
|
+
|
1365
|
+
#<strong>radius</strong> ⇒ <tt>Object</tt>
|
1366
|
+
|
1367
|
+
|
1368
|
+
|
1369
|
+
|
1370
|
+
|
1371
|
+
</h3><div class="docstring">
|
1372
|
+
<div class="discussion">
|
1373
|
+
|
1374
|
+
<p>Return the radius of the box</p>
|
1375
|
+
|
1376
|
+
|
1377
|
+
</div>
|
1378
|
+
</div>
|
1379
|
+
<div class="tags">
|
1380
|
+
|
1381
|
+
|
1382
|
+
</div><table class="source_code">
|
1383
|
+
<tr>
|
1384
|
+
<td>
|
1385
|
+
<pre class="lines">
|
1386
|
+
|
1387
|
+
|
1388
|
+
41</pre>
|
1389
|
+
</td>
|
1390
|
+
<td>
|
1391
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 41</span>
|
1392
|
+
|
1393
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_radius'>radius</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1394
|
+
</td>
|
1395
|
+
</tr>
|
1396
|
+
</table>
|
1397
|
+
</div>
|
1398
|
+
|
1399
|
+
<div class="method_details ">
|
1400
|
+
<h3 class="signature " id="shortest-instance_method">
|
1401
|
+
|
1402
|
+
#<strong>shortest</strong> ⇒ <tt>Object</tt>
|
1403
|
+
|
1404
|
+
|
1405
|
+
|
1406
|
+
|
1407
|
+
|
1408
|
+
</h3><div class="docstring">
|
1409
|
+
<div class="discussion">
|
1410
|
+
|
1411
|
+
<p>Return the length of the shortest side of the box</p>
|
1412
|
+
|
1413
|
+
|
1414
|
+
</div>
|
1415
|
+
</div>
|
1416
|
+
<div class="tags">
|
1417
|
+
|
1418
|
+
|
1419
|
+
</div><table class="source_code">
|
1420
|
+
<tr>
|
1421
|
+
<td>
|
1422
|
+
<pre class="lines">
|
1423
|
+
|
1424
|
+
|
1425
|
+
35</pre>
|
1426
|
+
</td>
|
1427
|
+
<td>
|
1428
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 35</span>
|
1429
|
+
|
1430
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_shortest'>shortest</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1431
|
+
</td>
|
1432
|
+
</tr>
|
1433
|
+
</table>
|
1434
|
+
</div>
|
1435
|
+
|
1436
|
+
<div class="method_details ">
|
1437
|
+
<h3 class="signature " id="union-instance_method">
|
1438
|
+
|
1439
|
+
#<strong>union</strong>(other) ⇒ <tt>Object</tt>
|
1440
|
+
|
1441
|
+
|
1442
|
+
|
1443
|
+
|
1444
|
+
|
1445
|
+
</h3><div class="docstring">
|
1446
|
+
<div class="discussion">
|
1447
|
+
|
1448
|
+
<p>Return a new FXRanged instance which is the union of this box and another box.</p>
|
1449
|
+
|
1450
|
+
|
1451
|
+
</div>
|
1452
|
+
</div>
|
1453
|
+
<div class="tags">
|
1454
|
+
|
1455
|
+
|
1456
|
+
</div><table class="source_code">
|
1457
|
+
<tr>
|
1458
|
+
<td>
|
1459
|
+
<pre class="lines">
|
1460
|
+
|
1461
|
+
|
1462
|
+
94</pre>
|
1463
|
+
</td>
|
1464
|
+
<td>
|
1465
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 94</span>
|
1466
|
+
|
1467
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_union'>union</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1468
|
+
</td>
|
1469
|
+
</tr>
|
1470
|
+
</table>
|
1471
|
+
</div>
|
1472
|
+
|
1473
|
+
<div class="method_details ">
|
1474
|
+
<h3 class="signature " id="width-instance_method">
|
1475
|
+
|
1476
|
+
#<strong>width</strong> ⇒ <tt>Object</tt>
|
1477
|
+
|
1478
|
+
|
1479
|
+
|
1480
|
+
|
1481
|
+
|
1482
|
+
</h3><div class="docstring">
|
1483
|
+
<div class="discussion">
|
1484
|
+
|
1485
|
+
<p>Return the width of the box</p>
|
1486
|
+
|
1487
|
+
|
1488
|
+
</div>
|
1489
|
+
</div>
|
1490
|
+
<div class="tags">
|
1491
|
+
|
1492
|
+
|
1493
|
+
</div><table class="source_code">
|
1494
|
+
<tr>
|
1495
|
+
<td>
|
1496
|
+
<pre class="lines">
|
1497
|
+
|
1498
|
+
|
1499
|
+
23</pre>
|
1500
|
+
</td>
|
1501
|
+
<td>
|
1502
|
+
<pre class="code"><span class="info file"># File 'rdoc-sources/FXRanged.rb', line 23</span>
|
1503
|
+
|
1504
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_width'>width</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
1505
|
+
</td>
|
1506
|
+
</tr>
|
1507
|
+
</table>
|
1508
|
+
</div>
|
1509
|
+
|
1510
|
+
</div>
|
1511
|
+
|
1512
|
+
</div>
|
1513
|
+
|
1514
|
+
<div id="footer">
|
1515
|
+
Generated on Fri Nov 27 21:10:43 2020 by
|
1516
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1517
|
+
0.9.24 (ruby-2.7.2).
|
1518
|
+
</div>
|
1519
|
+
|
1520
|
+
</div>
|
1521
|
+
</body>
|
1522
|
+
</html>
|