stl v0.1.0 STL.Geo

Module for functions which handle geospatial calculations.

Link to this section Summary

Functions

Calculates the distance beteween two 3d points.

A rough implementation of Heron's formula for triangle area. Accepts a %STL.Facet{} and calculates its area using Heron's formula.

Link to this section Functions

Link to this function

distance_between(arg1, arg2)

Calculates the distance beteween two 3d points.

Link to this function

facet_area(facet)

A rough implementation of Heron's formula for triangle area. Accepts a %STL.Facet{} and calculates its area using Heron's formula.