TPCCLIB
Loading...
Searching...
No Matches
ELLIPSE Struct Reference

Ellipse on two dimensional plane. More...

#include <libtpcrec.h>

Data Fields

char status
 ellipse status.
float semiaxis [2]
float center [2]
float inclination
 Inclination (degrees).
int imageDim
 Size of the image plane on which the ellipse is defined.
int ** ellipseptr
float value
 Value inside the ellipse.

Detailed Description

Ellipse on two dimensional plane.

Ellipse is defined on an n x n image grid by the centre coordinate and the length of the semiaxis.

Definition at line 37 of file libtpcrec.h.

Field Documentation

◆ center

float ELLIPSE::center[2]

Center of the ellipse. center[0]=x-coordinate, center[1]=y-coordinate in cartesian coordinate system.

Definition at line 46 of file libtpcrec.h.

Referenced by ellipseEmpty(), ellipseGetCenterX(), ellipseGetCenterY(), ellipseInfo(), ellipseInit(), ellipseSaveEllipse(), and ellipseSetFromParams().

◆ ellipseptr

int** ELLIPSE::ellipseptr

Ellipse array containing n x n entries. Single entry is one if it is inside the ellipse and zero otherwise. Coordinates on a two dimensional plane are numbered from left to right and from top to bottom (not cartesian).

Definition at line 55 of file libtpcrec.h.

Referenced by ellipseAllocate(), ellipseEmpty(), ellipseGetArray(), ellipseInit(), ellipseIsInside(), and ellipseSetFromParams().

◆ imageDim

int ELLIPSE::imageDim

Size of the image plane on which the ellipse is defined.

Definition at line 50 of file libtpcrec.h.

Referenced by ellipseEmpty(), ellipseGetImgSize(), ellipseInfo(), ellipseInit(), ellipseSaveEllipse(), and ellipseSetFromParams().

◆ inclination

float ELLIPSE::inclination

Inclination (degrees).

Definition at line 48 of file libtpcrec.h.

Referenced by ellipseEmpty(), ellipseGetInclination(), ellipseInfo(), ellipseInit(), ellipseSaveEllipse(), and ellipseSetFromParams().

◆ semiaxis

float ELLIPSE::semiaxis[2]

Semiaxis of the ellipse. semiaxis[0]=major semiaxe, semiaxis[1]=minor semiaxe.

Definition at line 43 of file libtpcrec.h.

Referenced by ellipseEmpty(), ellipseGetMajor(), ellipseGetMinor(), ellipseInfo(), ellipseInit(), ellipseSaveEllipse(), and ellipseSetFromParams().

◆ status

◆ value

float ELLIPSE::value

Value inside the ellipse.

Definition at line 57 of file libtpcrec.h.

Referenced by ellipseEmpty(), ellipseGetValue(), ellipseInfo(), ellipseInit(), ellipseSaveEllipse(), and ellipseSetFromParams().


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