|
File Geodatabase API
|
Point Shape Buffer accessor functions. More...
Inherits FileGDBAPI::ShapeBuffer.
Public Member Functions | |
| fgdbError | GetPoint (Point *&point) |
| Get a pointer to the points coordinates. | |
| fgdbError | GetZ (double *&z) |
| Get a pointer to the points z coordinate. | |
| fgdbError | GetM (double *&m) |
| Get a pointer to the points measure. | |
| fgdbError | GetID (int *&id) |
| Get a pointer to the points ID value. | |
| fgdbError | Setup (ShapeType shapeType) |
| Setup a shape buffer for insert. | |
Point Shape Buffer accessor functions.
These functions provide access to the shape buffer. Consult the extended shapefile format document for the buffer layout. When reading a point shape buffer you should first create the appropriate shape buffer, get the geometry, get the point, and any z or m values. To write a point create a row buffer, create a shape buffer, set up the shape buffer, get the point, assign the coordinates to the point, assign z and m values if present, set the geometry and insert the row.
| fgdbError FileGDBAPI::PointShapeBuffer::GetPoint | ( | Point *& | point | ) |
Get a pointer to the points coordinates.
| [out] | point | A pointer to the coordinate. |
| fgdbError FileGDBAPI::PointShapeBuffer::GetZ | ( | double *& | z | ) |
Get a pointer to the points z coordinate.
| [out] | z | A pointer to the z value. |
| fgdbError FileGDBAPI::PointShapeBuffer::GetM | ( | double *& | m | ) |
Get a pointer to the points measure.
| [out] | m | A pointer to the m value. |
| fgdbError FileGDBAPI::PointShapeBuffer::GetID | ( | int *& | id | ) |
Get a pointer to the points ID value.
| [out] | id | A pointer to the id. |
| fgdbError FileGDBAPI::PointShapeBuffer::Setup | ( | ShapeType | shapeType | ) |
Setup a shape buffer for insert.
Allocates the correct length buffer for the selected shape type.
| [in] | shapeType | The shape type of the buffer. Shape Type |