geosoft.gxpy.geometry

Spatial geometric objects.

Classes:
Geometry:

base class for all geometries

Point:

(x, y, z) point

Point2:

pair of Point instances that define a line, or box, etc.

PPoint:

multiple Point instances

Mesh:

mesh surface made up of triangular faces defined by verticies

Note

Regression tests provide usage examples: geometry tests

Functions

_geo_cs(g, geo_class, coordinate_system, ...)

_t(s)

extent_union(g1, g2)

Return the spatial union of two spatial objects.

first_coordinate_system(geo_objects)

Return the first found known coordinate system in the list

Classes

Geometry([coordinate_system, name, gxobj])

Geometry base class for all geometries and spatial objects in Geosoft.

Mesh(mesh[, coordinate_system])

Mesh - set of triangular faces, which are indexes into verticies.

PPoint(xyz[, coordinate_system, z, name])

Poly-Point class.

Point(p[, coordinate_system, name, z])

Spatial location (x,y,z).

Point2(p[, coordinate_system, name, z])

Two points, for a line, or a rectangle, or a cube.

Exceptions

GeometryException(message)

Exceptions from geosoft.gxpy.geometry.