Click or drag to resize
AB4D logo

HeightMapVisual3DCreateContourLinePositions Method

CreateContourLinePositions creates positions for all contour lines (also known as isolines) and returns them in one Point3DCollection. The line positions are scaled by the size of this HeightMapVisual3D. The lines can be offset on top of the solid geometry by setting the yOffset value. To generate positions for individual contour lines call CreateMultiContourLinePositions(Double, Double) method.

Namespace: Ab3d.Visuals
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public Point3DCollection CreateContourLinePositions(
	double[] contourLineValues,
	double yOffset = 0
)

Parameters

contourLineValues  Double
array of values where the contour lines will be generated
yOffset  Double  (Optional)
optional offset value that is added to like y coordinate to generate the lines on top of solid geometry

Return Value

Point3DCollection
Point3DCollection with all contour lines
See Also