14#ifndef GDALGCP_H_INCLUDED
15#define GDALGCP_H_INCLUDED
38 explicit GCP(
const char *pszId =
"",
const char *pszInfo =
"",
39 double dfPixel = 0,
double dfLine = 0,
double dfX = 0,
40 double dfY = 0,
double dfZ = 0);
49 inline const char *
Id()
const
54 void SetId(
const char *pszId);
57 inline const char *
Info()
const
62 void SetInfo(
const char *pszInfo);
67 return gcp.dfGCPPixel;
73 return gcp.dfGCPPixel;
89 inline double X()
const
101 inline double Y()
const
113 inline double Z()
const
130 static const GDAL_GCP *c_ptr(
const std::vector<GCP> &asGCPs);
132 static std::vector<GCP> fromC(
const GDAL_GCP *pasGCPList,
int nGCPCount);
double Line() const
Returns the "line" member.
Definition gdal_gcp.h:77
double & Pixel()
Returns a reference to the "pixel" member.
Definition gdal_gcp.h:71
double X() const
Returns the "X" member.
Definition gdal_gcp.h:89
double & X()
Returns a reference to the "X" member.
Definition gdal_gcp.h:95
double Pixel() const
Returns the "pixel" member.
Definition gdal_gcp.h:65
double & Z()
Returns a reference to the "Z" member.
Definition gdal_gcp.h:119
double Y() const
Returns the "Y" member.
Definition gdal_gcp.h:101
const GDAL_GCP * c_ptr() const
Casts as a C GDAL_GCP pointer.
Definition gdal_gcp.h:125
double & Y()
Returns a reference to the "Y" member.
Definition gdal_gcp.h:107
const char * Id() const
Returns the "id" member.
Definition gdal_gcp.h:49
GCP & operator=(const GCP &)
Copy assignment operator.
Definition gdal_misc.cpp:1760
const char * Info() const
Returns the "info" member.
Definition gdal_gcp.h:57
double Z() const
Returns the "Z" member.
Definition gdal_gcp.h:113
double & Line()
Returns a reference to the "line" member.
Definition gdal_gcp.h:83
GCP(const char *pszId="", const char *pszInfo="", double dfPixel=0, double dfLine=0, double dfX=0, double dfY=0, double dfZ=0)
Constructor.
Definition gdal_misc.cpp:1712
Core portability definitions for CPL.
Public (C callable) GDAL entry points.
Ground Control Point.
Definition gdal.h:1221