This class contains static properties and methods specific to the EasyObject library. More...
Static Public Member Functions | |
| static bool | IsUnsignedIntegerFeature (eVision.EFeature feature) |
| Tests whether a given feature is associated with unsigned integer values. | |
| static bool | IsIntegerFeature (eVision.EFeature feature) |
| Tests whether a given feature is associated with integer values. | |
| static bool | IsFloatFeature (eVision.EFeature feature) |
| Tests whether a given feature is associated with floating-point values. | |
| static void | ContourArea (eVision.EPathVector pPathVector, ref int n32Area) |
| Computes the area of an object from its contour. | |
| static int | ContourArea (eVision.EPathVector pPathVector) |
| Computes the area of an object from its contour. | |
| static void | ContourGravityCenter (eVision.EPathVector pPathVector, ref int n32Area, ref float f32GravityCenterX, ref float f32GravityCenterY) |
| Computes the area and gravity center of an object from its contour. | |
| static void | ContourInertia (eVision.EPathVector pPathVector, ref int n32Area, ref float f32GravityCenterX, ref float f32GravityCenterY, ref float f32SigmaX, ref float f32SigmaY, ref float f32SigmaXY) |
| Computes the inertia parameters of an object from its contour. | |
| static eVision.EObjectBasicStatistics | ContourStatistics (eVision.EPathVector pPathVector) |
| Computes the basic statistics of an object from its contour. | |
This class contains static properties and methods specific to the EasyObject library.
License(s): EasyObject
|
static |
Computes the area of an object from its contour.
| pPathVector | Pointer to the source vector. |
|
static |
Computes the area of an object from its contour.
| pPathVector | Pointer to the source vector. |
| n32Area | Reference to the area to compute. |
|
static |
Computes the area and gravity center of an object from its contour.
| pPathVector | Pointer to the source vector. |
| n32Area | Reference to the area to compute. |
| f32GravityCenterX | Reference to the abscissa of the gravity center to compute. |
| f32GravityCenterY | Reference to the ordinate of the gravity center to compute. |
Use EasyObject.ContourStatistics instead.
Deprecated in version 24.6. Scheduled to be removed in version 27.6.
|
static |
Computes the inertia parameters of an object from its contour.
| pPathVector | Pointer to the source vector. |
| n32Area | Reference to the area to compute. |
| f32GravityCenterX | Reference to the abscissa of the gravity center to compute. |
| f32GravityCenterY | Reference to the ordinate of the gravity center to compute. |
| f32SigmaX | Centered moment of inertia around X. |
| f32SigmaY | Centered moment of inertia around Y. |
| f32SigmaXY | Centered cross moment of inertia. |
Use EasyObject.ContourStatistics instead.
Deprecated in version 24.6. Scheduled to be removed in version 27.6.
|
static |
Computes the basic statistics of an object from its contour.
| pPathVector | Pointer to the source vector. |
|
static |
Tests whether a given feature is associated with floating-point values.
| feature | The feature. |
Most features are floating-point. The exceptions are listed in these functions: EasyObject.IsUnsignedIntegerFeature and EasyObject.IsIntegerFeature.
|
static |
Tests whether a given feature is associated with integer values.
| feature | The feature. |
The features associated with integer values are: EFeature.EFeature_ContourX, EFeature.EFeature_ContourY, EFeature.EFeature_LeftLimit, EFeature.EFeature_RightLimit, EFeature.EFeature_TopLimit, and EFeature.EFeature_BottomLimit.
|
static |
Tests whether a given feature is associated with unsigned integer values.
| feature | The feature. |
The features associated with unsigned integer values are: EFeature.EFeature_ElementIndex, EFeature.EFeature_LayerIndex, EFeature.EFeature_RunCount, EFeature.EFeature_Area and EFeature.EFeature_LargestRun.