pointcloud/libpc/pc_api_internal.h
Paul Ramsey 4626d99aa1 Add first cut at autoconf
Rename 'core' directory
2013-01-14 16:46:13 -08:00

26 lines
774 B
C

/***********************************************************************
* pc_api_internal.h
*
* Signatures we need to share within the library, but not for
* use outside it.
*
* Portions Copyright (c) 2012, OpenGeo
*
***********************************************************************/
#ifndef _PC_API_INTERNAL_H
#define _PC_API_INTERNAL_H
#include "pc_api.h"
/** Read interpretation type from buffer and cast to double */
double pc_double_from_ptr(const uint8_t *ptr, uint32_t interpretation);
/** Write value to buffer in the interpretation type */
int pc_double_to_ptr(uint8_t *ptr, uint32_t interpretation, double val);
/** Return number of bytes in a given interpretation */
size_t pc_interpretation_size(uint32_t interp);
#endif /* _PC_API_INTERNAL_H */