Module groundutil

Module for terrain manipulation

Functions

alignment (alignType[, slopeLow[, slopeHigh]]) Constructor returning alignmentInstance
groundFace (face) Constructor returning groundFaceInstance

Class alignmentInstance

alignmentInstance:addFace (face)
alignmentInstance:export ()

Class groundFaceInstance

groundFaceInstance:addMode (mode)
groundFaceInstance:export ()


Functions

alignment (alignType[, slopeLow[, slopeHigh]])
Constructor returning alignmentInstance

Parameters:

  • alignType string EQUAL, GREATER or LESS
  • slopeLow number (optional)
  • slopeHigh number (optional)

Returns:

    alignmentInstance
groundFace (face)
Constructor returning groundFaceInstance

Parameters:

  • face {{number,number},...} list of at least 3 2D-points

Returns:

    groundFaceInstance

Class alignmentInstance

alignmentInstance:addFace (face)

Parameters:

  • face {{number,number,number},...} list of at least 3 3D-points
alignmentInstance:export ()

Returns:

    table

Class groundFaceInstance

groundFaceInstance:addMode (mode)

Parameters:

groundFaceInstance:export ()

Returns:

    table
generated by LDoc 1.4.6 Last updated 2018-11-09 12:08:57