pango 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +27 -5
- data/ext/pango/depend +2 -2
- data/ext/pango/extconf.rb +32 -28
- data/ext/pango/pango.def +0 -16
- data/ext/pango/rb-pango-attr-list.c +64 -0
- data/ext/pango/rb-pango-attribute.c +147 -0
- data/ext/pango/rb-pango-context.c +79 -0
- data/ext/pango/{rbpangoconversions.h → rb-pango-conversions.h} +4 -6
- data/ext/pango/rb-pango-private.h +27 -0
- data/ext/pango/rb-pango.c +32 -0
- data/ext/pango/rb-pango.h +29 -0
- data/extconf.rb +25 -9
- data/lib/2.2/pango.so +0 -0
- data/lib/2.3/pango.so +0 -0
- data/lib/2.4/pango.so +0 -0
- data/lib/pango.rb +24 -68
- data/lib/pango/cairo-loader.rb +63 -0
- data/lib/pango/color.rb +31 -0
- data/lib/pango/deprecated.rb +37 -0
- data/lib/pango/font-description.rb +29 -0
- data/lib/pango/language.rb +29 -0
- data/lib/pango/layout.rb +41 -0
- data/lib/pango/loader.rb +87 -0
- data/lib/pango/markup.rb +31 -0
- data/lib/pango/matrix.rb +64 -0
- data/lib/pango/rectangle.rb +28 -0
- data/lib/pango/version.rb +30 -0
- data/test/pango-test-utils.rb +7 -7
- data/test/run-test.rb +34 -8
- data/test/test-attr-list.rb +28 -0
- data/test/test-color.rb +1 -3
- data/test/test-context.rb +4 -4
- data/test/test-enum.rb +37 -0
- data/test/test-font-description.rb +31 -0
- data/test/test-language.rb +2 -1
- data/test/test-layout.rb +12 -0
- data/test/test-markup.rb +30 -0
- data/test/test-matrix.rb +131 -5
- data/test/test-rectangle.rb +16 -3
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/genbrk.exe +0 -0
- data/vendor/local/bin/genccode.exe +0 -0
- data/vendor/local/bin/gencfu.exe +0 -0
- data/vendor/local/bin/gencmn.exe +0 -0
- data/vendor/local/bin/gencnval.exe +0 -0
- data/vendor/local/bin/gendict.exe +0 -0
- data/vendor/local/bin/gennorm2.exe +0 -0
- data/vendor/local/bin/genrb.exe +0 -0
- data/vendor/local/bin/gensprep.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libgraphene-1.0-0.dll +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/makeconv.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkgdata.exe +0 -0
- data/vendor/local/bin/uconv.exe +0 -0
- data/vendor/local/include/graphene-1.0/graphene-box.h +148 -0
- data/vendor/local/include/graphene-1.0/graphene-euler.h +140 -0
- data/vendor/local/include/graphene-1.0/graphene-frustum.h +93 -0
- data/vendor/local/include/graphene-1.0/graphene-gobject.h +119 -0
- data/vendor/local/include/graphene-1.0/graphene-macros.h +105 -0
- data/vendor/local/include/graphene-1.0/graphene-matrix.h +288 -0
- data/vendor/local/include/graphene-1.0/graphene-plane.h +99 -0
- data/vendor/local/include/graphene-1.0/graphene-point.h +120 -0
- data/vendor/local/include/graphene-1.0/graphene-point3d.h +140 -0
- data/vendor/local/include/graphene-1.0/graphene-quad.h +80 -0
- data/vendor/local/include/graphene-1.0/graphene-quaternion.h +136 -0
- data/vendor/local/include/graphene-1.0/graphene-ray.h +98 -0
- data/vendor/local/include/graphene-1.0/graphene-rect.h +180 -0
- data/vendor/local/include/graphene-1.0/graphene-simd4f.h +1870 -0
- data/vendor/local/include/graphene-1.0/graphene-simd4x4f.h +1045 -0
- data/vendor/local/include/graphene-1.0/graphene-size.h +105 -0
- data/vendor/local/include/graphene-1.0/graphene-sphere.h +97 -0
- data/vendor/local/include/graphene-1.0/graphene-triangle.h +105 -0
- data/vendor/local/include/graphene-1.0/graphene-types.h +88 -0
- data/vendor/local/include/graphene-1.0/graphene-vec2.h +130 -0
- data/vendor/local/include/graphene-1.0/graphene-vec3.h +155 -0
- data/vendor/local/include/graphene-1.0/graphene-vec4.h +156 -0
- data/vendor/local/include/graphene-1.0/graphene-version-macros.h +185 -0
- data/vendor/local/include/graphene-1.0/graphene-version.h +70 -0
- data/vendor/local/include/graphene-1.0/graphene.h +61 -0
- data/vendor/local/include/harfbuzz/hb-common.h +36 -0
- data/vendor/local/include/harfbuzz/hb-font.h +18 -1
- data/vendor/local/include/harfbuzz/hb-ot-var.h +105 -0
- data/vendor/local/include/harfbuzz/hb-ot.h +1 -0
- data/vendor/local/include/harfbuzz/hb-shape.h +0 -16
- data/vendor/local/include/harfbuzz/hb-version.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +6 -6
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +1 -1
- data/vendor/local/lib/girepository-1.0/Graphene-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/graphene-1.0/include/graphene-config.h +89 -0
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt58.dll +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin58.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio58.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/icutest58.dll +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu58.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc58.dll +0 -0
- data/vendor/local/lib/libgraphene-1.0.dll.a +0 -0
- data/vendor/local/lib/libgraphene-1.0.la +41 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +1 -1
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +1 -1
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicudt58.dll +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +1 -1
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +1 -1
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +1 -1
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +1 -1
- data/vendor/local/lib/pkgconfig/graphene-1.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/graphene-gobject-1.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gir-1.0/Graphene-1.0.gir +8180 -0
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +12 -16
- data/vendor/local/share/gtk-doc/html/graphene/annotation-glossary.html +57 -0
- data/vendor/local/share/gtk-doc/html/graphene/api-index.html +1985 -0
- data/vendor/local/share/gtk-doc/html/graphene/ch01.html +97 -0
- data/vendor/local/share/gtk-doc/html/graphene/deprecated-api-index.html +34 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Box.html +1252 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Euler.html +886 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Frustum.html +527 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-GObject-integration.html +147 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Matrix.html +2959 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Plane.html +641 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Point.html +689 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Point3D.html +916 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Quad.html +418 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Quaternion.html +1056 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Ray.html +596 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Rectangle.html +1483 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-matrix.html +1475 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-vector.html +3046 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Size.html +489 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Sphere.html +641 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Triangle.html +705 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Vectors.html +3715 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Versioning-information.html +104 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene.devhelp2 +534 -0
- data/vendor/local/share/gtk-doc/html/graphene/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/index.html +107 -0
- data/vendor/local/share/gtk-doc/html/graphene/ix03.html +1313 -0
- data/vendor/local/share/gtk-doc/html/graphene/ix04.html +582 -0
- data/vendor/local/share/gtk-doc/html/graphene/ix05.html +151 -0
- data/vendor/local/share/gtk-doc/html/graphene/ix06.html +34 -0
- data/vendor/local/share/gtk-doc/html/graphene/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/{pango/api-index-1-40.html → graphene/object-tree.html} +14 -11
- data/vendor/local/share/gtk-doc/html/graphene/rectangle-intersection.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/rectangle-union.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/rectangle.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/style.css +479 -0
- data/vendor/local/share/gtk-doc/html/graphene/triangle-barycentric.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-2-3.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/{api-index-1-4-0.html → api-index-1-3-3.html} +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +104 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +9 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +156 -40
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +73 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +1 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +49 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-math.html +174 -177
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +40 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +28 -10
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/index.html +2 -23
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +69 -69
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +5 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +5 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +8 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +3 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +1 -1
- data/vendor/local/share/man/man1/pango-view.1 +2 -2
- metadata +119 -78
- data/README +0 -32
- data/ext/pango/rbpango.c +0 -356
- data/ext/pango/rbpango.h +0 -95
- data/ext/pango/rbpangoanalysis.c +0 -218
- data/ext/pango/rbpangoattribute.c +0 -506
- data/ext/pango/rbpangoattriterator.c +0 -141
- data/ext/pango/rbpangoattrlist.c +0 -101
- data/ext/pango/rbpangocairo.c +0 -122
- data/ext/pango/rbpangocairocontext.c +0 -131
- data/ext/pango/rbpangocolor.c +0 -120
- data/ext/pango/rbpangocontext.c +0 -344
- data/ext/pango/rbpangocoverage.c +0 -106
- data/ext/pango/rbpangoengine.c +0 -73
- data/ext/pango/rbpangofont.c +0 -110
- data/ext/pango/rbpangofontdescription.c +0 -282
- data/ext/pango/rbpangofontface.c +0 -73
- data/ext/pango/rbpangofontfamily.c +0 -79
- data/ext/pango/rbpangofontmap.c +0 -102
- data/ext/pango/rbpangofontmetrics.c +0 -85
- data/ext/pango/rbpangofontset.c +0 -69
- data/ext/pango/rbpangofontsetsimple.c +0 -60
- data/ext/pango/rbpangoglyphinfo.c +0 -123
- data/ext/pango/rbpangoglyphitem.c +0 -125
- data/ext/pango/rbpangoglyphstring.c +0 -151
- data/ext/pango/rbpangogravity.c +0 -54
- data/ext/pango/rbpangoitem.c +0 -95
- data/ext/pango/rbpangolanguage.c +0 -94
- data/ext/pango/rbpangolayout.c +0 -583
- data/ext/pango/rbpangolayoutiter.c +0 -189
- data/ext/pango/rbpangolayoutline.c +0 -243
- data/ext/pango/rbpangologattr.c +0 -109
- data/ext/pango/rbpangomatrix.c +0 -143
- data/ext/pango/rbpangoprivate.h +0 -49
- data/ext/pango/rbpangorectangle.c +0 -170
- data/ext/pango/rbpangorenderer.c +0 -193
- data/ext/pango/rbpangoscript.c +0 -84
- data/ext/pango/rbpangoscriptiter.c +0 -92
- data/ext/pango/rbpangotabarray.c +0 -128
- data/sample/attribute.rb +0 -82
- data/sample/break.rb +0 -28
- data/sample/gdk_layout.rb +0 -27
- data/sample/glyphstring.rb +0 -61
- data/sample/item.rb +0 -37
- data/sample/label.rb +0 -23
- data/sample/layout.rb +0 -102
- data/sample/pango_cairo.rb +0 -66
- data/sample/parse.rb +0 -33
- data/sample/sample.txt +0 -10
- data/sample/script.rb +0 -23
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +0 -134
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +0 -48
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +0 -63
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +0 -227
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +0 -151
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +0 -121
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +0 -86
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +0 -123
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +0 -96
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +0 -45
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +0 -52
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +0 -41
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +0 -79
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +0 -200
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +0 -164
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +0 -170
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +0 -441
@@ -0,0 +1,97 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Graphene: Graphene Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
|
+
<link rel="home" href="index.html" title="Graphene Reference Manual">
|
8
|
+
<link rel="up" href="index.html" title="Graphene Reference Manual">
|
9
|
+
<link rel="prev" href="index.html" title="Graphene Reference Manual">
|
10
|
+
<link rel="next" href="graphene-Point.html" title="Point">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts"></td>
|
17
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
|
+
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
|
19
|
+
<td><a accesskey="p" href="index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
20
|
+
<td><a accesskey="n" href="graphene-Point.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
21
|
+
</tr></table>
|
22
|
+
<div class="chapter">
|
23
|
+
<div class="titlepage"><div><div><h1 class="title">
|
24
|
+
<a name="id-1.2"></a>Graphene</h1></div></div></div>
|
25
|
+
<div class="toc"><dl class="toc">
|
26
|
+
<dt>
|
27
|
+
<span class="refentrytitle"><a href="graphene-Point.html">Point</a></span><span class="refpurpose"> — A point with 2 coordinates</span>
|
28
|
+
</dt>
|
29
|
+
<dt>
|
30
|
+
<span class="refentrytitle"><a href="graphene-Point3D.html">Point3D</a></span><span class="refpurpose"> — A point with 3 coordinates</span>
|
31
|
+
</dt>
|
32
|
+
<dt>
|
33
|
+
<span class="refentrytitle"><a href="graphene-Size.html">Size</a></span><span class="refpurpose"> — Size representation</span>
|
34
|
+
</dt>
|
35
|
+
<dt>
|
36
|
+
<span class="refentrytitle"><a href="graphene-Rectangle.html">Rectangle</a></span><span class="refpurpose"> — Rectangular shape type</span>
|
37
|
+
</dt>
|
38
|
+
<dt>
|
39
|
+
<span class="refentrytitle"><a href="graphene-Quad.html">Quad</a></span><span class="refpurpose"> — Four-vertex quadrilateral</span>
|
40
|
+
</dt>
|
41
|
+
<dt>
|
42
|
+
<span class="refentrytitle"><a href="graphene-Triangle.html">Triangle</a></span><span class="refpurpose"> — A triangle described by 3D points</span>
|
43
|
+
</dt>
|
44
|
+
<dt>
|
45
|
+
<span class="refentrytitle"><a href="graphene-Box.html">Box</a></span><span class="refpurpose"> — Axis-aligned bounding box</span>
|
46
|
+
</dt>
|
47
|
+
<dt>
|
48
|
+
<span class="refentrytitle"><a href="graphene-Sphere.html">Sphere</a></span><span class="refpurpose"> — A sphere</span>
|
49
|
+
</dt>
|
50
|
+
<dt>
|
51
|
+
<span class="refentrytitle"><a href="graphene-Frustum.html">Frustum</a></span><span class="refpurpose"> — A 3D field of view</span>
|
52
|
+
</dt>
|
53
|
+
<dt>
|
54
|
+
<span class="refentrytitle"><a href="graphene-SIMD-vector.html">SIMD vector</a></span><span class="refpurpose"> — Low level floating point 4-sized vector</span>
|
55
|
+
</dt>
|
56
|
+
<dt>
|
57
|
+
<span class="refentrytitle"><a href="graphene-SIMD-matrix.html">SIMD matrix</a></span><span class="refpurpose"> — Low level floating point 4 by 4 matrix</span>
|
58
|
+
</dt>
|
59
|
+
<dt>
|
60
|
+
<span class="refentrytitle"><a href="graphene-Vectors.html">Vectors</a></span><span class="refpurpose"> — Vectors in 2, 3, and 4 dimensions</span>
|
61
|
+
</dt>
|
62
|
+
<dt>
|
63
|
+
<span class="refentrytitle"><a href="graphene-Matrix.html">Matrix</a></span><span class="refpurpose"> — 4x4 matrices</span>
|
64
|
+
</dt>
|
65
|
+
<dt>
|
66
|
+
<span class="refentrytitle"><a href="graphene-Euler.html">Euler</a></span><span class="refpurpose"> — Euler angles</span>
|
67
|
+
</dt>
|
68
|
+
<dt>
|
69
|
+
<span class="refentrytitle"><a href="graphene-Quaternion.html">Quaternion</a></span><span class="refpurpose"> — Quaternion operations</span>
|
70
|
+
</dt>
|
71
|
+
<dt>
|
72
|
+
<span class="refentrytitle"><a href="graphene-Plane.html">Plane</a></span><span class="refpurpose"> — A plane in 3D space</span>
|
73
|
+
</dt>
|
74
|
+
<dt>
|
75
|
+
<span class="refentrytitle"><a href="graphene-Ray.html">Ray</a></span><span class="refpurpose"> — A ray emitted from an origin in a given direction</span>
|
76
|
+
</dt>
|
77
|
+
<dt>
|
78
|
+
<span class="refentrytitle"><a href="graphene-Versioning-information.html">Versioning information</a></span><span class="refpurpose"> — Detemining the version of Graphene in use</span>
|
79
|
+
</dt>
|
80
|
+
<dt>
|
81
|
+
<span class="refentrytitle"><a href="graphene-GObject-integration.html">GObject integration</a></span><span class="refpurpose"> — Types for GObject properties and signals</span>
|
82
|
+
</dt>
|
83
|
+
</dl></div>
|
84
|
+
<div class="refsect2">
|
85
|
+
<a name="overview"></a><p>
|
86
|
+
Graphene is a library of data types commonly used to implement 2D-in-3D or full 3D canvases.
|
87
|
+
</p>
|
88
|
+
<p>
|
89
|
+
Graphene only contains math data types, like vectors and matrices; it does not deal with windowing
|
90
|
+
system calls, event handling, drawing, or a full scene graph.
|
91
|
+
</p>
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
<div class="footer">
|
95
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
96
|
+
</body>
|
97
|
+
</html>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Index of deprecated API: Graphene Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
|
+
<link rel="home" href="index.html" title="Graphene Reference Manual">
|
8
|
+
<link rel="up" href="index.html" title="Graphene Reference Manual">
|
9
|
+
<link rel="prev" href="api-index.html" title="API Index">
|
10
|
+
<link rel="next" href="ix03.html" title="Index of new symbols in 1.0">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts"><span id="nav_index"><a class="shortcut" href="#idxR">R</a></span></td>
|
17
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
|
+
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
|
19
|
+
<td><a accesskey="p" href="api-index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
20
|
+
<td><a accesskey="n" href="ix03.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
21
|
+
</tr></table>
|
22
|
+
<div class="index">
|
23
|
+
<div class="titlepage"><div><div><h1 class="title">
|
24
|
+
<a name="deprecated-api-index"></a>Index of deprecated API</h1></div></div></div>
|
25
|
+
<a name="idx"></a><a name="idxR"></a><h3 class="title">R</h3>
|
26
|
+
<dt>
|
27
|
+
<a class="link" href="graphene-Rectangle.html#graphene-rect-round-to-pixel" title="graphene_rect_round_to_pixel ()">graphene_rect_round_to_pixel</a>, function in <a class="link" href="graphene-Rectangle.html" title="Rectangle">Rectangle</a>
|
28
|
+
</dt>
|
29
|
+
<dd></dd>
|
30
|
+
</div>
|
31
|
+
<div class="footer">
|
32
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
33
|
+
</body>
|
34
|
+
</html>
|
@@ -0,0 +1,1252 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Box: Graphene Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
|
+
<link rel="home" href="index.html" title="Graphene Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="Graphene">
|
9
|
+
<link rel="prev" href="graphene-Triangle.html" title="Triangle">
|
10
|
+
<link rel="next" href="graphene-Sphere.html" title="Sphere">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#graphene-Box.description" class="shortcut">Description</a></span>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="graphene-Triangle.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="graphene-Sphere.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
25
|
+
<div class="refentry">
|
26
|
+
<a name="graphene-Box"></a><div class="titlepage"></div>
|
27
|
+
<div class="refnamediv"><table width="100%"><tr>
|
28
|
+
<td valign="top">
|
29
|
+
<h2><span class="refentrytitle"><a name="graphene-Box.top_of_page"></a>Box</span></h2>
|
30
|
+
<p>Box — Axis-aligned bounding box</p>
|
31
|
+
</td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
33
|
+
</tr></table></div>
|
34
|
+
<div class="refsect1">
|
35
|
+
<a name="graphene-Box.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="function_type">
|
44
|
+
<a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="graphene-Box.html#graphene-box-alloc" title="graphene_box_alloc ()">graphene_box_alloc</a> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td class="function_type">
|
52
|
+
<span class="returnvalue">void</span>
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="graphene-Box.html#graphene-box-free" title="graphene_box_free ()">graphene_box_free</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">
|
60
|
+
<a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
61
|
+
</td>
|
62
|
+
<td class="function_name">
|
63
|
+
<a class="link" href="graphene-Box.html#graphene-box-init" title="graphene_box_init ()">graphene_box_init</a> <span class="c_punctuation">()</span>
|
64
|
+
</td>
|
65
|
+
</tr>
|
66
|
+
<tr>
|
67
|
+
<td class="function_type">
|
68
|
+
<a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
69
|
+
</td>
|
70
|
+
<td class="function_name">
|
71
|
+
<a class="link" href="graphene-Box.html#graphene-box-init-from-box" title="graphene_box_init_from_box ()">graphene_box_init_from_box</a> <span class="c_punctuation">()</span>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
<tr>
|
75
|
+
<td class="function_type">
|
76
|
+
<a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
77
|
+
</td>
|
78
|
+
<td class="function_name">
|
79
|
+
<a class="link" href="graphene-Box.html#graphene-box-init-from-points" title="graphene_box_init_from_points ()">graphene_box_init_from_points</a> <span class="c_punctuation">()</span>
|
80
|
+
</td>
|
81
|
+
</tr>
|
82
|
+
<tr>
|
83
|
+
<td class="function_type">
|
84
|
+
<a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
85
|
+
</td>
|
86
|
+
<td class="function_name">
|
87
|
+
<a class="link" href="graphene-Box.html#graphene-box-init-from-vec3" title="graphene_box_init_from_vec3 ()">graphene_box_init_from_vec3</a> <span class="c_punctuation">()</span>
|
88
|
+
</td>
|
89
|
+
</tr>
|
90
|
+
<tr>
|
91
|
+
<td class="function_type">
|
92
|
+
<a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
93
|
+
</td>
|
94
|
+
<td class="function_name">
|
95
|
+
<a class="link" href="graphene-Box.html#graphene-box-init-from-vectors" title="graphene_box_init_from_vectors ()">graphene_box_init_from_vectors</a> <span class="c_punctuation">()</span>
|
96
|
+
</td>
|
97
|
+
</tr>
|
98
|
+
<tr>
|
99
|
+
<td class="function_type">
|
100
|
+
<span class="returnvalue">bool</span>
|
101
|
+
</td>
|
102
|
+
<td class="function_name">
|
103
|
+
<a class="link" href="graphene-Box.html#graphene-box-equal" title="graphene_box_equal ()">graphene_box_equal</a> <span class="c_punctuation">()</span>
|
104
|
+
</td>
|
105
|
+
</tr>
|
106
|
+
<tr>
|
107
|
+
<td class="function_type">
|
108
|
+
<span class="returnvalue">void</span>
|
109
|
+
</td>
|
110
|
+
<td class="function_name">
|
111
|
+
<a class="link" href="graphene-Box.html#graphene-box-expand" title="graphene_box_expand ()">graphene_box_expand</a> <span class="c_punctuation">()</span>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td class="function_type">
|
116
|
+
<span class="returnvalue">void</span>
|
117
|
+
</td>
|
118
|
+
<td class="function_name">
|
119
|
+
<a class="link" href="graphene-Box.html#graphene-box-expand-scalar" title="graphene_box_expand_scalar ()">graphene_box_expand_scalar</a> <span class="c_punctuation">()</span>
|
120
|
+
</td>
|
121
|
+
</tr>
|
122
|
+
<tr>
|
123
|
+
<td class="function_type">
|
124
|
+
<span class="returnvalue">void</span>
|
125
|
+
</td>
|
126
|
+
<td class="function_name">
|
127
|
+
<a class="link" href="graphene-Box.html#graphene-box-expand-vec3" title="graphene_box_expand_vec3 ()">graphene_box_expand_vec3</a> <span class="c_punctuation">()</span>
|
128
|
+
</td>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td class="function_type">
|
132
|
+
<span class="returnvalue">void</span>
|
133
|
+
</td>
|
134
|
+
<td class="function_name">
|
135
|
+
<a class="link" href="graphene-Box.html#graphene-box-get-min" title="graphene_box_get_min ()">graphene_box_get_min</a> <span class="c_punctuation">()</span>
|
136
|
+
</td>
|
137
|
+
</tr>
|
138
|
+
<tr>
|
139
|
+
<td class="function_type">
|
140
|
+
<span class="returnvalue">void</span>
|
141
|
+
</td>
|
142
|
+
<td class="function_name">
|
143
|
+
<a class="link" href="graphene-Box.html#graphene-box-get-max" title="graphene_box_get_max ()">graphene_box_get_max</a> <span class="c_punctuation">()</span>
|
144
|
+
</td>
|
145
|
+
</tr>
|
146
|
+
<tr>
|
147
|
+
<td class="function_type">
|
148
|
+
<span class="returnvalue">void</span>
|
149
|
+
</td>
|
150
|
+
<td class="function_name">
|
151
|
+
<a class="link" href="graphene-Box.html#graphene-box-get-center" title="graphene_box_get_center ()">graphene_box_get_center</a> <span class="c_punctuation">()</span>
|
152
|
+
</td>
|
153
|
+
</tr>
|
154
|
+
<tr>
|
155
|
+
<td class="function_type">
|
156
|
+
<span class="returnvalue">float</span>
|
157
|
+
</td>
|
158
|
+
<td class="function_name">
|
159
|
+
<a class="link" href="graphene-Box.html#graphene-box-get-depth" title="graphene_box_get_depth ()">graphene_box_get_depth</a> <span class="c_punctuation">()</span>
|
160
|
+
</td>
|
161
|
+
</tr>
|
162
|
+
<tr>
|
163
|
+
<td class="function_type">
|
164
|
+
<span class="returnvalue">float</span>
|
165
|
+
</td>
|
166
|
+
<td class="function_name">
|
167
|
+
<a class="link" href="graphene-Box.html#graphene-box-get-height" title="graphene_box_get_height ()">graphene_box_get_height</a> <span class="c_punctuation">()</span>
|
168
|
+
</td>
|
169
|
+
</tr>
|
170
|
+
<tr>
|
171
|
+
<td class="function_type">
|
172
|
+
<span class="returnvalue">float</span>
|
173
|
+
</td>
|
174
|
+
<td class="function_name">
|
175
|
+
<a class="link" href="graphene-Box.html#graphene-box-get-width" title="graphene_box_get_width ()">graphene_box_get_width</a> <span class="c_punctuation">()</span>
|
176
|
+
</td>
|
177
|
+
</tr>
|
178
|
+
<tr>
|
179
|
+
<td class="function_type">
|
180
|
+
<span class="returnvalue">void</span>
|
181
|
+
</td>
|
182
|
+
<td class="function_name">
|
183
|
+
<a class="link" href="graphene-Box.html#graphene-box-get-size" title="graphene_box_get_size ()">graphene_box_get_size</a> <span class="c_punctuation">()</span>
|
184
|
+
</td>
|
185
|
+
</tr>
|
186
|
+
<tr>
|
187
|
+
<td class="function_type">
|
188
|
+
<span class="returnvalue">void</span>
|
189
|
+
</td>
|
190
|
+
<td class="function_name">
|
191
|
+
<a class="link" href="graphene-Box.html#graphene-box-get-bounding-sphere" title="graphene_box_get_bounding_sphere ()">graphene_box_get_bounding_sphere</a> <span class="c_punctuation">()</span>
|
192
|
+
</td>
|
193
|
+
</tr>
|
194
|
+
<tr>
|
195
|
+
<td class="function_type">
|
196
|
+
<span class="returnvalue">void</span>
|
197
|
+
</td>
|
198
|
+
<td class="function_name">
|
199
|
+
<a class="link" href="graphene-Box.html#graphene-box-get-vertices" title="graphene_box_get_vertices ()">graphene_box_get_vertices</a> <span class="c_punctuation">()</span>
|
200
|
+
</td>
|
201
|
+
</tr>
|
202
|
+
<tr>
|
203
|
+
<td class="function_type">
|
204
|
+
<span class="returnvalue">void</span>
|
205
|
+
</td>
|
206
|
+
<td class="function_name">
|
207
|
+
<a class="link" href="graphene-Box.html#graphene-box-union" title="graphene_box_union ()">graphene_box_union</a> <span class="c_punctuation">()</span>
|
208
|
+
</td>
|
209
|
+
</tr>
|
210
|
+
<tr>
|
211
|
+
<td class="function_type">
|
212
|
+
<span class="returnvalue">bool</span>
|
213
|
+
</td>
|
214
|
+
<td class="function_name">
|
215
|
+
<a class="link" href="graphene-Box.html#graphene-box-intersection" title="graphene_box_intersection ()">graphene_box_intersection</a> <span class="c_punctuation">()</span>
|
216
|
+
</td>
|
217
|
+
</tr>
|
218
|
+
<tr>
|
219
|
+
<td class="function_type">
|
220
|
+
<span class="returnvalue">bool</span>
|
221
|
+
</td>
|
222
|
+
<td class="function_name">
|
223
|
+
<a class="link" href="graphene-Box.html#graphene-box-contains-box" title="graphene_box_contains_box ()">graphene_box_contains_box</a> <span class="c_punctuation">()</span>
|
224
|
+
</td>
|
225
|
+
</tr>
|
226
|
+
<tr>
|
227
|
+
<td class="function_type">
|
228
|
+
<span class="returnvalue">bool</span>
|
229
|
+
</td>
|
230
|
+
<td class="function_name">
|
231
|
+
<a class="link" href="graphene-Box.html#graphene-box-contains-point" title="graphene_box_contains_point ()">graphene_box_contains_point</a> <span class="c_punctuation">()</span>
|
232
|
+
</td>
|
233
|
+
</tr>
|
234
|
+
<tr>
|
235
|
+
<td class="function_type">const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
236
|
+
</td>
|
237
|
+
<td class="function_name">
|
238
|
+
<a class="link" href="graphene-Box.html#graphene-box-zero" title="graphene_box_zero ()">graphene_box_zero</a> <span class="c_punctuation">()</span>
|
239
|
+
</td>
|
240
|
+
</tr>
|
241
|
+
<tr>
|
242
|
+
<td class="function_type">const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
243
|
+
</td>
|
244
|
+
<td class="function_name">
|
245
|
+
<a class="link" href="graphene-Box.html#graphene-box-one" title="graphene_box_one ()">graphene_box_one</a> <span class="c_punctuation">()</span>
|
246
|
+
</td>
|
247
|
+
</tr>
|
248
|
+
<tr>
|
249
|
+
<td class="function_type">const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
250
|
+
</td>
|
251
|
+
<td class="function_name">
|
252
|
+
<a class="link" href="graphene-Box.html#graphene-box-minus-one" title="graphene_box_minus_one ()">graphene_box_minus_one</a> <span class="c_punctuation">()</span>
|
253
|
+
</td>
|
254
|
+
</tr>
|
255
|
+
<tr>
|
256
|
+
<td class="function_type">const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
257
|
+
</td>
|
258
|
+
<td class="function_name">
|
259
|
+
<a class="link" href="graphene-Box.html#graphene-box-one-minus-one" title="graphene_box_one_minus_one ()">graphene_box_one_minus_one</a> <span class="c_punctuation">()</span>
|
260
|
+
</td>
|
261
|
+
</tr>
|
262
|
+
<tr>
|
263
|
+
<td class="function_type">const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
264
|
+
</td>
|
265
|
+
<td class="function_name">
|
266
|
+
<a class="link" href="graphene-Box.html#graphene-box-empty" title="graphene_box_empty ()">graphene_box_empty</a> <span class="c_punctuation">()</span>
|
267
|
+
</td>
|
268
|
+
</tr>
|
269
|
+
<tr>
|
270
|
+
<td class="function_type">const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
271
|
+
</td>
|
272
|
+
<td class="function_name">
|
273
|
+
<a class="link" href="graphene-Box.html#graphene-box-infinite" title="graphene_box_infinite ()">graphene_box_infinite</a> <span class="c_punctuation">()</span>
|
274
|
+
</td>
|
275
|
+
</tr>
|
276
|
+
</tbody>
|
277
|
+
</table></div>
|
278
|
+
</div>
|
279
|
+
<div class="refsect1">
|
280
|
+
<a name="graphene-Box.other"></a><h2>Types and Values</h2>
|
281
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
282
|
+
<colgroup>
|
283
|
+
<col width="150px" class="name">
|
284
|
+
<col class="description">
|
285
|
+
</colgroup>
|
286
|
+
<tbody><tr>
|
287
|
+
<td class="datatype_keyword"> </td>
|
288
|
+
<td class="function_name"><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t">graphene_box_t</a></td>
|
289
|
+
</tr></tbody>
|
290
|
+
</table></div>
|
291
|
+
</div>
|
292
|
+
<div class="refsect1">
|
293
|
+
<a name="graphene-Box.includes"></a><h2>Includes</h2>
|
294
|
+
<pre class="synopsis">#include <graphene.h>
|
295
|
+
</pre>
|
296
|
+
</div>
|
297
|
+
<div class="refsect1">
|
298
|
+
<a name="graphene-Box.description"></a><h2>Description</h2>
|
299
|
+
<p><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> provides a representation of an axis aligned minimum
|
300
|
+
bounding box using the coordinates of its minimum and maximum vertices.</p>
|
301
|
+
</div>
|
302
|
+
<div class="refsect1">
|
303
|
+
<a name="graphene-Box.functions_details"></a><h2>Functions</h2>
|
304
|
+
<div class="refsect2">
|
305
|
+
<a name="graphene-box-alloc"></a><h3>graphene_box_alloc ()</h3>
|
306
|
+
<pre class="programlisting"><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
307
|
+
graphene_box_alloc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
308
|
+
<p>Allocates a new <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>.</p>
|
309
|
+
<p>The contents of the returned structure are undefined.</p>
|
310
|
+
<p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p>
|
311
|
+
<div class="refsect3">
|
312
|
+
<a name="graphene-box-alloc.returns"></a><h4>Returns</h4>
|
313
|
+
<p> the newly allocated <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> structure.
|
314
|
+
Use <a class="link" href="graphene-Box.html#graphene-box-free" title="graphene_box_free ()"><code class="function">graphene_box_free()</code></a> to free the resources allocated by this function. </p>
|
315
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
316
|
+
</div>
|
317
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
318
|
+
</div>
|
319
|
+
<hr>
|
320
|
+
<div class="refsect2">
|
321
|
+
<a name="graphene-box-free"></a><h3>graphene_box_free ()</h3>
|
322
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
323
|
+
graphene_box_free (<em class="parameter"><code><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>);</pre>
|
324
|
+
<p>Frees the resources allocated by <a class="link" href="graphene-Box.html#graphene-box-alloc" title="graphene_box_alloc ()"><code class="function">graphene_box_alloc()</code></a>.</p>
|
325
|
+
<div class="refsect3">
|
326
|
+
<a name="graphene-box-free.parameters"></a><h4>Parameters</h4>
|
327
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
328
|
+
<colgroup>
|
329
|
+
<col width="150px" class="parameters_name">
|
330
|
+
<col class="parameters_description">
|
331
|
+
<col width="200px" class="parameters_annotations">
|
332
|
+
</colgroup>
|
333
|
+
<tbody><tr>
|
334
|
+
<td class="parameter_name"><p>box</p></td>
|
335
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
336
|
+
<td class="parameter_annotations"> </td>
|
337
|
+
</tr></tbody>
|
338
|
+
</table></div>
|
339
|
+
</div>
|
340
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
341
|
+
</div>
|
342
|
+
<hr>
|
343
|
+
<div class="refsect2">
|
344
|
+
<a name="graphene-box-init"></a><h3>graphene_box_init ()</h3>
|
345
|
+
<pre class="programlisting"><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
346
|
+
graphene_box_init (<em class="parameter"><code><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
347
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *min</code></em>,
|
348
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *max</code></em>);</pre>
|
349
|
+
<p>Initializes the given <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> with two vertices.</p>
|
350
|
+
<div class="refsect3">
|
351
|
+
<a name="graphene-box-init.parameters"></a><h4>Parameters</h4>
|
352
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
353
|
+
<colgroup>
|
354
|
+
<col width="150px" class="parameters_name">
|
355
|
+
<col class="parameters_description">
|
356
|
+
<col width="200px" class="parameters_annotations">
|
357
|
+
</colgroup>
|
358
|
+
<tbody>
|
359
|
+
<tr>
|
360
|
+
<td class="parameter_name"><p>box</p></td>
|
361
|
+
<td class="parameter_description"><p>the <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> to initialize</p></td>
|
362
|
+
<td class="parameter_annotations"> </td>
|
363
|
+
</tr>
|
364
|
+
<tr>
|
365
|
+
<td class="parameter_name"><p>min</p></td>
|
366
|
+
<td class="parameter_description"><p> the coordinates of the minimum vertex. </p></td>
|
367
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
368
|
+
</tr>
|
369
|
+
<tr>
|
370
|
+
<td class="parameter_name"><p>max</p></td>
|
371
|
+
<td class="parameter_description"><p> the coordinates of the maximum vertex. </p></td>
|
372
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
373
|
+
</tr>
|
374
|
+
</tbody>
|
375
|
+
</table></div>
|
376
|
+
</div>
|
377
|
+
<div class="refsect3">
|
378
|
+
<a name="graphene-box-init.returns"></a><h4>Returns</h4>
|
379
|
+
<p> the initialized <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>. </p>
|
380
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
381
|
+
</div>
|
382
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
383
|
+
</div>
|
384
|
+
<hr>
|
385
|
+
<div class="refsect2">
|
386
|
+
<a name="graphene-box-init-from-box"></a><h3>graphene_box_init_from_box ()</h3>
|
387
|
+
<pre class="programlisting"><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
388
|
+
graphene_box_init_from_box (<em class="parameter"><code><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
389
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *src</code></em>);</pre>
|
390
|
+
<p>Initializes the given <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> with the vertices of
|
391
|
+
another <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>.</p>
|
392
|
+
<div class="refsect3">
|
393
|
+
<a name="graphene-box-init-from-box.parameters"></a><h4>Parameters</h4>
|
394
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
395
|
+
<colgroup>
|
396
|
+
<col width="150px" class="parameters_name">
|
397
|
+
<col class="parameters_description">
|
398
|
+
<col width="200px" class="parameters_annotations">
|
399
|
+
</colgroup>
|
400
|
+
<tbody>
|
401
|
+
<tr>
|
402
|
+
<td class="parameter_name"><p>box</p></td>
|
403
|
+
<td class="parameter_description"><p>the <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> to initialize</p></td>
|
404
|
+
<td class="parameter_annotations"> </td>
|
405
|
+
</tr>
|
406
|
+
<tr>
|
407
|
+
<td class="parameter_name"><p>src</p></td>
|
408
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
409
|
+
<td class="parameter_annotations"> </td>
|
410
|
+
</tr>
|
411
|
+
</tbody>
|
412
|
+
</table></div>
|
413
|
+
</div>
|
414
|
+
<div class="refsect3">
|
415
|
+
<a name="graphene-box-init-from-box.returns"></a><h4>Returns</h4>
|
416
|
+
<p> the initialized <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>. </p>
|
417
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
418
|
+
</div>
|
419
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
420
|
+
</div>
|
421
|
+
<hr>
|
422
|
+
<div class="refsect2">
|
423
|
+
<a name="graphene-box-init-from-points"></a><h3>graphene_box_init_from_points ()</h3>
|
424
|
+
<pre class="programlisting"><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
425
|
+
graphene_box_init_from_points (<em class="parameter"><code><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
426
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> n_points</code></em>,
|
427
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *points</code></em>);</pre>
|
428
|
+
<p>Initializes the given <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> with the given array
|
429
|
+
of vertices.</p>
|
430
|
+
<p>If <em class="parameter"><code>n_points</code></em>
|
431
|
+
is 0, the returned box is initialized with
|
432
|
+
<a class="link" href="graphene-Box.html#graphene-box-empty" title="graphene_box_empty ()"><code class="function">graphene_box_empty()</code></a>.</p>
|
433
|
+
<div class="refsect3">
|
434
|
+
<a name="graphene-box-init-from-points.parameters"></a><h4>Parameters</h4>
|
435
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
436
|
+
<colgroup>
|
437
|
+
<col width="150px" class="parameters_name">
|
438
|
+
<col class="parameters_description">
|
439
|
+
<col width="200px" class="parameters_annotations">
|
440
|
+
</colgroup>
|
441
|
+
<tbody>
|
442
|
+
<tr>
|
443
|
+
<td class="parameter_name"><p>box</p></td>
|
444
|
+
<td class="parameter_description"><p>the <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> to initialize</p></td>
|
445
|
+
<td class="parameter_annotations"> </td>
|
446
|
+
</tr>
|
447
|
+
<tr>
|
448
|
+
<td class="parameter_name"><p>n_points</p></td>
|
449
|
+
<td class="parameter_description"><p>the number <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> in the <em class="parameter"><code>points</code></em>
|
450
|
+
array</p></td>
|
451
|
+
<td class="parameter_annotations"> </td>
|
452
|
+
</tr>
|
453
|
+
<tr>
|
454
|
+
<td class="parameter_name"><p>points</p></td>
|
455
|
+
<td class="parameter_description"><p> an array of <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a>. </p></td>
|
456
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_points]</span></td>
|
457
|
+
</tr>
|
458
|
+
</tbody>
|
459
|
+
</table></div>
|
460
|
+
</div>
|
461
|
+
<div class="refsect3">
|
462
|
+
<a name="graphene-box-init-from-points.returns"></a><h4>Returns</h4>
|
463
|
+
<p> the initialized <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>. </p>
|
464
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
465
|
+
</div>
|
466
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
467
|
+
</div>
|
468
|
+
<hr>
|
469
|
+
<div class="refsect2">
|
470
|
+
<a name="graphene-box-init-from-vec3"></a><h3>graphene_box_init_from_vec3 ()</h3>
|
471
|
+
<pre class="programlisting"><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
472
|
+
graphene_box_init_from_vec3 (<em class="parameter"><code><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
473
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> *min</code></em>,
|
474
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> *max</code></em>);</pre>
|
475
|
+
<p>Initializes the given <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> with two vertices
|
476
|
+
stored inside <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a>.</p>
|
477
|
+
<div class="refsect3">
|
478
|
+
<a name="graphene-box-init-from-vec3.parameters"></a><h4>Parameters</h4>
|
479
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
480
|
+
<colgroup>
|
481
|
+
<col width="150px" class="parameters_name">
|
482
|
+
<col class="parameters_description">
|
483
|
+
<col width="200px" class="parameters_annotations">
|
484
|
+
</colgroup>
|
485
|
+
<tbody>
|
486
|
+
<tr>
|
487
|
+
<td class="parameter_name"><p>box</p></td>
|
488
|
+
<td class="parameter_description"><p>the <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> to initialize</p></td>
|
489
|
+
<td class="parameter_annotations"> </td>
|
490
|
+
</tr>
|
491
|
+
<tr>
|
492
|
+
<td class="parameter_name"><p>min</p></td>
|
493
|
+
<td class="parameter_description"><p> the coordinates of the minimum vertex. </p></td>
|
494
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
495
|
+
</tr>
|
496
|
+
<tr>
|
497
|
+
<td class="parameter_name"><p>max</p></td>
|
498
|
+
<td class="parameter_description"><p> the coordinates of the maximum vertex. </p></td>
|
499
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
500
|
+
</tr>
|
501
|
+
</tbody>
|
502
|
+
</table></div>
|
503
|
+
</div>
|
504
|
+
<div class="refsect3">
|
505
|
+
<a name="graphene-box-init-from-vec3.returns"></a><h4>Returns</h4>
|
506
|
+
<p> the initialized <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>. </p>
|
507
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
508
|
+
</div>
|
509
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
510
|
+
</div>
|
511
|
+
<hr>
|
512
|
+
<div class="refsect2">
|
513
|
+
<a name="graphene-box-init-from-vectors"></a><h3>graphene_box_init_from_vectors ()</h3>
|
514
|
+
<pre class="programlisting"><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
515
|
+
graphene_box_init_from_vectors (<em class="parameter"><code><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
516
|
+
<em class="parameter"><code>unsigned <span class="type">int</span> n_vectors</code></em>,
|
517
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> *vectors</code></em>);</pre>
|
518
|
+
<p>Initializes the given <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> with the given array
|
519
|
+
of vertices.</p>
|
520
|
+
<p>If <em class="parameter"><code>n_vectors</code></em>
|
521
|
+
is 0, the returned box is initialized with
|
522
|
+
<a class="link" href="graphene-Box.html#graphene-box-empty" title="graphene_box_empty ()"><code class="function">graphene_box_empty()</code></a>.</p>
|
523
|
+
<div class="refsect3">
|
524
|
+
<a name="graphene-box-init-from-vectors.parameters"></a><h4>Parameters</h4>
|
525
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
526
|
+
<colgroup>
|
527
|
+
<col width="150px" class="parameters_name">
|
528
|
+
<col class="parameters_description">
|
529
|
+
<col width="200px" class="parameters_annotations">
|
530
|
+
</colgroup>
|
531
|
+
<tbody>
|
532
|
+
<tr>
|
533
|
+
<td class="parameter_name"><p>box</p></td>
|
534
|
+
<td class="parameter_description"><p>the <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> to initialize</p></td>
|
535
|
+
<td class="parameter_annotations"> </td>
|
536
|
+
</tr>
|
537
|
+
<tr>
|
538
|
+
<td class="parameter_name"><p>n_vectors</p></td>
|
539
|
+
<td class="parameter_description"><p>the number <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> in the <em class="parameter"><code>vectors</code></em>
|
540
|
+
array</p></td>
|
541
|
+
<td class="parameter_annotations"> </td>
|
542
|
+
</tr>
|
543
|
+
<tr>
|
544
|
+
<td class="parameter_name"><p>vectors</p></td>
|
545
|
+
<td class="parameter_description"><p> an array of <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a>. </p></td>
|
546
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_vectors]</span></td>
|
547
|
+
</tr>
|
548
|
+
</tbody>
|
549
|
+
</table></div>
|
550
|
+
</div>
|
551
|
+
<div class="refsect3">
|
552
|
+
<a name="graphene-box-init-from-vectors.returns"></a><h4>Returns</h4>
|
553
|
+
<p> the initialized <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>. </p>
|
554
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
555
|
+
</div>
|
556
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
557
|
+
</div>
|
558
|
+
<hr>
|
559
|
+
<div class="refsect2">
|
560
|
+
<a name="graphene-box-equal"></a><h3>graphene_box_equal ()</h3>
|
561
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
562
|
+
graphene_box_equal (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *a</code></em>,
|
563
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *b</code></em>);</pre>
|
564
|
+
<p>Checks whether the two given boxes are equal.</p>
|
565
|
+
<div class="refsect3">
|
566
|
+
<a name="graphene-box-equal.parameters"></a><h4>Parameters</h4>
|
567
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
568
|
+
<colgroup>
|
569
|
+
<col width="150px" class="parameters_name">
|
570
|
+
<col class="parameters_description">
|
571
|
+
<col width="200px" class="parameters_annotations">
|
572
|
+
</colgroup>
|
573
|
+
<tbody>
|
574
|
+
<tr>
|
575
|
+
<td class="parameter_name"><p>a</p></td>
|
576
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
577
|
+
<td class="parameter_annotations"> </td>
|
578
|
+
</tr>
|
579
|
+
<tr>
|
580
|
+
<td class="parameter_name"><p>b</p></td>
|
581
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
582
|
+
<td class="parameter_annotations"> </td>
|
583
|
+
</tr>
|
584
|
+
</tbody>
|
585
|
+
</table></div>
|
586
|
+
</div>
|
587
|
+
<div class="refsect3">
|
588
|
+
<a name="graphene-box-equal.returns"></a><h4>Returns</h4>
|
589
|
+
<p> <code class="literal">true</code> if the boxes are equal</p>
|
590
|
+
</div>
|
591
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
592
|
+
</div>
|
593
|
+
<hr>
|
594
|
+
<div class="refsect2">
|
595
|
+
<a name="graphene-box-expand"></a><h3>graphene_box_expand ()</h3>
|
596
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
597
|
+
graphene_box_expand (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
598
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *point</code></em>,
|
599
|
+
<em class="parameter"><code><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *res</code></em>);</pre>
|
600
|
+
<p>Expands the dimensions of <em class="parameter"><code>box</code></em>
|
601
|
+
to include the coordinates at <em class="parameter"><code>point</code></em>
|
602
|
+
.</p>
|
603
|
+
<div class="refsect3">
|
604
|
+
<a name="graphene-box-expand.parameters"></a><h4>Parameters</h4>
|
605
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
606
|
+
<colgroup>
|
607
|
+
<col width="150px" class="parameters_name">
|
608
|
+
<col class="parameters_description">
|
609
|
+
<col width="200px" class="parameters_annotations">
|
610
|
+
</colgroup>
|
611
|
+
<tbody>
|
612
|
+
<tr>
|
613
|
+
<td class="parameter_name"><p>box</p></td>
|
614
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
615
|
+
<td class="parameter_annotations"> </td>
|
616
|
+
</tr>
|
617
|
+
<tr>
|
618
|
+
<td class="parameter_name"><p>point</p></td>
|
619
|
+
<td class="parameter_description"><p>the coordinates of the point to include</p></td>
|
620
|
+
<td class="parameter_annotations"> </td>
|
621
|
+
</tr>
|
622
|
+
<tr>
|
623
|
+
<td class="parameter_name"><p>res</p></td>
|
624
|
+
<td class="parameter_description"><p> return location for the expanded box. </p></td>
|
625
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
626
|
+
</tr>
|
627
|
+
</tbody>
|
628
|
+
</table></div>
|
629
|
+
</div>
|
630
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
631
|
+
</div>
|
632
|
+
<hr>
|
633
|
+
<div class="refsect2">
|
634
|
+
<a name="graphene-box-expand-scalar"></a><h3>graphene_box_expand_scalar ()</h3>
|
635
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
636
|
+
graphene_box_expand_scalar (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
637
|
+
<em class="parameter"><code><span class="type">float</span> scalar</code></em>,
|
638
|
+
<em class="parameter"><code><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *res</code></em>);</pre>
|
639
|
+
<p>Expands the dimensions of <em class="parameter"><code>box</code></em>
|
640
|
+
by the given <em class="parameter"><code>scalar</code></em>
|
641
|
+
value.</p>
|
642
|
+
<p>If <em class="parameter"><code>scalar</code></em>
|
643
|
+
is positive, the <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> will grow; if <em class="parameter"><code>scalar</code></em>
|
644
|
+
is
|
645
|
+
negative, the <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> will shrink.</p>
|
646
|
+
<div class="refsect3">
|
647
|
+
<a name="graphene-box-expand-scalar.parameters"></a><h4>Parameters</h4>
|
648
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
649
|
+
<colgroup>
|
650
|
+
<col width="150px" class="parameters_name">
|
651
|
+
<col class="parameters_description">
|
652
|
+
<col width="200px" class="parameters_annotations">
|
653
|
+
</colgroup>
|
654
|
+
<tbody>
|
655
|
+
<tr>
|
656
|
+
<td class="parameter_name"><p>box</p></td>
|
657
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
658
|
+
<td class="parameter_annotations"> </td>
|
659
|
+
</tr>
|
660
|
+
<tr>
|
661
|
+
<td class="parameter_name"><p>scalar</p></td>
|
662
|
+
<td class="parameter_description"><p>a scalar value</p></td>
|
663
|
+
<td class="parameter_annotations"> </td>
|
664
|
+
</tr>
|
665
|
+
<tr>
|
666
|
+
<td class="parameter_name"><p>res</p></td>
|
667
|
+
<td class="parameter_description"><p> return location for the expanded box. </p></td>
|
668
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
669
|
+
</tr>
|
670
|
+
</tbody>
|
671
|
+
</table></div>
|
672
|
+
</div>
|
673
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
674
|
+
</div>
|
675
|
+
<hr>
|
676
|
+
<div class="refsect2">
|
677
|
+
<a name="graphene-box-expand-vec3"></a><h3>graphene_box_expand_vec3 ()</h3>
|
678
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
679
|
+
graphene_box_expand_vec3 (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
680
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> *vec</code></em>,
|
681
|
+
<em class="parameter"><code><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *res</code></em>);</pre>
|
682
|
+
<p>Expands the dimensions of <em class="parameter"><code>box</code></em>
|
683
|
+
to include the coordinates of the
|
684
|
+
given vector.</p>
|
685
|
+
<div class="refsect3">
|
686
|
+
<a name="graphene-box-expand-vec3.parameters"></a><h4>Parameters</h4>
|
687
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
688
|
+
<colgroup>
|
689
|
+
<col width="150px" class="parameters_name">
|
690
|
+
<col class="parameters_description">
|
691
|
+
<col width="200px" class="parameters_annotations">
|
692
|
+
</colgroup>
|
693
|
+
<tbody>
|
694
|
+
<tr>
|
695
|
+
<td class="parameter_name"><p>box</p></td>
|
696
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
697
|
+
<td class="parameter_annotations"> </td>
|
698
|
+
</tr>
|
699
|
+
<tr>
|
700
|
+
<td class="parameter_name"><p>vec</p></td>
|
701
|
+
<td class="parameter_description"><p>the coordinates of the point to include, as a <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a></p></td>
|
702
|
+
<td class="parameter_annotations"> </td>
|
703
|
+
</tr>
|
704
|
+
<tr>
|
705
|
+
<td class="parameter_name"><p>res</p></td>
|
706
|
+
<td class="parameter_description"><p> return location for the expanded box. </p></td>
|
707
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
708
|
+
</tr>
|
709
|
+
</tbody>
|
710
|
+
</table></div>
|
711
|
+
</div>
|
712
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
713
|
+
</div>
|
714
|
+
<hr>
|
715
|
+
<div class="refsect2">
|
716
|
+
<a name="graphene-box-get-min"></a><h3>graphene_box_get_min ()</h3>
|
717
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
718
|
+
graphene_box_get_min (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
719
|
+
<em class="parameter"><code><a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *min</code></em>);</pre>
|
720
|
+
<p>Retrieves the coordinates of the minimum point of the given
|
721
|
+
<a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>.</p>
|
722
|
+
<div class="refsect3">
|
723
|
+
<a name="graphene-box-get-min.parameters"></a><h4>Parameters</h4>
|
724
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
725
|
+
<colgroup>
|
726
|
+
<col width="150px" class="parameters_name">
|
727
|
+
<col class="parameters_description">
|
728
|
+
<col width="200px" class="parameters_annotations">
|
729
|
+
</colgroup>
|
730
|
+
<tbody>
|
731
|
+
<tr>
|
732
|
+
<td class="parameter_name"><p>box</p></td>
|
733
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
734
|
+
<td class="parameter_annotations"> </td>
|
735
|
+
</tr>
|
736
|
+
<tr>
|
737
|
+
<td class="parameter_name"><p>min</p></td>
|
738
|
+
<td class="parameter_description"><p> return location for the minimum point. </p></td>
|
739
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
740
|
+
</tr>
|
741
|
+
</tbody>
|
742
|
+
</table></div>
|
743
|
+
</div>
|
744
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
745
|
+
</div>
|
746
|
+
<hr>
|
747
|
+
<div class="refsect2">
|
748
|
+
<a name="graphene-box-get-max"></a><h3>graphene_box_get_max ()</h3>
|
749
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
750
|
+
graphene_box_get_max (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
751
|
+
<em class="parameter"><code><a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *max</code></em>);</pre>
|
752
|
+
<p>Retrieves the coordinates of the maximum point of the given
|
753
|
+
<a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>.</p>
|
754
|
+
<div class="refsect3">
|
755
|
+
<a name="graphene-box-get-max.parameters"></a><h4>Parameters</h4>
|
756
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
757
|
+
<colgroup>
|
758
|
+
<col width="150px" class="parameters_name">
|
759
|
+
<col class="parameters_description">
|
760
|
+
<col width="200px" class="parameters_annotations">
|
761
|
+
</colgroup>
|
762
|
+
<tbody>
|
763
|
+
<tr>
|
764
|
+
<td class="parameter_name"><p>box</p></td>
|
765
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
766
|
+
<td class="parameter_annotations"> </td>
|
767
|
+
</tr>
|
768
|
+
<tr>
|
769
|
+
<td class="parameter_name"><p>max</p></td>
|
770
|
+
<td class="parameter_description"><p> return location for the maximum point. </p></td>
|
771
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
772
|
+
</tr>
|
773
|
+
</tbody>
|
774
|
+
</table></div>
|
775
|
+
</div>
|
776
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
777
|
+
</div>
|
778
|
+
<hr>
|
779
|
+
<div class="refsect2">
|
780
|
+
<a name="graphene-box-get-center"></a><h3>graphene_box_get_center ()</h3>
|
781
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
782
|
+
graphene_box_get_center (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
783
|
+
<em class="parameter"><code><a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *center</code></em>);</pre>
|
784
|
+
<p>Retrieves the coordinates of the center of a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>.</p>
|
785
|
+
<div class="refsect3">
|
786
|
+
<a name="graphene-box-get-center.parameters"></a><h4>Parameters</h4>
|
787
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
788
|
+
<colgroup>
|
789
|
+
<col width="150px" class="parameters_name">
|
790
|
+
<col class="parameters_description">
|
791
|
+
<col width="200px" class="parameters_annotations">
|
792
|
+
</colgroup>
|
793
|
+
<tbody>
|
794
|
+
<tr>
|
795
|
+
<td class="parameter_name"><p>box</p></td>
|
796
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
797
|
+
<td class="parameter_annotations"> </td>
|
798
|
+
</tr>
|
799
|
+
<tr>
|
800
|
+
<td class="parameter_name"><p>center</p></td>
|
801
|
+
<td class="parameter_description"><p> return location for the coordinates of
|
802
|
+
the center. </p></td>
|
803
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
804
|
+
</tr>
|
805
|
+
</tbody>
|
806
|
+
</table></div>
|
807
|
+
</div>
|
808
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
809
|
+
</div>
|
810
|
+
<hr>
|
811
|
+
<div class="refsect2">
|
812
|
+
<a name="graphene-box-get-depth"></a><h3>graphene_box_get_depth ()</h3>
|
813
|
+
<pre class="programlisting"><span class="returnvalue">float</span>
|
814
|
+
graphene_box_get_depth (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>);</pre>
|
815
|
+
<p>Retrieves the size of the <em class="parameter"><code>box</code></em>
|
816
|
+
on the Z axis.</p>
|
817
|
+
<div class="refsect3">
|
818
|
+
<a name="graphene-box-get-depth.parameters"></a><h4>Parameters</h4>
|
819
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
820
|
+
<colgroup>
|
821
|
+
<col width="150px" class="parameters_name">
|
822
|
+
<col class="parameters_description">
|
823
|
+
<col width="200px" class="parameters_annotations">
|
824
|
+
</colgroup>
|
825
|
+
<tbody><tr>
|
826
|
+
<td class="parameter_name"><p>box</p></td>
|
827
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
828
|
+
<td class="parameter_annotations"> </td>
|
829
|
+
</tr></tbody>
|
830
|
+
</table></div>
|
831
|
+
</div>
|
832
|
+
<div class="refsect3">
|
833
|
+
<a name="graphene-box-get-depth.returns"></a><h4>Returns</h4>
|
834
|
+
<p> the depth of the box</p>
|
835
|
+
</div>
|
836
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
837
|
+
</div>
|
838
|
+
<hr>
|
839
|
+
<div class="refsect2">
|
840
|
+
<a name="graphene-box-get-height"></a><h3>graphene_box_get_height ()</h3>
|
841
|
+
<pre class="programlisting"><span class="returnvalue">float</span>
|
842
|
+
graphene_box_get_height (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>);</pre>
|
843
|
+
<p>Retrieves the size of the <em class="parameter"><code>box</code></em>
|
844
|
+
on the Y axis.</p>
|
845
|
+
<div class="refsect3">
|
846
|
+
<a name="graphene-box-get-height.parameters"></a><h4>Parameters</h4>
|
847
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
848
|
+
<colgroup>
|
849
|
+
<col width="150px" class="parameters_name">
|
850
|
+
<col class="parameters_description">
|
851
|
+
<col width="200px" class="parameters_annotations">
|
852
|
+
</colgroup>
|
853
|
+
<tbody><tr>
|
854
|
+
<td class="parameter_name"><p>box</p></td>
|
855
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
856
|
+
<td class="parameter_annotations"> </td>
|
857
|
+
</tr></tbody>
|
858
|
+
</table></div>
|
859
|
+
</div>
|
860
|
+
<div class="refsect3">
|
861
|
+
<a name="graphene-box-get-height.returns"></a><h4>Returns</h4>
|
862
|
+
<p> the height of the box</p>
|
863
|
+
</div>
|
864
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
865
|
+
</div>
|
866
|
+
<hr>
|
867
|
+
<div class="refsect2">
|
868
|
+
<a name="graphene-box-get-width"></a><h3>graphene_box_get_width ()</h3>
|
869
|
+
<pre class="programlisting"><span class="returnvalue">float</span>
|
870
|
+
graphene_box_get_width (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>);</pre>
|
871
|
+
<p>Retrieves the size of the <em class="parameter"><code>box</code></em>
|
872
|
+
on the X axis.</p>
|
873
|
+
<div class="refsect3">
|
874
|
+
<a name="graphene-box-get-width.parameters"></a><h4>Parameters</h4>
|
875
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
876
|
+
<colgroup>
|
877
|
+
<col width="150px" class="parameters_name">
|
878
|
+
<col class="parameters_description">
|
879
|
+
<col width="200px" class="parameters_annotations">
|
880
|
+
</colgroup>
|
881
|
+
<tbody><tr>
|
882
|
+
<td class="parameter_name"><p>box</p></td>
|
883
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
884
|
+
<td class="parameter_annotations"> </td>
|
885
|
+
</tr></tbody>
|
886
|
+
</table></div>
|
887
|
+
</div>
|
888
|
+
<div class="refsect3">
|
889
|
+
<a name="graphene-box-get-width.returns"></a><h4>Returns</h4>
|
890
|
+
<p> the width of the box</p>
|
891
|
+
</div>
|
892
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
893
|
+
</div>
|
894
|
+
<hr>
|
895
|
+
<div class="refsect2">
|
896
|
+
<a name="graphene-box-get-size"></a><h3>graphene_box_get_size ()</h3>
|
897
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
898
|
+
graphene_box_get_size (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
899
|
+
<em class="parameter"><code><a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> *size</code></em>);</pre>
|
900
|
+
<p>Retrieves the size of the box on all three axes, and stores
|
901
|
+
it into the given <em class="parameter"><code>size</code></em>
|
902
|
+
vector.</p>
|
903
|
+
<div class="refsect3">
|
904
|
+
<a name="graphene-box-get-size.parameters"></a><h4>Parameters</h4>
|
905
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
906
|
+
<colgroup>
|
907
|
+
<col width="150px" class="parameters_name">
|
908
|
+
<col class="parameters_description">
|
909
|
+
<col width="200px" class="parameters_annotations">
|
910
|
+
</colgroup>
|
911
|
+
<tbody>
|
912
|
+
<tr>
|
913
|
+
<td class="parameter_name"><p>box</p></td>
|
914
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
915
|
+
<td class="parameter_annotations"> </td>
|
916
|
+
</tr>
|
917
|
+
<tr>
|
918
|
+
<td class="parameter_name"><p>size</p></td>
|
919
|
+
<td class="parameter_description"><p> return location for the size. </p></td>
|
920
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
921
|
+
</tr>
|
922
|
+
</tbody>
|
923
|
+
</table></div>
|
924
|
+
</div>
|
925
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
926
|
+
</div>
|
927
|
+
<hr>
|
928
|
+
<div class="refsect2">
|
929
|
+
<a name="graphene-box-get-bounding-sphere"></a><h3>graphene_box_get_bounding_sphere ()</h3>
|
930
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
931
|
+
graphene_box_get_bounding_sphere (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
932
|
+
<em class="parameter"><code><a class="link" href="graphene-Sphere.html#graphene-sphere-t" title="graphene_sphere_t"><span class="type">graphene_sphere_t</span></a> *sphere</code></em>);</pre>
|
933
|
+
<p>Computes the bounding <a class="link" href="graphene-Sphere.html#graphene-sphere-t" title="graphene_sphere_t"><span class="type">graphene_sphere_t</span></a> capable of containing the given
|
934
|
+
<a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>.</p>
|
935
|
+
<div class="refsect3">
|
936
|
+
<a name="graphene-box-get-bounding-sphere.parameters"></a><h4>Parameters</h4>
|
937
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
938
|
+
<colgroup>
|
939
|
+
<col width="150px" class="parameters_name">
|
940
|
+
<col class="parameters_description">
|
941
|
+
<col width="200px" class="parameters_annotations">
|
942
|
+
</colgroup>
|
943
|
+
<tbody>
|
944
|
+
<tr>
|
945
|
+
<td class="parameter_name"><p>box</p></td>
|
946
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
947
|
+
<td class="parameter_annotations"> </td>
|
948
|
+
</tr>
|
949
|
+
<tr>
|
950
|
+
<td class="parameter_name"><p>sphere</p></td>
|
951
|
+
<td class="parameter_description"><p> return location for the bounding sphere. </p></td>
|
952
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
953
|
+
</tr>
|
954
|
+
</tbody>
|
955
|
+
</table></div>
|
956
|
+
</div>
|
957
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
958
|
+
</div>
|
959
|
+
<hr>
|
960
|
+
<div class="refsect2">
|
961
|
+
<a name="graphene-box-get-vertices"></a><h3>graphene_box_get_vertices ()</h3>
|
962
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
963
|
+
graphene_box_get_vertices (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
964
|
+
<em class="parameter"><code><a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> vertices[]</code></em>);</pre>
|
965
|
+
<p>Computes the vertices of the given <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>.</p>
|
966
|
+
<div class="refsect3">
|
967
|
+
<a name="graphene-box-get-vertices.parameters"></a><h4>Parameters</h4>
|
968
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
969
|
+
<colgroup>
|
970
|
+
<col width="150px" class="parameters_name">
|
971
|
+
<col class="parameters_description">
|
972
|
+
<col width="200px" class="parameters_annotations">
|
973
|
+
</colgroup>
|
974
|
+
<tbody>
|
975
|
+
<tr>
|
976
|
+
<td class="parameter_name"><p>box</p></td>
|
977
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
978
|
+
<td class="parameter_annotations"> </td>
|
979
|
+
</tr>
|
980
|
+
<tr>
|
981
|
+
<td class="parameter_name"><p>vertices</p></td>
|
982
|
+
<td class="parameter_description"><p> return location for an array
|
983
|
+
of 8 <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a>. </p></td>
|
984
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=8]</span></td>
|
985
|
+
</tr>
|
986
|
+
</tbody>
|
987
|
+
</table></div>
|
988
|
+
</div>
|
989
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
990
|
+
</div>
|
991
|
+
<hr>
|
992
|
+
<div class="refsect2">
|
993
|
+
<a name="graphene-box-union"></a><h3>graphene_box_union ()</h3>
|
994
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
995
|
+
graphene_box_union (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *a</code></em>,
|
996
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *b</code></em>,
|
997
|
+
<em class="parameter"><code><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *res</code></em>);</pre>
|
998
|
+
<p>Unions the two given <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>.</p>
|
999
|
+
<div class="refsect3">
|
1000
|
+
<a name="graphene-box-union.parameters"></a><h4>Parameters</h4>
|
1001
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1002
|
+
<colgroup>
|
1003
|
+
<col width="150px" class="parameters_name">
|
1004
|
+
<col class="parameters_description">
|
1005
|
+
<col width="200px" class="parameters_annotations">
|
1006
|
+
</colgroup>
|
1007
|
+
<tbody>
|
1008
|
+
<tr>
|
1009
|
+
<td class="parameter_name"><p>a</p></td>
|
1010
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
1011
|
+
<td class="parameter_annotations"> </td>
|
1012
|
+
</tr>
|
1013
|
+
<tr>
|
1014
|
+
<td class="parameter_name"><p>b</p></td>
|
1015
|
+
<td class="parameter_description"><p>the box to union to <em class="parameter"><code>a</code></em>
|
1016
|
+
</p></td>
|
1017
|
+
<td class="parameter_annotations"> </td>
|
1018
|
+
</tr>
|
1019
|
+
<tr>
|
1020
|
+
<td class="parameter_name"><p>res</p></td>
|
1021
|
+
<td class="parameter_description"><p> return location for the result. </p></td>
|
1022
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
1023
|
+
</tr>
|
1024
|
+
</tbody>
|
1025
|
+
</table></div>
|
1026
|
+
</div>
|
1027
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1028
|
+
</div>
|
1029
|
+
<hr>
|
1030
|
+
<div class="refsect2">
|
1031
|
+
<a name="graphene-box-intersection"></a><h3>graphene_box_intersection ()</h3>
|
1032
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
1033
|
+
graphene_box_intersection (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *a</code></em>,
|
1034
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *b</code></em>,
|
1035
|
+
<em class="parameter"><code><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *res</code></em>);</pre>
|
1036
|
+
<p>Intersects the two given <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>.</p>
|
1037
|
+
<p>If the two boxes do not intersect, <em class="parameter"><code>res</code></em>
|
1038
|
+
will contain a degenerate box
|
1039
|
+
initialized with <a class="link" href="graphene-Box.html#graphene-box-empty" title="graphene_box_empty ()"><code class="function">graphene_box_empty()</code></a>.</p>
|
1040
|
+
<div class="refsect3">
|
1041
|
+
<a name="graphene-box-intersection.parameters"></a><h4>Parameters</h4>
|
1042
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1043
|
+
<colgroup>
|
1044
|
+
<col width="150px" class="parameters_name">
|
1045
|
+
<col class="parameters_description">
|
1046
|
+
<col width="200px" class="parameters_annotations">
|
1047
|
+
</colgroup>
|
1048
|
+
<tbody>
|
1049
|
+
<tr>
|
1050
|
+
<td class="parameter_name"><p>a</p></td>
|
1051
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
1052
|
+
<td class="parameter_annotations"> </td>
|
1053
|
+
</tr>
|
1054
|
+
<tr>
|
1055
|
+
<td class="parameter_name"><p>b</p></td>
|
1056
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
1057
|
+
<td class="parameter_annotations"> </td>
|
1058
|
+
</tr>
|
1059
|
+
<tr>
|
1060
|
+
<td class="parameter_name"><p>res</p></td>
|
1061
|
+
<td class="parameter_description"><p> return location for the result. </p></td>
|
1062
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
1063
|
+
</tr>
|
1064
|
+
</tbody>
|
1065
|
+
</table></div>
|
1066
|
+
</div>
|
1067
|
+
<div class="refsect3">
|
1068
|
+
<a name="graphene-box-intersection.returns"></a><h4>Returns</h4>
|
1069
|
+
<p> true if the two boxes intersect</p>
|
1070
|
+
</div>
|
1071
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1072
|
+
</div>
|
1073
|
+
<hr>
|
1074
|
+
<div class="refsect2">
|
1075
|
+
<a name="graphene-box-contains-box"></a><h3>graphene_box_contains_box ()</h3>
|
1076
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
1077
|
+
graphene_box_contains_box (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *a</code></em>,
|
1078
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *b</code></em>);</pre>
|
1079
|
+
<p>Checks whether the <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> <em class="parameter"><code>a</code></em>
|
1080
|
+
contains the given
|
1081
|
+
<a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> <em class="parameter"><code>b</code></em>
|
1082
|
+
.</p>
|
1083
|
+
<div class="refsect3">
|
1084
|
+
<a name="graphene-box-contains-box.parameters"></a><h4>Parameters</h4>
|
1085
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1086
|
+
<colgroup>
|
1087
|
+
<col width="150px" class="parameters_name">
|
1088
|
+
<col class="parameters_description">
|
1089
|
+
<col width="200px" class="parameters_annotations">
|
1090
|
+
</colgroup>
|
1091
|
+
<tbody>
|
1092
|
+
<tr>
|
1093
|
+
<td class="parameter_name"><p>a</p></td>
|
1094
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
1095
|
+
<td class="parameter_annotations"> </td>
|
1096
|
+
</tr>
|
1097
|
+
<tr>
|
1098
|
+
<td class="parameter_name"><p>b</p></td>
|
1099
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
1100
|
+
<td class="parameter_annotations"> </td>
|
1101
|
+
</tr>
|
1102
|
+
</tbody>
|
1103
|
+
</table></div>
|
1104
|
+
</div>
|
1105
|
+
<div class="refsect3">
|
1106
|
+
<a name="graphene-box-contains-box.returns"></a><h4>Returns</h4>
|
1107
|
+
<p> <code class="literal">true</code> if the box is contained in the given box</p>
|
1108
|
+
</div>
|
1109
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1110
|
+
</div>
|
1111
|
+
<hr>
|
1112
|
+
<div class="refsect2">
|
1113
|
+
<a name="graphene-box-contains-point"></a><h3>graphene_box_contains_point ()</h3>
|
1114
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
1115
|
+
graphene_box_contains_point (<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>,
|
1116
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *point</code></em>);</pre>
|
1117
|
+
<p>Checks whether <em class="parameter"><code>box</code></em>
|
1118
|
+
contains the given <em class="parameter"><code>point</code></em>
|
1119
|
+
.</p>
|
1120
|
+
<div class="refsect3">
|
1121
|
+
<a name="graphene-box-contains-point.parameters"></a><h4>Parameters</h4>
|
1122
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1123
|
+
<colgroup>
|
1124
|
+
<col width="150px" class="parameters_name">
|
1125
|
+
<col class="parameters_description">
|
1126
|
+
<col width="200px" class="parameters_annotations">
|
1127
|
+
</colgroup>
|
1128
|
+
<tbody>
|
1129
|
+
<tr>
|
1130
|
+
<td class="parameter_name"><p>box</p></td>
|
1131
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
1132
|
+
<td class="parameter_annotations"> </td>
|
1133
|
+
</tr>
|
1134
|
+
<tr>
|
1135
|
+
<td class="parameter_name"><p>point</p></td>
|
1136
|
+
<td class="parameter_description"><p>the coordinates to check</p></td>
|
1137
|
+
<td class="parameter_annotations"> </td>
|
1138
|
+
</tr>
|
1139
|
+
</tbody>
|
1140
|
+
</table></div>
|
1141
|
+
</div>
|
1142
|
+
<div class="refsect3">
|
1143
|
+
<a name="graphene-box-contains-point.returns"></a><h4>Returns</h4>
|
1144
|
+
<p> <code class="literal">true</code> if the point is contained in the given box</p>
|
1145
|
+
</div>
|
1146
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1147
|
+
</div>
|
1148
|
+
<hr>
|
1149
|
+
<div class="refsect2">
|
1150
|
+
<a name="graphene-box-zero"></a><h3>graphene_box_zero ()</h3>
|
1151
|
+
<pre class="programlisting">const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
1152
|
+
graphene_box_zero (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1153
|
+
<p>A <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> with both the minimum and maximum vertices set at (0, 0, 0).</p>
|
1154
|
+
<p>The returned value is owned by Graphene and should not be modified or freed.</p>
|
1155
|
+
<div class="refsect3">
|
1156
|
+
<a name="graphene-box-zero.returns"></a><h4>Returns</h4>
|
1157
|
+
<p> a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>. </p>
|
1158
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1159
|
+
</div>
|
1160
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1161
|
+
</div>
|
1162
|
+
<hr>
|
1163
|
+
<div class="refsect2">
|
1164
|
+
<a name="graphene-box-one"></a><h3>graphene_box_one ()</h3>
|
1165
|
+
<pre class="programlisting">const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
1166
|
+
graphene_box_one (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1167
|
+
<p>A <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> with the minimum vertex set at (0, 0, 0) and the
|
1168
|
+
maximum vertex set at (1, 1, 1).</p>
|
1169
|
+
<p>The returned value is owned by Graphene and should not be modified or freed.</p>
|
1170
|
+
<div class="refsect3">
|
1171
|
+
<a name="graphene-box-one.returns"></a><h4>Returns</h4>
|
1172
|
+
<p> a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>. </p>
|
1173
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1174
|
+
</div>
|
1175
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1176
|
+
</div>
|
1177
|
+
<hr>
|
1178
|
+
<div class="refsect2">
|
1179
|
+
<a name="graphene-box-minus-one"></a><h3>graphene_box_minus_one ()</h3>
|
1180
|
+
<pre class="programlisting">const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
1181
|
+
graphene_box_minus_one (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1182
|
+
<p>A <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> with the minimum vertex set at (-1, -1, -1) and the
|
1183
|
+
maximum vertex set at (0, 0, 0).</p>
|
1184
|
+
<p>The returned value is owned by Graphene and should not be modified or freed.</p>
|
1185
|
+
<div class="refsect3">
|
1186
|
+
<a name="graphene-box-minus-one.returns"></a><h4>Returns</h4>
|
1187
|
+
<p> a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>. </p>
|
1188
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1189
|
+
</div>
|
1190
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1191
|
+
</div>
|
1192
|
+
<hr>
|
1193
|
+
<div class="refsect2">
|
1194
|
+
<a name="graphene-box-one-minus-one"></a><h3>graphene_box_one_minus_one ()</h3>
|
1195
|
+
<pre class="programlisting">const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
1196
|
+
graphene_box_one_minus_one (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1197
|
+
<p>A <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> with the minimum vertex set at (-1, -1, -1) and the
|
1198
|
+
maximum vertex set at (1, 1, 1).</p>
|
1199
|
+
<p>The returned value is owned by Graphene and should not be modified or freed.</p>
|
1200
|
+
<div class="refsect3">
|
1201
|
+
<a name="graphene-box-one-minus-one.returns"></a><h4>Returns</h4>
|
1202
|
+
<p> a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>. </p>
|
1203
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1204
|
+
</div>
|
1205
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1206
|
+
</div>
|
1207
|
+
<hr>
|
1208
|
+
<div class="refsect2">
|
1209
|
+
<a name="graphene-box-empty"></a><h3>graphene_box_empty ()</h3>
|
1210
|
+
<pre class="programlisting">const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
1211
|
+
graphene_box_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1212
|
+
<p>A degenerate <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> that can only be expanded.</p>
|
1213
|
+
<p>The returned value is owned by Graphene and should not be modified or freed.</p>
|
1214
|
+
<div class="refsect3">
|
1215
|
+
<a name="graphene-box-empty.returns"></a><h4>Returns</h4>
|
1216
|
+
<p> a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>. </p>
|
1217
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1218
|
+
</div>
|
1219
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1220
|
+
</div>
|
1221
|
+
<hr>
|
1222
|
+
<div class="refsect2">
|
1223
|
+
<a name="graphene-box-infinite"></a><h3>graphene_box_infinite ()</h3>
|
1224
|
+
<pre class="programlisting">const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="returnvalue">graphene_box_t</span></a> *
|
1225
|
+
graphene_box_infinite (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1226
|
+
<p>A degenerate <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> that cannot be expanded.</p>
|
1227
|
+
<p>The returned value is owned by Graphene and should not be modified or freed.</p>
|
1228
|
+
<div class="refsect3">
|
1229
|
+
<a name="graphene-box-infinite.returns"></a><h4>Returns</h4>
|
1230
|
+
<p> a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a>. </p>
|
1231
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1232
|
+
</div>
|
1233
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1234
|
+
</div>
|
1235
|
+
</div>
|
1236
|
+
<div class="refsect1">
|
1237
|
+
<a name="graphene-Box.other_details"></a><h2>Types and Values</h2>
|
1238
|
+
<div class="refsect2">
|
1239
|
+
<a name="graphene-box-t"></a><h3>graphene_box_t</h3>
|
1240
|
+
<pre class="programlisting">typedef struct {
|
1241
|
+
} graphene_box_t;
|
1242
|
+
</pre>
|
1243
|
+
<p>A 3D box, described as the volume between a minimum and
|
1244
|
+
a maximum vertices.</p>
|
1245
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
1246
|
+
</div>
|
1247
|
+
</div>
|
1248
|
+
</div>
|
1249
|
+
<div class="footer">
|
1250
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
1251
|
+
</body>
|
1252
|
+
</html>
|