Click or drag to resize
Ab4d.SharpEngine logo

HeightMapContoursNodeFlattenContours Method

Sets the Y-coordinate of all contour line positions to a specified fixed height. To disable flatting, set fixedHeightValue to float.NaN.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public void FlattenContours(
	float fixedHeightValue
)

Parameters

fixedHeightValue  Single
The Y-coordinate value to assign to all contour line positions. Use float.NaN to disable flatting contour lines.
Remarks
Use this method to flatten all major and minor contour lines to a single elevation, which can be useful for generating 2D projections or standardizing contour heights.
See Also