Module groundutil
Module for terrain manipulation
-
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
-
alignmentInstance:addFace (face)
-
Parameters:
- face
{{number,number,number},...}
list of at least 3 3D-points
-
alignmentInstance:export ()
-
Returns:
table
-
groundFaceInstance:addMode (mode)
-
Parameters:
-
groundFaceInstance:export ()
-
Returns:
table