<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>onsanai</author_name>
  <author_url>https://blog.hatena.ne.jp/onsanai/</author_url>
  <blog_title>物理の駅 Physics station by 現役研究者</blog_title>
  <blog_url>https://phst.hateblo.jp/</blog_url>
  <categories>
    <anon>C/C++</anon>
    <anon>OpenCV</anon>
  </categories>
  <description>点列を表すのにOpenCVの cv::Point2f を使ったが、OpenCVライブラリは使ってないので適宜置き換えて欲しい。 最後から1つめと、最後の点との距離はlengthではない。 std::vector&lt;cv::Point2f&gt; cell_length(const std::vector&lt;cv::Point2f&gt;&amp; points, double length) { assert(points.size() &gt;= 2); std::vector&lt;cv::Point2f&gt; cell_points; cell_points.emplace_back(points.front()); std:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphst.hateblo.jp%2Fentry%2F2019%2F12%2F16%2F144153&quot; title=&quot;点列で表された道のりを、ある長さごとに区切るアルゴリズム C++ - 物理の駅 Physics station by 現役研究者&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-16 14:41:53</published>
  <title>点列で表された道のりを、ある長さごとに区切るアルゴリズム C++</title>
  <type>rich</type>
  <url>https://phst.hateblo.jp/entry/2019/12/16/144153</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
