Definitions for 2D and 3D point structures. More...
#include <mi32/inibase.h>#include <mi32/membuf.h>#include <mi32/math.h>

Go to the source code of this file.
Classes | |
| struct | DPOINT2D |
| 2D point using 64-bit 'double' coordinates. More... | |
| struct | DPOINT2D_OLD |
| Define simple structures for use in unions These structures must not have constructors/destructors. More... | |
| struct | DPOINT3D |
| 3D point using 64-bit 'double' coordinates. More... | |
| struct | DPOINT3D_OLD |
| struct | DPOINT3DH |
| 3D homogeneous point using 64-bit 'double' coordinates. More... | |
| struct | FPOINT2D |
| 2D point using 32-bit 'float' coordinates. More... | |
| struct | FPOINT3D |
| 3D point using 32-bit 'float' coordinates. More... | |
| struct | FPOINT3DH |
| 3D homogeneous point using 32-bit 'float' coordinates. More... | |
| struct | LPOINT2D |
| 2D point using 32-bit integer coordinates. More... | |
| struct | LPOINT3D |
| 3D point using 32-bit integer coordinates. More... | |
| struct | WPOINT2D |
| 2D point using 16-bit integer coordinates. More... | |
| struct | WPOINT3D |
| 3D point using 16-bit integer coordinates. More... | |
Enumerations | |
| enum | DIMENSION { DIMENSION_2D = 0, DIMENSION_3D = 1 } |
| enum | ORIENTATION { ORIENTATION_Unknown = 0, ORIENTATION_CounterClockwise = 1, ORIENTATION_Clockwise = 2, ORIENTATION_EmptyPolygon = 3 } |
Functions | |
| int | IniRead (INIHANDLE hdl, const char *group, const char *field, DPOINT3D &value, const DPOINT3D &dft) |
| int | IniRead (INIHANDLE hdl, const char *group, const char *field, DPOINT3D &value) |
| int | IniRead (INIHANDLE hdl, const char *group, const char *field, DPOINT2D &value, const DPOINT2D &dft) |
| int | IniRead (INIHANDLE hdl, const char *group, const char *field, DPOINT2D &value) |
| int | IniWrite (INIHANDLE hdl, const char *group, const char *field, const DPOINT3D &value) |
| int | IniWrite (INIHANDLE hdl, const char *group, const char *field, const DPOINT2D &value) |
| bool | operator!= (const DPOINT3D &lhs, const DPOINT3D &rhs) |
| bool | operator!= (const DPOINT2D &lhs, const DPOINT2D &rhs) |
| bool | operator!= (const FPOINT3D &lhs, const FPOINT3D &rhs) |
| bool | operator!= (const FPOINT2D &lhs, const FPOINT2D &rhs) |
| bool | operator!= (const LPOINT2D &lhs, const LPOINT2D &rhs) |
| bool | operator!= (const WPOINT3D &lhs, const WPOINT3D &rhs) |
| bool | operator!= (const WPOINT2D &lhs, const WPOINT2D &rhs) |
| bool | operator< (const DPOINT3D &lhs, const DPOINT3D &rhs) |
| bool | operator< (const DPOINT2D &lhs, const DPOINT2D &rhs) |
| bool | operator<= (const DPOINT3D &lhs, const DPOINT3D &rhs) |
| bool | operator<= (const DPOINT2D &lhs, const DPOINT2D &rhs) |
| bool | operator== (const DPOINT3D &lhs, const DPOINT3D &rhs) |
| bool | operator== (const DPOINT2D &lhs, const DPOINT2D &rhs) |
| bool | operator== (const FPOINT3D &lhs, const FPOINT3D &rhs) |
| bool | operator== (const FPOINT2D &lhs, const FPOINT2D &rhs) |
| bool | operator== (const LPOINT2D &lhs, const LPOINT2D &rhs) |
| bool | operator== (const WPOINT3D &lhs, const WPOINT3D &rhs) |
| bool | operator== (const WPOINT2D &lhs, const WPOINT2D &rhs) |
| bool | operator> (const DPOINT3D &lhs, const DPOINT3D &rhs) |
| bool | operator> (const DPOINT2D &lhs, const DPOINT2D &rhs) |
| bool | operator>= (const DPOINT3D &lhs, const DPOINT3D &rhs) |
| bool | operator>= (const DPOINT2D &lhs, const DPOINT2D &rhs) |
| void | SwapBytes (DPOINT3D &pt) |
| void | SwapBytes (DPOINT2D &pt) |
| void | SwapBytes (FPOINT3D &pt) |
| void | SwapBytes (FPOINT2D &pt) |
| void | SwapBytes (LPOINT3D &pt) |
| void | SwapBytes (LPOINT2D &pt) |
Definitions for 2D and 3D point structures.
| enum DIMENSION |
| enum ORIENTATION |
Enumeration of orientation types assuming right-hand Cartesian system where counter-clocksize sweep from +X axis to +Y axis is 90 degrees.
| int IniRead | ( | INIHANDLE | hdl, | |
| const char * | group, | |||
| const char * | field, | |||
| DPOINT3D & | value, | |||
| const DPOINT3D & | dft | |||
| ) | [inline] |
Read 'DPOINT3D' value from INI file with default.
Read 'DPOINT3D' value from INI file.
| int IniRead | ( | INIHANDLE | hdl, | |
| const char * | group, | |||
| const char * | field, | |||
| DPOINT2D & | value, | |||
| const DPOINT2D & | dft | |||
| ) | [inline] |
Read 'DPOINT2D' value from INI file with default.
Read 'DPOINT2D' value from INI file.
| int IniWrite | ( | INIHANDLE | hdl, | |
| const char * | group, | |||
| const char * | field, | |||
| const DPOINT3D & | value | |||
| ) | [inline] |
Write 'DPOINT3D' value to INI file.
| int IniWrite | ( | INIHANDLE | hdl, | |
| const char * | group, | |||
| const char * | field, | |||
| const DPOINT2D & | value | |||
| ) | [inline] |
Write 'DPOINT2D' value to INI file.
Exact inequality comparison.
Not equal to: Exact match, no fuzzy test enabled.
Not equal to: Exact match, no fuzzy test enabled.
Exact inequality comparison.
Exact inequality comparison.
Less than: Exact match, no fuzzy test enabled.
Less than: Exact match, no fuzzy test enabled.
Less than or equal to: Exact match, no fuzzy test enabled.
Less than or equal to: Exact match, no fuzzy test enabled.
Equal to: Exact match, no fuzzy test enabled.
Equal to: Exact match, no fuzzy test enabled.
Greater than: Exact match, no fuzzy test enabled.
Greater than: Exact match, no fuzzy test enabled.
Greater than or equal to: Exact match, no fuzzy test enabled.
Greater than or equal to: Exact match, no fuzzy test enabled.
| void SwapBytes | ( | DPOINT3D & | pt | ) | [inline] |
Perform byte-swapping.
| void SwapBytes | ( | FPOINT3D & | pt | ) | [inline] |
Perform byte swapping.
| void SwapBytes | ( | FPOINT2D & | pt | ) | [inline] |
Perform byte-swapping.
| void SwapBytes | ( | LPOINT3D & | pt | ) | [inline] |
Perform byte-swapping.
| void SwapBytes | ( | LPOINT2D & | pt | ) | [inline] |
Perform byte-swapping.
1.6.1