GDAL
Public Member Functions | Public Attributes | List of all members
OGRGeomCoordinateBinaryPrecision Struct Reference

Geometry coordinate precision for a binary representation. More...

#include <ogr_geometry.h>

Public Member Functions

void SetFrom (const OGRGeomCoordinatePrecision &)
 Set binary precision options from resolution.
 

Public Attributes

int nXYBitPrecision
 Number of bits needed to achieved XY precision.
 
int nZBitPrecision
 Number of bits needed to achieved Z precision.
 
int nMBitPrecision
 Number of bits needed to achieved M precision.
 

Detailed Description

Geometry coordinate precision for a binary representation.

Since
GDAL 3.9

Member Function Documentation

◆ SetFrom()

void OGRGeomCoordinateBinaryPrecision::SetFrom ( const OGRGeomCoordinatePrecision prec)

Set binary precision options from resolution.

Since
GDAL 3.9

Member Data Documentation

◆ nMBitPrecision

int OGRGeomCoordinateBinaryPrecision::nMBitPrecision
Initial value:
=
INT_MIN

Number of bits needed to achieved M precision.

Typically computed with SetFromResolution()

◆ nXYBitPrecision

int OGRGeomCoordinateBinaryPrecision::nXYBitPrecision
Initial value:
=
INT_MIN

Number of bits needed to achieved XY precision.

Typically computed with SetFromResolution()

◆ nZBitPrecision

int OGRGeomCoordinateBinaryPrecision::nZBitPrecision
Initial value:
=
INT_MIN

Number of bits needed to achieved Z precision.

Typically computed with SetFromResolution()


The documentation for this struct was generated from the following files: