Emgu.CV.CvInvoke.CvOctreeGetPointsWithinSphere C# (CSharp) Метод

CvOctreeGetPointsWithinSphere() приватный Метод

private CvOctreeGetPointsWithinSphere ( IntPtr tree, MCvPoint3D32f &center, float radius, IntPtr pointSeq ) : void
tree IntPtr
center MCvPoint3D32f
radius float
pointSeq IntPtr
Результат void
        internal static extern void CvOctreeGetPointsWithinSphere(IntPtr tree, ref MCvPoint3D32f center, float radius, IntPtr pointSeq);

Usage Example

Пример #1
0
 /// <summary>
 /// Get the points within the specific sphere
 /// </summary>
 /// <param name="center">The center of the sphere</param>
 /// <param name="radius">The radius of the sphere</param>
 /// <returns>The points withing the specific sphere</returns>
 public MCvPoint3D32f[] GetPointsWithinSphere(MCvPoint3D32f center, float radius)
 {
     CvInvoke.CvOctreeGetPointsWithinSphere(_ptr, ref center, radius, _pointSeq);
     return(_pointSeq.ToArray());
 }
CvInvoke