IUF-SDK-3
Interventional Ultrasound Library
iufOffset.c File Reference
#include <stdlib.h>
#include <iuf.h>

Functions

iuo_t iufOffsetCreate (void)
 Create an offset object initialized at {0,0,0,0}. More...
 
int iufOffsetDelete (iuo_t offset)
 Delete an offset object. More...
 
int iufOffsetCompare (iuo_t reference, iuo_t actual)
 Compare two offsets with each other. More...
 

Function Documentation

◆ iufOffsetCompare()

int iufOffsetCompare ( iuo_t  reference,
iuo_t  actual 
)

Compare two offsets with each other.

Returns
Returns IUF_TRUE when the offsets are equal and IUF_FALSE otherwise.
Parameters
referenceThe offset to compare to
actualThe offset to compare with

◆ iufOffsetCreate()

iuo_t iufOffsetCreate ( void  )

Create an offset object initialized at {0,0,0,0}.

Returns
Returns a zero offset object.

◆ iufOffsetDelete()

int iufOffsetDelete ( iuo_t  offset)

Delete an offset object.

Returns
Returns IUF_E_OK in when successful or IUF_ERR_VALUE when the offset is NULL
Parameters
offsetthe offset that is to be deleted.