/dports/graphics/quesoglc/quesoglc-0.7.2/tests/ |
H A D | test12.c | 105 glVertex2f(bbox[0], bbox[1] - 40.f); in display() 107 glVertex2f(bbox[2], bbox[3] - 40.f); in display() 108 glVertex2f(bbox[0], bbox[1] - 30.f); in display() 109 glVertex2f(bbox[2], bbox[3] - 30.f); in display() 113 glVertex2f(bbox[0], bbox[1] - 30.f); in display() 118 glVertex2f(bbox[2], bbox[1] - 30.f); in display() 165 glVertex2f(bbox[0], bbox[1] - 0.4f); in display() 167 glVertex2f(bbox[2], bbox[3] - 0.4f); in display() 168 glVertex2f(bbox[0], bbox[1] - 0.3f); in display() 169 glVertex2f(bbox[2], bbox[3] - 0.3f); in display() [all …]
|
/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_06_math/ |
H A D | test_640_bbox.py | 9 assert bbox.extmin == (0, 0, 0) 21 bbox = BoundingBox() 22 assert bbox.is_empty is True 23 assert bbox.has_data is False 27 assert bbox.has_data is True 99 bbox.extend([(5, 5, 5)]) 113 bbox.extend([]) 120 bbox.extend(bbox2) 170 bbox = BoundingBox2d() 190 bbox.extend([(5, 5)]) [all …]
|
/dports/graphics/libchamplain/libchamplain-0.12.20/champlain/ |
H A D | champlain-bounding-box.c | 63 ChamplainBoundingBox *bbox; in champlain_bounding_box_new() local 72 return bbox; in champlain_bounding_box_new() 133 *longitude = (bbox->right + bbox->left) / 2.0; in champlain_bounding_box_get_center() 134 *latitude = (bbox->top + bbox->bottom) / 2.0; in champlain_bounding_box_get_center() 160 bbox->top = other->top; in champlain_bounding_box_compose() 185 bbox->left = longitude; in champlain_bounding_box_extend() 193 if (latitude > bbox->top) in champlain_bounding_box_extend() 194 bbox->top = latitude; in champlain_bounding_box_extend() 213 return (bbox->left < bbox->right) && (bbox->bottom < bbox->top) && in champlain_bounding_box_is_valid() 239 return ((latitude >= bbox->bottom && latitude <= bbox->top) && in champlain_bounding_box_covers() [all …]
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Intersections_3/internal/ |
H A D | Bbox_3_Plane_3_do_intersect.h | 38 p_min = typename K::Point_3(bbox.xmin(), bbox.ymin(),bbox.zmin()); in get_min_max() 39 p_max = typename K::Point_3(bbox.xmax(), bbox.ymax(),bbox.zmax()); in get_min_max() 42 p_min = typename K::Point_3(bbox.xmin(), bbox.ymin(),bbox.zmax()); in get_min_max() 43 p_max = typename K::Point_3(bbox.xmax(), bbox.ymax(),bbox.zmin()); in get_min_max() 48 p_min = typename K::Point_3(bbox.xmin(), bbox.ymax(),bbox.zmin()); in get_min_max() 49 p_max = typename K::Point_3(bbox.xmax(), bbox.ymin(),bbox.zmax()); in get_min_max() 52 p_min = typename K::Point_3(bbox.xmin(), bbox.ymax(),bbox.zmax()); in get_min_max() 53 p_max = typename K::Point_3(bbox.xmax(), bbox.ymin(),bbox.zmin()); in get_min_max() 61 p_min = typename K::Point_3(bbox.xmax(), bbox.ymin(),bbox.zmin()); in get_min_max() 62 p_max = typename K::Point_3(bbox.xmin(), bbox.ymax(),bbox.zmax()); in get_min_max() [all …]
|
/dports/graphics/gscan2pdf/gscan2pdf-2.12.4/lib/Gscan2pdf/Canvas/ |
H A D | TreeIter.pm | 12 if ( not defined $bbox or not $bbox->isa('Gscan2pdf::Canvas::Bbox') ) { 15 my $self = { bbox => [$bbox], iter => [] }; 27 $self->{bbox} = [ $self->{bbox}[0] ]; 38 return $bbox; 78 while ( defined $bbox and $bbox->{type} ne 'word' ) { 83 $self->{bbox} = $current->{bbox}; 86 return $bbox; 129 if ( not defined $bbox or $bbox eq $current->{bbox}[-1] ) { 131 $self->{bbox} = $current->{bbox}; 141 $self->{bbox} = [ $self->{bbox}[0] ]; [all …]
|
/dports/games/bzflag-server/bzflag-2.4.22/src/bzflag/ |
H A D | ShotPathSegment.cxx | 33 if (bbox[0][0] > bbox[1][0]) in ShotPathSegment() 36 bbox[0][0] = bbox[1][0]; in ShotPathSegment() 39 if (bbox[0][1] > bbox[1][1]) in ShotPathSegment() 42 bbox[0][1] = bbox[1][1]; in ShotPathSegment() 45 if (bbox[0][2] > bbox[1][2]) in ShotPathSegment() 48 bbox[0][2] = bbox[1][2]; in ShotPathSegment() 60 bbox[0][0] = segment.bbox[0][0]; in ShotPathSegment() 61 bbox[0][1] = segment.bbox[0][1]; in ShotPathSegment() 62 bbox[0][2] = segment.bbox[0][2]; in ShotPathSegment() 63 bbox[1][0] = segment.bbox[1][0]; in ShotPathSegment() [all …]
|
/dports/games/bzflag/bzflag-2.4.22/src/bzflag/ |
H A D | ShotPathSegment.cxx | 33 if (bbox[0][0] > bbox[1][0]) in ShotPathSegment() 36 bbox[0][0] = bbox[1][0]; in ShotPathSegment() 39 if (bbox[0][1] > bbox[1][1]) in ShotPathSegment() 42 bbox[0][1] = bbox[1][1]; in ShotPathSegment() 45 if (bbox[0][2] > bbox[1][2]) in ShotPathSegment() 48 bbox[0][2] = bbox[1][2]; in ShotPathSegment() 60 bbox[0][0] = segment.bbox[0][0]; in ShotPathSegment() 61 bbox[0][1] = segment.bbox[0][1]; in ShotPathSegment() 62 bbox[0][2] = segment.bbox[0][2]; in ShotPathSegment() 63 bbox[1][0] = segment.bbox[1][0]; in ShotPathSegment() [all …]
|
/dports/textproc/lasem/lasem-0.5.1/src/ |
H A D | lsmmathmlutils.c | 34 if (!bbox->is_defined) in lsm_mathml_bbox_add_horizontally() 38 *self = *bbox; in lsm_mathml_bbox_add_horizontally() 55 if (!bbox->is_defined) in lsm_mathml_bbox_add_over() 59 *self = *bbox; in lsm_mathml_bbox_add_over() 63 self->height += bbox->height + bbox->depth; in lsm_mathml_bbox_add_over() 73 if (!bbox->is_defined) in lsm_mathml_bbox_add_under() 77 *self = *bbox; in lsm_mathml_bbox_add_under() 81 self->depth += bbox->height + bbox->depth; in lsm_mathml_bbox_add_under() 95 *self = *bbox; in lsm_mathml_bbox_merge_vertically() 118 *self = *bbox; in lsm_mathml_bbox_stretch() [all …]
|
/dports/cad/xcircuit/xcircuit-3.10.30/lib/fonts/ |
H A D | symbol.lps | 8 % 0 0 26 32 bbox 15 % 0 0 16 26 bbox 21 % 4 1 5 25 bbox 29 % 3 0 24 26 bbox 37 % 3 0 19 26 bbox 47 % 3 0 20 26 bbox 55 % 3 0 17 26 bbox 64 % 3 0 22 26 bbox 96 % 4 8 10 8 bbox 113 % 4 -4 6 8 bbox [all …]
|
H A D | helvetica.lps | 9 % 0 0 24 32 bbox 16 % 0 0 14 26 bbox 22 % 5 -1 4 29 bbox 30 % 5 21 10 6 bbox 38 % 3 0 19 26 bbox 48 % 3 -4 20 30 bbox 57 % 3 0 20 25 bbox 66 % 3 0 20 26 bbox 74 % 4 0 6 3 bbox 81 % 3 20 8 7 bbox [all …]
|
H A D | courier.lps | 9 % 0 0 24 32 bbox 16 % 0 0 24 26 bbox 22 % 10 1 14 22 bbox 30 % 9 21 15 7 bbox 38 % 2 0 22 26 bbox 48 % 5 0 19 30 bbox 60 % 4 4 20 18 bbox 69 % 8 0 16 26 bbox 100 % 8 13 16 7 bbox 111 % 4 8 20 16 bbox [all …]
|
H A D | times_roman.lps | 9 % 0 0 24 32 bbox 16 % 0 0 14 26 bbox 22 % 5 1 6 24 bbox 30 % 6 23 9 7 bbox 38 % 5 0 18 26 bbox 48 % 0 0 19 26 bbox 57 % 4 0 22 26 bbox 66 % 0 0 22 26 bbox 76 % 6 24 8 8 bbox 115 % 6 -4 4 8 bbox [all …]
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/meta/tests/ |
H A D | test_aabb.cpp | 49 const AABB3d bbox( in TEST_SUITE() local 59 const AABB3d bbox( in TEST_SUITE() local 116 AABB3d bbox( in TEST_SUITE() local 131 EXPECT_TRUE(AABB3d::overlap(bbox, bbox)); in TEST_SUITE() 140 EXPECT_TRUE(AABB3d::overlap(bbox, bbox)); in TEST_SUITE() 264 AABB3d bbox( in TEST_SUITE() local 278 bbox.insert( in TEST_SUITE() 289 AABB3d bbox( in TEST_SUITE() local 293 bbox.insert( in TEST_SUITE() 304 AABB3d bbox( in TEST_SUITE() local [all …]
|
/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/couple/ |
H A D | hecmw_couple_bounding_box.c | 32 HECMW_free(bbox); in HECMW_couple_free_bounding_box() 33 bbox = NULL; in HECMW_couple_free_bounding_box() 42 if (bbox == NULL) { in alloc_struct_bbox() 46 bbox->just = NULL; in alloc_struct_bbox() 49 bbox->just = in alloc_struct_bbox() 55 bbox->enlarged = in alloc_struct_bbox() 79 return bbox; in alloc_struct_bbox() 203 length_x = bbox->just->max_x - bbox->just->min_x; in HECMW_couple_set_bounding_box() 204 length_y = bbox->just->max_y - bbox->just->min_y; in HECMW_couple_set_bounding_box() 205 length_z = bbox->just->max_z - bbox->just->min_z; in HECMW_couple_set_bounding_box() [all …]
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/utility/ |
H A D | vpythonfile.cpp | 178 bbox.min.x, bbox.min.y, bbox.min.z, in draw_aabb() 179 bbox.max.x, bbox.min.y, bbox.min.z, in draw_aabb() 180 bbox.max.x, bbox.max.y, bbox.min.z, in draw_aabb() 181 bbox.min.x, bbox.max.y, bbox.min.z, in draw_aabb() 182 bbox.min.x, bbox.min.y, bbox.min.z, in draw_aabb() 189 bbox.min.x, bbox.min.y, bbox.max.z, in draw_aabb() 190 bbox.max.x, bbox.min.y, bbox.max.z, in draw_aabb() 191 bbox.max.x, bbox.max.y, bbox.max.z, in draw_aabb() 192 bbox.min.x, bbox.max.y, bbox.max.z, in draw_aabb() 193 bbox.min.x, bbox.min.y, bbox.max.z, in draw_aabb() [all …]
|
/dports/graphics/geomview/geomview-1.9.5/src/lib/gprim/bbox/ |
H A D | bboxcreate.c | 107 BBox *bbox; in BBoxCreate() local 119 bbox = exist; in BBoxCreate() 177 HPtNDelete(bbox->min); in BBoxCreate() 178 HPtNDelete(bbox->max); in BBoxCreate() 179 HPtNDelete(bbox->center); in BBoxCreate() 206 bbox->min->v = OOGLRenewNE(HPtNCoord, bbox->min->v, pdim, in BBoxCreate() 211 bbox->max->v = OOGLRenewNE(HPtNCoord, bbox->max->v, pdim, in BBoxCreate() 233 bbox->pdim = pdim; in BBoxCreate() 234 bbox->center = BBoxCenterND(bbox, bbox->center); in BBoxCreate() 241 return bbox; in BBoxCreate() [all …]
|
H A D | bboxtransform.c | 39 HPtNCoord c = bbox->min->v[0] != 1.0 ? bbox->min->v[0] : 1.0; in BBoxTransformN() 40 HPtNCoord C = bbox->max->v[0] != 1.0 ? bbox->max->v[0] : 1.0; in BBoxTransformN() 47 return bbox; in BBoxTransformN() 70 if (p->v[j] < bbox->min->v[j]) bbox->min->v[j] = p->v[j]; in BBoxTransformN() 71 else if (p->v[j] > bbox->max->v[j]) bbox->max->v[j] = p->v[j]; in BBoxTransformN() 75 return bbox; in BBoxTransformN() 82 HPtNCoord c = bbox->min->v[0] != 1.0 ? bbox->min->v[0] : 1.0; in BBoxTransform() 83 HPtNCoord C = bbox->max->v[0] != 1.0 ? bbox->max->v[0] : 1.0; in BBoxTransform() 86 return bbox; in BBoxTransform() 116 if (p->v[j] < bbox->min->v[j]) bbox->min->v[j] = p->v[j]; in BBoxTransform() [all …]
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/math/intersection/ |
H A D | aabbtriangle.h | 150 if (y < bbox.min[1] || y > bbox.max[1]) in check_edge_face() 153 if (z < bbox.min[2] || z > bbox.max[2]) in check_edge_face() 160 if (x < bbox.min[0] || x > bbox.max[0]) in check_edge_face() 198 case 0: p = Vector<T, 3>(bbox.min[0], bbox.min[1], bbox.min[2]); break; in find_extrema_corners() 199 case 1: p = Vector<T, 3>(bbox.min[0], bbox.min[1], bbox.max[2]); break; in find_extrema_corners() 200 case 2: p = Vector<T, 3>(bbox.min[0], bbox.max[1], bbox.min[2]); break; in find_extrema_corners() 201 case 3: p = Vector<T, 3>(bbox.min[0], bbox.max[1], bbox.max[2]); break; in find_extrema_corners() 202 case 4: p = Vector<T, 3>(bbox.max[0], bbox.min[1], bbox.min[2]); break; in find_extrema_corners() 203 case 5: p = Vector<T, 3>(bbox.max[0], bbox.min[1], bbox.max[2]); break; in find_extrema_corners() 204 case 6: p = Vector<T, 3>(bbox.max[0], bbox.max[1], bbox.min[2]); break; in find_extrema_corners() [all …]
|
/dports/misc/py-gluoncv/gluon-cv-0.9.0/gluoncv/data/transforms/ |
H A D | bbox.py | 31 bbox = bbox.copy() 51 centers = (bbox[:, :2] + bbox[:, 2:4]) / 2 55 bbox[:, :2] = np.maximum(bbox[:, :2], crop_bbox[:2]) 61 bbox = bbox[mask] 90 bbox = bbox.copy() 129 bbox = bbox.copy().astype(float) 132 bbox[:, 1] = y_scale * bbox[:, 1] 133 bbox[:, 3] = y_scale * bbox[:, 3] 134 bbox[:, 0] = x_scale * bbox[:, 0] 135 bbox[:, 2] = x_scale * bbox[:, 2] [all …]
|
/dports/misc/openvdb/openvdb-9.0.0/openvdb/openvdb/tools/ |
H A D | FindActiveValues.h | 284 if (tile.bbox.hasOverlap(bbox)) return true; in anyActiveValues() 317 if (tile.bbox.hasOverlap(bbox)) return true; in anyActiveTiles() 336 if (!tile.bbox.hasOverlap(bbox)) { in count() 338 } else if (tile.bbox.isInside(bbox)) { in count() 340 } else if (bbox.isInside(tile.bbox)) { in count() 349 if ( !node.bbox.hasOverlap(bbox) ) { in count() 351 } else if ( node.bbox.isInside(bbox) ) { in count() 366 if (!tile.bbox.hasOverlap(bbox)) { in activeTiles() 380 if ( !node.bbox.hasOverlap(bbox) ) { in activeTiles() 576 tiles.back().bbox.intersect(bbox); in activeTiles() [all …]
|
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/Plugins/PCA/ |
H A D | Create_bbox_mesh_plugin.cpp | 40 if(!bbox()) in createBbox() 50 if(!bbox(true)) in createExtendedBbox() 94 bbox = bbox + item->bbox(); in bbox() 96 bbox = item->bbox(); in bbox() 101 std::cerr << "bbox dimensions: " << bbox.xmax() - bbox.xmin() in bbox() 107 const double delta_x = ( bbox.xmax() - bbox.xmin() ) / 20.; in bbox() 108 const double delta_y = ( bbox.ymax() - bbox.ymin() ) / 20.; in bbox() 109 const double delta_z = ( bbox.zmax() - bbox.zmin() ) / 20.; in bbox() 119 if((bbox.min)(0) > (bbox.max)(0) || in bbox() 120 (bbox.min)(1) > (bbox.max)(1) || in bbox() [all …]
|
/dports/astro/opencpn/OpenCPN-5.2.4/libs/wxsvg/src/ |
H A D | SVGLocatable.cpp | 62 wxSVGRect bbox; in GetChildrenBBox() local 70 bbox = childBBox; in GetChildrenBBox() 75 bbox.SetWidth(bbox.GetWidth() + bbox.GetX() - childBBox.GetX()); in GetChildrenBBox() 79 bbox.SetHeight(bbox.GetHeight() + bbox.GetY() - childBBox.GetY()); in GetChildrenBBox() 83 bbox.SetWidth(childBBox.GetX() + childBBox.GetWidth() - bbox.GetX()); in GetChildrenBBox() 87 return bbox; in GetChildrenBBox() 91 wxSVGRect bbox; in GetChildrenResultBBox() local 100 bbox = childBBox; in GetChildrenResultBBox() 105 bbox.SetWidth(bbox.GetWidth() + bbox.GetX() - childBBox.GetX()); in GetChildrenResultBBox() 109 bbox.SetHeight(bbox.GetHeight() + bbox.GetY() - childBBox.GetY()); in GetChildrenResultBBox() [all …]
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/common/trop/ |
H A D | bbox.cpp | 33 bbox.y0 = y; in computeBBox() 40 bbox.y1 = y; in computeBBox() 41 assert(bbox.y0 <= bbox.y1); in computeBBox() 42 bbox.x0 = lx; in computeBBox() 43 bbox.x1 = -1; in computeBBox() 44 for (y = bbox.y0; y <= bbox.y1; y++) { in computeBBox() 49 bbox.x0 = x; in computeBBox() 54 assert(bbox.x0 <= bbox.x1); in computeBBox() 167 assert(bbox.y0 <= bbox.y1); in computeBBoxCM32() 170 for (y = bbox.y0; y <= bbox.y1; y++) { in computeBBoxCM32() [all …]
|
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/draw/tests/ |
H A D | test_random_shapes.py | 57 label, bbox = labels[0] 60 crop = image[bbox[0][0]:bbox[0][1], bbox[1][0]:bbox[1][1]] 66 image[bbox[0][0]:bbox[0][1], bbox[1][0]:bbox[1][1]] = 255 80 crop = image[bbox[0][0]:bbox[0][1], bbox[1][0]:bbox[1][1]] 86 image[bbox[0][0]:bbox[0][1], bbox[1][0]:bbox[1][1]] = 255 102 crop = image[bbox[0][0]:bbox[0][1], bbox[1][0]:bbox[1][1]] 108 image[bbox[0][0]:bbox[0][1], bbox[1][0]:bbox[1][1]] = 255 124 crop = image[bbox[0][0]:bbox[0][1], bbox[1][0]:bbox[1][1]] 130 image[bbox[0][0]:bbox[0][1], bbox[1][0]:bbox[1][1]] = 255 160 _, bbox = labels[0] [all …]
|
/dports/graphics/gscan2pdf/gscan2pdf-2.12.4/lib/Gscan2pdf/ |
H A D | Bboxtree.pm | 53 my ( $x1, $y1, $x2, $y2 ) = @{ $bbox->{bbox} }; 310 if ( $type eq 'page' ) { $h = $bbox->{bbox}[-1] } 311 my ( $x1, $y1, $x2, $y2 ) = @{ $bbox->{bbox} }; 336 if ( $bbox->{type} eq 'page' ) { $h = $bbox->{bbox}[-1] } 338 my ( $x1, $y1, $x2, $y2 ) = @{ $bbox->{bbox} }; 404 if ( defined $bbox->{text} ) { $string .= $bbox->{text} . $SPACE } 418 my %bbox; 423 $bbox{bbox} = [ $3, $h - $6, $5, $h - $4 ]; 583 my ( $x1, $y1, $x2, $y2 ) = @{ $bbox->{bbox} }; 600 if ( defined $bbox->{id} ) { $string .= " id='$bbox->{id}'" } [all …]
|