ChamplainPoint

## ChamplainPoint ChamplainPoint — A base struct to store a latitude and longitude |

## Synopsis

    struct              ChamplainPoint;
    ChamplainPoint *    champlain_point_new                 (gdouble lat,
                                                             gdouble lon);
    ChamplainPoint *    champlain_point_copy                (const ChamplainPoint *point);
    void                champlain_point_free                (ChamplainPoint *point);

## Object Hierarchy

      GBoxed
       +----ChamplainPoint

## Description

A base struct to store a latitude and longitude.

## Details

### struct ChamplainPoint

    struct ChamplainPoint;

A base struct to store a latitude and longitude.

### champlain_point_new ()

    ChamplainPoint *    champlain_point_new                 (gdouble lat,
                                                             gdouble lon);

Creates an instance of ChamplainPoint.

`lat` : | the latitude
`lon` : | the longitude
Returns : | a newly allocated ChamplainPoint to be freed with champlain_point_free

Since 0.4

### champlain_point_copy ()

    ChamplainPoint *    champlain_point_copy                (const ChamplainPoint *point);

Makes a copy of the point structure. The result must be freed using `champlain_point_free()`.

`point` : | a ChamplainPoint
Returns : | an allocated copy of `point`.

Since 0.4

### champlain_point_free ()

    void                champlain_point_free                (ChamplainPoint *point);

Frees a point structure created with champlain_point_new or champlain_point_copy

`point` : | a ChamplainPoint

Since 0.4