Click or drag to resize
Ab4d.SharpEngine logo

HeightMapContoursNode Methods

The HeightMapContoursNode type exposes the following members.

Methods
 NameDescription
Public methodConvertDataToMeshHeightValue 
Public methodConvertMeshToDataHeightValue 
Public methodCreateContourLine(Single, Single, Boolean) Returns a list of positions that represents the contour line segments at the specified height for the height map specified by the ParentSurfaceNode or HeightData.
Public methodStatic memberCreateContourLine(StandardMesh, Single, Single) Returns a list of positions that represents the contour line segments at the specified height for the specified mesh.
Public methodStatic memberCreateContourLine(PositionNormalTextureVertex, Int32, Single, Single) Returns a list of positions that represents the contour line segments at the specified height for the mesh specified by the vertices and triangleIndices.
Public methodStatic memberCreateContourLine(Vector3, Int32, Single, Single) Returns a list of positions that represents the contour line segments at the specified height for the mesh specified by the positions and triangleIndices.
Public methodCreateContourLines(Single, Single, Boolean) Generates contour line segments on multiple contour heights for the height map specified by the ParentSurfaceNode or HeightData.
Public methodStatic memberCreateContourLines(StandardMesh, Single, Single) Generates contour line segments for the specified mesh on multiple contour heights.
Public methodStatic memberCreateContourLines(PositionNormalTextureVertex, Int32, Single, Single) Generates contour line segments for a mesh based on multiple contour heights.
Public methodStatic memberCreateContourLines(Vector3, Int32, Single, Single) Generates contour line segments for a mesh based on specified contour heights and an optional vertical offset.
Protected methodDispose
(Overrides GroupNodeDispose(Boolean))
Public methodFlattenContours Sets the Y-coordinate of all contour line positions to a specified fixed height. To disable flatting, set fixedHeightValue to float.NaN.
Public methodGetAvailableLineHeights Retrieve a list of available contour line heights that can be used with GetLineNode. Returns null if CombineContourLines is enabled.
Public methodGetLineNode Retrieve the MultiLineNode corresponding to the contour line with the specified height. The height must be one of the values returned by GetAvailableLineHeights(). Returns null if contour line with the specified height does not exist. Returns null if CombineContourLines is enabled; in that case, nodes for combined lines can be retrieved via GetMajorLinesNode and GetMinorLinesNode.
Public methodGetMajorLinesNode Retrieve the MultiLineNode corresponding to combined major contour lines. Returns null if CombineContourLines is disabled, or if no major lines are available.
Public methodGetMinorLinesNode Retrieve the MultiLineNode corresponding to combined minor contour lines. Returns null if CombineContourLines is disabled, or if no major lines are available.
Protected methodOnUpdate
(Overrides SceneNodeOnUpdate)
Protected methodUpdateLocalBoundingBox
(Overrides GroupNodeUpdateLocalBoundingBox)
Top
Extension Methods
 NameDescription
Public Extension MethodDumpHierarchy Writes the hierarchy of the GroupNode and its children into the Visual Studio Output window.
(Defined by Extensions)
Top
See Also