Home
last modified time | relevance | path

Searched refs:hulls (Results 1 – 25 of 614) sorted by relevance

12345678910>>...25

/dports/games/quakeforge/quakeforge-0.7.2/libs/models/
H A Dclip_hull.c54 ch->hulls[0] = (hull_t *) &ch[1]; in MOD_Alloc_Hull()
56 ch->hulls[i] = &ch->hulls[i - 1][1]; in MOD_Alloc_Hull()
57 ch->hulls[0]->clipnodes = (mclipnode_t *) &ch->hulls[i - 1][1]; in MOD_Alloc_Hull()
58 ch->hulls[0]->planes = (plane_t *) &ch->hulls[0]->clipnodes[nodes]; in MOD_Alloc_Hull()
60 ch->hulls[i]->clipnodes = in MOD_Alloc_Hull()
61 (mclipnode_t *) &ch->hulls[i - 1]->planes[planes]; in MOD_Alloc_Hull()
62 ch->hulls[i]->planes = (plane_t *) &ch->hulls[i]->clipnodes[nodes]; in MOD_Alloc_Hull()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/samplecode/
H A DSampleHairCurves.cpp30 SkPath hulls; in onDrawContent() local
44 hulls.moveTo(pts[0], pts[1]); in onDrawContent()
45 hulls.lineTo(pts[2], pts[3]); in onDrawContent()
46 hulls.lineTo(pts[4], pts[5]); in onDrawContent()
47 hulls.lineTo(pts[6], pts[7]); in onDrawContent()
64 hulls.moveTo(pts[0], pts[1]); in onDrawContent()
65 hulls.lineTo(pts[2], pts[3]); in onDrawContent()
66 hulls.lineTo(pts[4], pts[5]); in onDrawContent()
85 hulls.moveTo(pts[0], pts[1]); in onDrawContent()
86 hulls.lineTo(pts[2], pts[3]); in onDrawContent()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/samplecode/
H A DSampleHairCurves.cpp30 SkPath hulls; in onDrawContent() local
44 hulls.moveTo(pts[0], pts[1]); in onDrawContent()
45 hulls.lineTo(pts[2], pts[3]); in onDrawContent()
46 hulls.lineTo(pts[4], pts[5]); in onDrawContent()
47 hulls.lineTo(pts[6], pts[7]); in onDrawContent()
64 hulls.moveTo(pts[0], pts[1]); in onDrawContent()
65 hulls.lineTo(pts[2], pts[3]); in onDrawContent()
66 hulls.lineTo(pts[4], pts[5]); in onDrawContent()
85 hulls.moveTo(pts[0], pts[1]); in onDrawContent()
86 hulls.lineTo(pts[2], pts[3]); in onDrawContent()
[all …]
/dports/games/zhlt/zhlt-3.4/hlcsg/
H A Dbrush.cpp306 hull = &brush->hulls[hullnum]; in ExpandBrush()
484 VectorAdd(brush->hulls[0].bounds.m_Mins, g_hull_size[hullnum][0], origin); in ExpandBrush()
607 h = &ex->b->hulls[ex->hullnum]; in AddBrushPlane()
647 brush_faces = b->hulls[0].faces; in ExpandBrush()
648 h = &b->hulls[hullnum]; in ExpandBrush()
844 for (f = b->hulls[0].faces; f; f = f->next) in MakeBrushPlanes()
858 f->next = b->hulls[0].faces; in MakeBrushPlanes()
859 b->hulls[0].faces = f; in MakeBrushPlanes()
1093 MakeHullFaces(b, &b->hulls[0]); in CreateBrush()
1117 MakeHullFaces(b, &b->hulls[h]); in CreateBrush()
[all …]
H A Dmap.cpp88 newbrush->hulls[j].faces = NULL; in CopySKYtoCLIP()
89 newbrush->hulls[j].bounds = b->hulls[j].bounds; in CopySKYtoCLIP()
367 b->hulls[i].faces = NULL; in ParseBrush()
372 VectorAdd(b->hulls[0].bounds.m_Mins, b->hulls[0].bounds.m_Maxs, origin); in ParseBrush()
518 brushhull_t* hull = g_mapbrushes[mapent->firstbrush].hulls; in ParseMapEntity()
/dports/games/quakeforge/quakeforge-0.7.2/libs/models/test/
H A DMakefile.am6 EXTRA_DIST= trace-id.c trace-qf-bad.c hulls.h main.c
12 testclip_SOURCES= testclip.c hulls.c
16 testcontents_SOURCES= testcontents.c hulls.c
20 testportals_SOURCES= testportals.c hulls.c
/dports/biology/py-orange3-bioinformatics/Orange3-Bioinformatics-4.3.1/orangecontrib/bioinformatics/tests/annotation/
H A Dtest_annotate_projection.py130 hulls = compute_concave_hulls(data, clusters, epsilon=0.5)
132 self.assertEqual(3, len(hulls))
133 self.assertEqual(2, hulls["1"].shape[1]) # hull have x and y
134 self.assertEqual(2, hulls["2"].shape[1]) # hull have x and y
135 self.assertEqual(2, hulls["3"].shape[1]) # hull have x and y
150 hulls = compute_concave_hulls(data, clusters, epsilon=0.5)
152 self.assertEqual(3, len(hulls))
153 self.assertEqual(2, hulls["1"].shape[1]) # hull have x and y
154 self.assertEqual(2, hulls["2"].shape[1]) # hull have x and y
165 hulls = compute_concave_hulls(data, clusters, epsilon=0.5)
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/tests/
H A Dconvex-hull-test.cpp69 : null(hulls[0]) in ConvexHullTest()
70 , point(hulls[1]) in ConvexHullTest()
71 , line(hulls[2]) in ConvexHullTest()
72 , triangle(hulls[3]) in ConvexHullTest()
73 , square(hulls[4]) in ConvexHullTest()
74 , hexagon(hulls[5]) in ConvexHullTest()
75 , antihexagon(hulls[6]) in ConvexHullTest()
76 , gem(hulls[7]) in ConvexHullTest()
77 , diamond(hulls[8]) in ConvexHullTest()
126 ConvexHull hulls[9]; member in ConvexHullTest
/dports/math/lib2geom/lib2geom-1.1/tests/
H A Dconvex-hull-test.cpp69 : null(hulls[0]) in ConvexHullTest()
70 , point(hulls[1]) in ConvexHullTest()
71 , line(hulls[2]) in ConvexHullTest()
72 , triangle(hulls[3]) in ConvexHullTest()
73 , square(hulls[4]) in ConvexHullTest()
74 , hexagon(hulls[5]) in ConvexHullTest()
75 , antihexagon(hulls[6]) in ConvexHullTest()
76 , gem(hulls[7]) in ConvexHullTest()
77 , diamond(hulls[8]) in ConvexHullTest()
126 ConvexHull hulls[9]; member in ConvexHullTest
/dports/math/R-cran-geometry/geometry/man/
H A Dfeasible.point.Rd5 \title{Find point in intersection of convex hulls}
15 of both convex hulls}
19 hulls. If such a point does not exist, return \code{NA}. The
H A Dintersectn.Rd16 within the convex hulls of both points and to round off the
20 \item{return.chs}{If \code{TRUE} (default) return the convex hulls
28 in the hulls of \code{ps1} and \code{ps2}. The feasible point is
45 the intersection points of convex hulls \code{ch1} and
/dports/games/mvdsv/mvdsv-0.34/src/
H A Dpmovetst.c63 hull_t *hull = &pmove.physents[0].model->hulls[0]; in PM_PointContents()
89 hull = &pmove.physents[i].model->hulls[0]; in PM_PointContents_AllBSPs()
119 hull = &pmove.physents[i].model->hulls[1]; in PM_TestPlayerPosition()
168 hull = &pmove.physents[i].model->hulls[1]; in PM_PlayerTrace()
237 hull = (pe->model) ? (&pmove.physents[i].model->hulls[0]) : (CM_HullForBox(pe->mins, pe->maxs)); in PM_TraceLine()
H A Dcmodel.c651 out->hulls[j].planes = map_planes; in CM_LoadSubmodels()
652 out->hulls[j].clipnodes = map_clipnodes; in CM_LoadSubmodels()
654 out->hulls[j].lastclipnode = numclipnodes - 1; in CM_LoadSubmodels()
657 VectorClear (out->hulls[0].clip_mins); in CM_LoadSubmodels()
658 VectorClear (out->hulls[0].clip_maxs); in CM_LoadSubmodels()
663 VectorSet (out->hulls[1].clip_maxs, 16, 16, 36); in CM_LoadSubmodels()
666 VectorSet (out->hulls[2].clip_maxs, 32, 32, 36); in CM_LoadSubmodels()
669 VectorSet (out->hulls[3].clip_maxs, 16, 16, 18); in CM_LoadSubmodels()
674 VectorSet (out->hulls[1].clip_maxs, 16, 16, 32); in CM_LoadSubmodels()
677 VectorSet (out->hulls[2].clip_maxs, 32, 32, 64); in CM_LoadSubmodels()
[all …]
/dports/games/qwdtools/mvdsv-0.34/src/
H A Dpmovetst.c63 hull_t *hull = &pmove.physents[0].model->hulls[0]; in PM_PointContents()
89 hull = &pmove.physents[i].model->hulls[0]; in PM_PointContents_AllBSPs()
119 hull = &pmove.physents[i].model->hulls[1]; in PM_TestPlayerPosition()
168 hull = &pmove.physents[i].model->hulls[1]; in PM_PlayerTrace()
237 hull = (pe->model) ? (&pmove.physents[i].model->hulls[0]) : (CM_HullForBox(pe->mins, pe->maxs)); in PM_TraceLine()
H A Dcmodel.c651 out->hulls[j].planes = map_planes; in CM_LoadSubmodels()
652 out->hulls[j].clipnodes = map_clipnodes; in CM_LoadSubmodels()
654 out->hulls[j].lastclipnode = numclipnodes - 1; in CM_LoadSubmodels()
657 VectorClear (out->hulls[0].clip_mins); in CM_LoadSubmodels()
658 VectorClear (out->hulls[0].clip_maxs); in CM_LoadSubmodels()
663 VectorSet (out->hulls[1].clip_maxs, 16, 16, 36); in CM_LoadSubmodels()
666 VectorSet (out->hulls[2].clip_maxs, 32, 32, 36); in CM_LoadSubmodels()
669 VectorSet (out->hulls[3].clip_maxs, 16, 16, 18); in CM_LoadSubmodels()
674 VectorSet (out->hulls[1].clip_maxs, 16, 16, 32); in CM_LoadSubmodels()
677 VectorSet (out->hulls[2].clip_maxs, 32, 32, 64); in CM_LoadSubmodels()
[all …]
/dports/science/chrono/chrono-7.0.1/src/chrono_vehicle/
H A DChSubsysDefs.cpp125 std::vector<std::vector<ChVector<>>> hulls; in AddCollisionShapes() local
126 utils::LoadConvexHulls(vehicle::GetDataFile(hulls_group.m_filename), mesh, hulls); in AddCollisionShapes()
127 for (int c = 0; c < hulls.size(); c++) { in AddCollisionShapes()
128 body->GetCollisionModel()->AddConvexHull(m_materials[hulls_group.m_matID], hulls[c]); in AddCollisionShapes()
/dports/graphics/opencv/opencv-4.5.3/samples/python/
H A Dmser.py43 hulls = [cv.convexHull(p.reshape(-1, 1, 2)) for p in regions]
44 cv.polylines(vis, hulls, 1, (0, 255, 0))
/dports/misc/elki/elki-release0.7.1-1166-gfb1fffdf3/addons/batikvis/src/main/java/de/lmu/ifi/dbs/elki/visualization/visualizers/scatterplot/cluster/
H A DClusterHullVisualization.java247 …ly(Cluster<Model> clu, Hierarchy<Cluster<Model>> hier, Map<Object, DoubleObjPair<Polygon>> hulls) { in buildHullsRecursively() argument
270 if(hier != null && hulls != null) { in buildHullsRecursively()
275 DoubleObjPair<Polygon> poly = hulls.get(iclu); in buildHullsRecursively()
277 poly = buildHullsRecursively(iclu, hier, hulls); in buildHullsRecursively()
285 DoubleObjPair<Polygon> ipoly = hulls.get(iclu.getModel()); in buildHullsRecursively()
298 hulls.put(clu, pair); in buildHullsRecursively()
300 hulls.put(model, new DoubleObjPair<>(cweight, hull2.getHull())); in buildHullsRecursively()
/dports/math/py-pyhull/pyhull-2015.2.1/
H A DREADME.rst24 convex hulls. However, the version of scipy at that time (scipy 0.11.0)
28 scipy now supports the direct computation of convex hulls and is in fact
29 ~50% faster than pyhull for larger hulls. I will still make pyhull
31 and not everyone wants to install such a large package for computing hulls.
/dports/biology/py-orange3-bioinformatics/Orange3-Bioinformatics-4.3.1/orangecontrib/bioinformatics/annotation/
H A Dannotate_projection.py412 hulls = {}
445 hulls[cl] = np.array(solution).reshape(-1, 2)
446 return hulls
535 def cluster_additional_points(coordinates, hulls, cluster_attribute=None): argument
585 for cluster, hull in hulls.items():
597 DiscreteVariable("Clusters", values=sorted(list(hulls.keys())))
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexen2/server/
H A Dsv_model.c686 hull = &loadmodel->hulls[1]; in Mod_LoadClipnodes()
699 hull = &loadmodel->hulls[2]; in Mod_LoadClipnodes()
712 hull = &loadmodel->hulls[3]; in Mod_LoadClipnodes()
725 hull = &loadmodel->hulls[4]; in Mod_LoadClipnodes()
747 hull = &loadmodel->hulls[5]; in Mod_LoadClipnodes()
792 hull = &loadmodel->hulls[0]; in Mod_MakeHull0()
934 mod->hulls[0].firstclipnode = bm->headnode[0]; in Mod_LoadBrushModel()
937 mod->hulls[j].firstclipnode = bm->headnode[j]; in Mod_LoadBrushModel()
938 mod->hulls[j].lastclipnode = mod->numclipnodes-1; in Mod_LoadBrushModel()
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexenworld/server/
H A Dsv_model.c686 hull = &loadmodel->hulls[1]; in Mod_LoadClipnodes()
699 hull = &loadmodel->hulls[2]; in Mod_LoadClipnodes()
712 hull = &loadmodel->hulls[3]; in Mod_LoadClipnodes()
725 hull = &loadmodel->hulls[4]; in Mod_LoadClipnodes()
738 hull = &loadmodel->hulls[5]; in Mod_LoadClipnodes()
774 hull = &loadmodel->hulls[0]; in Mod_MakeHull0()
916 mod->hulls[0].firstclipnode = bm->headnode[0]; in Mod_LoadBrushModel()
919 mod->hulls[j].firstclipnode = bm->headnode[j]; in Mod_LoadBrushModel()
920 mod->hulls[j].lastclipnode = mod->numclipnodes-1; in Mod_LoadBrushModel()
H A Dworld.c147 hull = &model->hulls[idx]; in SV_HullForEntity()
151 hull = &model->hulls[0]; in SV_HullForEntity()
157 hull = &model->hulls[0]; in SV_HullForEntity()
159 hull = &model->hulls[3]; in SV_HullForEntity()
161 hull = &model->hulls[1]; in SV_HullForEntity()
163 hull = &model->hulls[5]; in SV_HullForEntity()
572 cont = SV_HullPointContents (&sv.worldmodel->hulls[0], 0, p); in SV_PointContents()
581 return SV_HullPointContents (&sv.worldmodel->hulls[0], 0, p); in SV_TruePointContents()
1051 hull = &sv.worldmodel->hulls[1];
/dports/games/libretro-tyrquake/tyrquake-e76477d/common/
H A Dworld.c180 hull = &model->hulls[index]; in SV_HullForEntity()
184 hull = &model->hulls[0]; in SV_HullForEntity()
191 hull = &model->hulls[0]; in SV_HullForEntity()
193 hull = &model->hulls[4]; in SV_HullForEntity()
195 hull = &model->hulls[1]; in SV_HullForEntity()
198 hull = &model->hulls[5]; /* Golem */ in SV_HullForEntity()
200 hull = &model->hulls[2]; in SV_HullForEntity()
668 cont = SV_HullPointContents(&sv.worldmodel->hulls[0], 0, p); in SV_PointContents()
673 return SV_HullPointContents(&sv.worldmodel->hulls[0], 0, p); in SV_PointContents()
679 return SV_HullPointContents (&sv.worldmodel->hulls[0], 0, p); in SV_TruePointContents()
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexenworld/shared/
H A Dpmovetst.c141 hull = &pmove.physents[0].model->hulls[0]; in PM_PointContents()
351 hull = &pmove.physents[i].model->hulls[3]; in PM_TestPlayerPosition()
355 hull = &pmove.physents[i].model->hulls[1]; in PM_TestPlayerPosition()
422 hull = &pmove.physents[i].model->hulls[3]; in PM_PlayerMove()
426 hull = &pmove.physents[i].model->hulls[1]; in PM_PlayerMove()

12345678910>>...25