Go to the source code of this file.
◆ IU3DNPS_INVALID
◆ iu3dnps_t
◆ iuf3DNonParametricSourceCompare()
Compares two 3D non-parametric sources.
- Returns
- IUF_TRUE if reference and actual are identical sources, and IUF_FALSE in all other cases.
- Parameters
-
| reference | 3D non-parametric source to compare |
| actual | 2D non-parametric source to compare with |
◆ iuf3DNonParametricSourceCreate()
| iu3dnps_t iuf3DNonParametricSourceCreate |
( |
int |
numLocations | ) |
|
An invalid 3D Non-Parametric Source
- Parameters
-
| numLocations | The number of points the source has. |
◆ iuf3DNonParametricSourceDelete()
| int iuf3DNonParametricSourceDelete |
( |
iu3dnps_t |
source | ) |
|
Delete a 3D non-parametric source.
- Returns
- Returns IUF_E_OK on success or IUF_ERR_VALUE in case of an error.
- Parameters
-
| source | The source that is deleted |
◆ iuf3DNonParametricSourceGetNumLocations()
| int iuf3DNonParametricSourceGetNumLocations |
( |
iu3dnps_t |
source | ) |
|
Gets he number of points the source has.
- Returns
- The number of points the source has.
- Parameters
-
| source | 2D non-parametric source with positions |
◆ iuf3DNonParametricSourceGetPosition()
Gets the index -th 3D position of a 3D non-parametric source.
- Returns
- The 3D position or IU3DP_INVALID if that position does not exist.
- Parameters
-
| source | 3D non-parametric source with positions |
| index | the index of the position list |
◆ iuf3DNonParametricSourceSetPosition()
| int iuf3DNonParametricSourceSetPosition |
( |
iu3dnps_t |
source, |
|
|
iu3dp_t |
pos, |
|
|
int |
index |
|
) |
| |
Sets the 3D position pos on the index -th location for the 3D non-parametric source iuf3DNonParametricSource.
- Returns
- Returns IUF_E_OK on success or IUF_ERR_VALUE in case of an error.
- Parameters
-
| source | the 3D non-parametric source |
| pos | the 3D position to be set |
| index | the index of the position |