Beispiel #1
0
        /// <summary>
        /// ドロネー三角形に点を追加する (cvSubdiv2DLocate).
        /// </summary>
        /// <param name="pt">配置する点</param>
        /// <param name="edge">出力される辺.配置した点は,その辺上または端に存在する.</param>
        /// <param name="vertex">オプション出力.入力点と一致する細分割の頂点へのポインタのポインタ</param>
        /// <returns>配置する点</returns>
#else
        /// <summary>
        /// Inserts a single point to Delaunay triangulation (cvSubdiv2DLocate).
        /// </summary>
        /// <param name="pt">The point to locate. </param>
        /// <param name="edge">The output edge the point falls onto or right to. </param>
        /// <param name="vertex">Optional output vertex double pointer the input point coinsides with. </param>
        /// <returns></returns>
#endif
        public CvSubdiv2DPointLocation Locate(CvPoint2D32f pt, out CvSubdiv2DEdge edge, ref CvSubdiv2DPoint vertex)
        {
            return Cv.Subdiv2DLocate(this, pt, out edge, ref vertex);
        }
Beispiel #2
0
        /// <summary>
        /// ドロネー三角形に点を追加する (cvSubdiv2DLocate).
        /// </summary>
        /// <param name="pt">配置する点</param>
        /// <param name="edge">出力される辺.配置した点は,その辺上または端に存在する.</param>
        /// <param name="vertex">オプション出力.入力点と一致する細分割の頂点へのポインタのポインタ</param>
        /// <returns>配置する点</returns>
#else
        /// <summary>
        /// Inserts a single point to Delaunay triangulation (cvSubdiv2DLocate).
        /// </summary>
        /// <param name="pt">The point to locate. </param>
        /// <param name="edge">The output edge the point falls onto or right to. </param>
        /// <param name="vertex">Optional output vertex double pointer the input point coinsides with. </param>
        /// <returns></returns>
#endif
        public CvSubdiv2DPointLocation Locate(CvPoint2D32f pt, out CvSubdiv2DEdge edge, ref CvSubdiv2DPoint vertex)
        {
            return(Cv.Subdiv2DLocate(this, pt, out edge, ref vertex));
        }