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::DistanceToNearestBarycenter2dMsr Class Reference

Measurement object for measure DistanceToNearestBarycenter2d. More...

#include <DistanceToNearestBarycenter2dMsr.h>

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

Public Types

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

Public Member Functions

 ~DistanceToNearestBarycenter2dMsr ()
 destructor
 

Protected Member Functions

 DistanceToNearestBarycenter2dMsr ()
 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 DistanceToNearestBarycenter2d.

Author
E.Noirfalise
Date
2018/07/23

computation of distance from shape barycenter to nearest neighbor shape barycenter for each shape

Member Function Documentation

◆ processMeasure()

ipsdk::BoolResult ipsdk::imaproc::shape::analysis::DistanceToNearestBarycenter2dMsr::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: