/dports/graphics/colmap/colmap-3.6/src/base/ |
H A D | line_test.cc | 46 const auto line_segments = DetectLineSegments(bitmap, 0); in BOOST_AUTO_TEST_CASE() local 48 BOOST_CHECK_EQUAL(line_segments.size(), 2); in BOOST_AUTO_TEST_CASE() 52 BOOST_CHECK_LT((line_segments[0].start - ref_start).norm(), 5); in BOOST_AUTO_TEST_CASE() 53 BOOST_CHECK_LT((line_segments[0].end - ref_end).norm(), 5); in BOOST_AUTO_TEST_CASE() 54 BOOST_CHECK_LT((line_segments[1].start - ref_end).norm(), 5); in BOOST_AUTO_TEST_CASE() 55 BOOST_CHECK_LT((line_segments[1].end - ref_start).norm(), 5); in BOOST_AUTO_TEST_CASE() 69 const auto line_segments = DetectLineSegments(bitmap, 0); in BOOST_AUTO_TEST_CASE() local 70 BOOST_CHECK_EQUAL(line_segments.size(), 6); in BOOST_AUTO_TEST_CASE() 72 const auto orientations = ClassifyLineSegmentOrientations(line_segments); in BOOST_AUTO_TEST_CASE()
|
/dports/math/py-matplotlib/matplotlib-3.4.3/examples/shapes_and_collections/ |
H A D | line_collection.py | 47 line_segments = LineCollection(segs, linewidths=(0.5, 1, 1.5, 2), variable 49 ax.add_collection(line_segments) 76 line_segments = LineCollection([np.column_stack([x, y]) for y in ys], variable 79 line_segments.set_array(x) 80 ax.add_collection(line_segments) 81 axcb = fig.colorbar(line_segments) 84 plt.sci(line_segments) # This allows interactive changing of the colormap.
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/examples/shapes_and_collections/ |
H A D | line_collection.py | 46 line_segments = LineCollection(segs, linewidths=(0.5, 1, 1.5, 2), variable 48 ax.add_collection(line_segments) 75 line_segments = LineCollection([np.column_stack([x, y]) for y in ys], variable 78 line_segments.set_array(x) 79 ax.add_collection(line_segments) 80 axcb = fig.colorbar(line_segments) 83 plt.sci(line_segments) # This allows interactive changing of the colormap.
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/lib/mpl_examples/shapes_and_collections/ |
H A D | line_collection.py | 46 line_segments = LineCollection(segs, linewidths=(0.5, 1, 1.5, 2), variable 48 ax.add_collection(line_segments) 75 line_segments = LineCollection([np.column_stack([x, y]) for y in ys], variable 78 line_segments.set_array(x) 79 ax.add_collection(line_segments) 80 axcb = fig.colorbar(line_segments) 83 plt.sci(line_segments) # This allows interactive changing of the colormap.
|
/dports/science/molscript/MolScript-280abee/code/ |
H A D | segment.c | 17 line_segment *line_segments = NULL; variable 38 if (line_segments == NULL) { in line_segment_init() 40 line_segments = malloc (line_segment_alloc * sizeof (line_segment)); in line_segment_init() 54 line_segments = realloc (line_segments, in line_segment_next() 57 new = &(line_segments[line_segment_count++]); in line_segment_next()
|
H A D | raster3d.c | 735 ls1 = line_segments + slot - 1; in r3d_line() 736 ls2 = line_segments + slot; in r3d_line() 744 ls1 = line_segments + slot; in r3d_line() 745 ls2 = line_segments + slot + 1; in r3d_line() 752 convert_colour (&(line_segments[0].c)); in r3d_line() 756 ls1 = line_segments + slot - 1; in r3d_line() 757 ls2 = line_segments + slot; in r3d_line() 764 ls1 = line_segments + slot; in r3d_line() 765 ls2 = line_segments + slot + 1; in r3d_line()
|
H A D | segment.h | 23 extern line_segment *line_segments;
|
H A D | vrml.c | 1318 output_appearance (TRUE, &(line_segments[0].c)); in vrml_line() 1326 vrml_v3 (&(line_segments[slot].p)); in vrml_line() 1335 if (line_segments[slot].new) vrml_i (-1); in vrml_line() 1357 if (line_segments[slot].new) { in vrml_line() 1358 colour_cache_add (&(line_segments[slot].c)); in vrml_line() 1363 colour_cache_add (&(line_segments[slot].c)); in vrml_line() 1375 if (line_segments[slot].new) { in vrml_line() 1376 vrml_i (colour_cache_index (&(line_segments[slot].c))); in vrml_line() 1381 vrml_i (colour_cache_index (&(line_segments[slot].c))); in vrml_line()
|
H A D | opengl.c | 1453 set_colour_property (&(line_segments[0].c)); in ogl_line() 1454 glVertex3d (line_segments->p.x, line_segments->p.y, line_segments->p.z); in ogl_line() 1456 ls = line_segments + slot; in ogl_line() 1469 set_colour_property (&(line_segments[0].c)); in ogl_line() 1471 ls = line_segments + slot; in ogl_line() 1482 set_colour_property (&(line_segments[0].c)); in ogl_line() 1487 glVertex3d (line_segments->p.x, line_segments->p.y, line_segments->p.z); in ogl_line() 1489 ls = line_segments + slot; in ogl_line() 1502 ls = line_segments + slot; in ogl_line()
|
H A D | postscript.c | 1499 prev = &(line_segments[0].p); in ps_line() 1500 col = &(line_segments[0].c); in ps_line() 1503 ls = line_segments + slot; in ps_line() 1513 ls = line_segments + slot; in ps_line() 1526 prev = &(line_segments->p); in ps_line() 1529 ls = line_segments + slot; in ps_line() 1538 prev = &(line_segments[slot].p); in ps_line() 1539 curr = &(line_segments[slot+1].p); in ps_line()
|
/dports/graphics/colmap/colmap-3.6/src/estimators/ |
H A D | coordinate_frame.cc | 57 static std::vector<M_t> Estimate(const std::vector<X_t>& line_segments, in Estimate() 59 CHECK_EQ(line_segments.size(), 2); in Estimate() 66 static void Residuals(const std::vector<X_t>& line_segments, in Residuals() 70 residuals->resize(line_segments.size()); in Residuals() 81 (0.5 * (line_segments[i].start + line_segments[i].end)).homogeneous(); in Residuals() 84 connecting_line.dot(line_segments[i].end.homogeneous()) / in Residuals() 187 const std::vector<LineSegment> line_segments = in EstimateManhattanWorldFrame() local 190 ClassifyLineSegmentOrientations(line_segments, in EstimateManhattanWorldFrame() 193 std::cout << StringPrintf(" %d", line_segments.size()); in EstimateManhattanWorldFrame() 199 for (size_t i = 0; i < line_segments.size(); ++i) { in EstimateManhattanWorldFrame() [all …]
|
/dports/devel/git-delta/delta-0.9.2/src/ |
H A D | wrapping.rs | 77 line_segments: LineSegments<'a, S>, in wrap_line() field 83 line_segments: vec![(S::default(), LINEPREFIX)], in wrap_line() 88 self.line_segments.push(text); in wrap_line() 107 line_segments: Vec::new(), in wrap_line() 179 let mut line_segments = curr_line.line_segments; in wrap_line() localVariable 186 line_segments.push((style, this_line)); in wrap_line() 191 line_segments.push((symbol_style, &wrap_config.left_symbol)); in wrap_line() 192 result.push(line_segments); in wrap_line() 232 right_aligned_line.extend(curr_line.line_segments.into_iter().skip(1)); in wrap_line() 234 curr_line.line_segments = right_aligned_line; in wrap_line() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libvpx/source/libvpx/tools/non_greedy_mv/ |
H A D | non_greedy_mv.py | 24 line_segments = LineCollection( 26 axis.add_collection(line_segments) 48 line_segments = LineCollection( 50 axis.add_collection(line_segments)
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libvpx/tools/non_greedy_mv/ |
H A D | non_greedy_mv.py | 15 line_segments = LineCollection( 17 axis.add_collection(line_segments) 39 line_segments = LineCollection( 41 axis.add_collection(line_segments)
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/libvpx/source/libvpx/tools/non_greedy_mv/ |
H A D | non_greedy_mv.py | 24 line_segments = LineCollection( 26 axis.add_collection(line_segments) 48 line_segments = LineCollection( 50 axis.add_collection(line_segments)
|
/dports/multimedia/libvpx/libvpx-1.11.0/tools/non_greedy_mv/ |
H A D | non_greedy_mv.py | 24 line_segments = LineCollection( 26 axis.add_collection(line_segments) 48 line_segments = LineCollection( 50 axis.add_collection(line_segments)
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libvpx/source/libvpx/tools/non_greedy_mv/ |
H A D | non_greedy_mv.py | 24 line_segments = LineCollection( 26 axis.add_collection(line_segments) 48 line_segments = LineCollection( 50 axis.add_collection(line_segments)
|
/dports/science/py-scipy/scipy-1.7.1/scipy/spatial/ |
H A D | _plotutils.py | 142 line_segments = [hull.points[simplex] for simplex in hull.simplices] 143 ax.add_collection(LineCollection(line_segments,
|
/dports/devel/py-trimesh/trimesh-3.5.25/trimesh/ |
H A D | intersections.py | 115 line_segments=False) 139 line_segments=False) 287 line_segments=True): argument 324 if line_segments:
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/lib/matplotlib/tests/ |
H A D | test_collections.py | 657 line_segments = LineCollection(segs, linewidth=[10, 15, 20]) 658 line_segments.set_capstyle("round") 659 line_segments.set_joinstyle("miter") 661 ax.add_collection(line_segments)
|
/dports/science/py-libpysal/libpysal-4.5.1/libpysal/cg/ops/tests/ |
H A D | test_accessors.py | 339 line_segments = to_test.segments(self.lines) 340 flattened = [l[0] for l in line_segments]
|
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/render/ |
H A D | linetypes.py | 44 def line_segments( member in LineTypeRenderer
|
/dports/cad/sumo/sumo-1.2.0/tools/sumolib/visualization/ |
H A D | helpers.py | 202 line_segments = LineCollection(shapes, linewidths=w, colors=c) 204 ax.add_collection(line_segments)
|
/dports/math/py-matplotlib/matplotlib-3.4.3/lib/matplotlib/tests/ |
H A D | test_collections.py | 559 line_segments = LineCollection(segs, linewidth=[10, 15, 20]) 560 line_segments.set_capstyle("round") 561 line_segments.set_joinstyle("miter") 563 ax.add_collection(line_segments)
|
/dports/www/elgg/elgg-3.3.23/vendor/css-crush/css-crush/lib/CssCrush/ |
H A D | Process.php | 975 $line_segments = array(); 985 $line_segments[] = 999 $mappings[] = implode(',', $line_segments);
|