Polimago (Polimago.dll) 15.0
TGeometrySpec Struct Reference

Description of an example's geometry as used in the TGetLearningDataExampleGeometry callback. More...

Data Fields

TGroupSpec Spec
 Defines the way the union Trans will be interpreted.
 
union { 
 
   double   Angle 
 
   TMatrix   Matrix 
 
   double   Scale 
 
   struct { 
 
      double   Angle 
 Rotation of the example.
 
      double   Scale 
 Scale value of the example.
 
   }   ScaleAngle 
 
Trans 
 Transformation specification.
 
double X
 x-component of the example position.
 
double Y
 y-component of the example position.
 

Detailed Description

Description of an example's geometry as used in the TGetLearningDataExampleGeometry callback.

Note that part of the struct is a union, the content of which will be interpreted depending on the actual value of the Spec member.

Field Documentation

◆ Angle

double Angle

Rotation of the example.

Rotation value of the example. Evaluated if the value of Spec is GS_XYAngle.

◆ Matrix

TMatrix Matrix

Affine transformation state of the example. Evaluated if the value of Spec is GS_XYMatrix.

◆ Scale

double Scale

Scale value of the example.

Scale value of the example. Evaluated if the value of Spec is GS_XYScale.

◆ [struct]

struct { ... } ScaleAngle

Combination of scale and angle of the example. Evaluated if the value of Spec is GS_XYScaleAngle.

◆ [union]

union { ... } Trans

Transformation specification.

Transformation description