24 void QgsWkbPtr::verifyBound(
int size )
const 26 if ( !mP || mP + size > mEnd )
32 mP =
const_cast< unsigned char *
>( p );
56 if ( !mP || mP + size > mEnd )
70 Q_ASSERT( skipZM >= 0 );
78 for (
unsigned int i = 0; i < nPoints; ++i, ++ptr )
static int coordDimensions(Type type)
Returns the coordinate dimension of the geometry type as an integer.
static endian_t endian()
Returns whether this machine uses big or little endian.
QgsConstWkbPtr(const unsigned char *p, int size)
const QgsConstWkbPtr & operator>>(double &v) const
QgsWkbPtr(unsigned char *p, int size)
void verifyBound(int size) const
Verify bounds.
QgsWKBTypes::Type readHeader() const