geolime.operations.drillhole.drape_drillholes_to_surface

Classes:

Drillholes(data, metadata)

Surface(data, mesh, metadata)

Functions:

drape_drillholes_to_surface(surface, drillholes)

Compute the true elevation of drillholes given coordinates and the corresponding surface.

vertical_intersection(x, y, surface)

Compute the z coordinates of the vertical intersection between a Trimesh triangulated mesh and a (x,y) coordinates.

geolime.operations.drillhole.drape_drillholes_to_surface.drape_drillholes_to_surface(surface: geolime.objects.surface.Surface, drillholes: geolime.objects.drillhole.Drillholes)

Compute the true elevation of drillholes given coordinates and the corresponding surface.

Parameters
  • surface (Surface) – GeoLime surface Object

  • drillholes (Drillholes) – GeoLime drillholes Object

Returns

drillholes – GeoLime drillholes Object

Return type

Drillholes

geolime.operations.drillhole.drape_drillholes_to_surface.vertical_intersection(x: float, y: float, surface: geolime.objects.surface.Surface)

Compute the z coordinates of the vertical intersection between a Trimesh triangulated mesh and a (x,y) coordinates. Vertical intersecion because vector use to compute the instersection is [0,0,-1].

Parameters
  • x (float) – X coordinate

  • y (float) – Y coordinate

  • surface (Surface) – Surface to find the z coordinates

Returns

Z coordinate

Return type

float