geom¶
Manipulation of geometric/geographical data.
Geometric properties and shape sketching¶
Properties
|
Gets the midpoint between two points (applicable for vectorised computation). |
|
Gets the midpoint between two points. |
|
Gets the midpoint between two points by pure calculation. |
|
Gets coordinates of the centroid of a rectangle. |
|
Gets the four vertices of a square given its centre and side length. |
|
Gets the four vertices of a square given its centre and side length (by elementary calculation). |
Sketching
|
Sketches a square on a plot given its centre coordinates, side length and rotation angle. |
Geometric data transformation¶
Data type
|
Transforms iterable data to geometric type or vice versa. |
|
Retrieves an array of coordinates from the input geometry object. |
Coordinate system
|
Converts latitude and longitude (WGS84) to British national grid (OSGB36). |
|
Converts British national grid (OSGB36) to latitude and longitude (WGS84). |
Dimension / Projection
|
Drops an axis from a given 3D geometry object. |
|
Finds the projected point from a given point to a line. |