![]() |
![]() |
![]() |
libchamplain Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
ChamplainPoint; ChamplainPoint * champlain_point_new (gdouble lat, gdouble lon); ChamplainPoint * champlain_point_copy (const ChamplainPoint *point); void champlain_point_free (ChamplainPoint *point);
ChamplainPoint * champlain_point_new (gdouble lat, gdouble lon);
|
the latitude |
|
the longitude |
Returns : |
a newly allocated ChamplainPoint to be freed with champlain_point_free |
Since 0.4
ChamplainPoint * champlain_point_copy (const ChamplainPoint *point);
Makes a copy of the point structure. The result must be
freed using champlain_point_free()
.
|
a ChamplainPoint |
Returns : |
an allocated copy of point .
|
Since 0.4
void champlain_point_free (ChamplainPoint *point);
Frees a point structure created with champlain_point_new or champlain_point_copy
|
a ChamplainPoint |
Since 0.4