IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ipsdk::imaproc::shape::analysis::DistanceToNearestNeighbor2dMsr Class Reference

Measurement object for measure DistanceToNearestNeighbor2d. More...

#include <DistanceToNearestNeighbor2dMsr.h>

Inheritance diagram for ipsdk::imaproc::shape::analysis::DistanceToNearestNeighbor2dMsr:

Public Types

typedef DistanceToNearestNeighbor2dMsrInfo::MsrParamsConstStorageType MsrParamsConstStorageType
 Shared pointer to const parameter type associated to measure.
 
typedef DistanceToNearestNeighbor2dMsrInfo::MsrResultType MsrResultType
 Result type associated to measure.
 
typedef MsrResultType::ValueType MsrResultValueType
 Result value type associated to measure.
 

Public Member Functions

 ~DistanceToNearestNeighbor2dMsr ()
 destructor
 

Protected Member Functions

 DistanceToNearestNeighbor2dMsr ()
 constructor
 
ipsdk::BoolResult processMeasure (const ipsdk::ipUInt64 shapeIdx, const ipsdk::geom::StdShape2d &shape2d, MsrResultValueType &result)
 process measure associated to a given shape More...
 

Protected Attributes

MsrParamsConstStorageType _pMsrParams
 Derived parameter associated to measure.
 

Detailed Description

Measurement object for measure DistanceToNearestNeighbor2d.

Author
E.Noirfalise
Date
2017/07/04

computation of distance to nearest neighbor for each shape

Member Function Documentation

◆ processMeasure()

ipsdk::BoolResult ipsdk::imaproc::shape::analysis::DistanceToNearestNeighbor2dMsr::processMeasure ( const ipsdk::ipUInt64  shapeIdx,
const ipsdk::geom::StdShape2d &  shape2d,
MsrResultValueType result 
)
protected

process measure associated to a given shape

Parameters
shapeIdxindex of current processed shape
shape2dShape 2d object to be measured
resultmeasurement result for current shape
Returns
false in case of failure

The documentation for this class was generated from the following file: