Sketch the geometry pipeline based on the contour algorithm and display the data

Source: Internet
Author: User

This paper is mainly based on numerical coloring and contour features, using numerical rendering 3D Contour grid diagram. Here's how to draw a geometry pipe diagram with Lightningchart and display the data, as well as provide the appropriate source code.

The graph is the result legend, showing the temperature and heat level and the data

Here is the source code for drawing this diagram

Lightningchartultimate _chart = new Lightningchartultimate ();

_chart. BeginUpdate ();

Create Surface Mesh

_mesh = new Surfacemeshseries3d (V, axis3dbinding.primary, Axis3dbinding.primary, axis3dbinding.primary);

Contours

_mesh. Contourlinetype = Contourlinetype3d.colorlinebyvalue;

_mesh. Contourlinewidth = 1.5;

WIREFRAME

_mesh. Wireframetype = Surfacewireframetype.wireframe;

_mesh. Wireframelinestyle.width = 3;

_mesh. Wireframelinestyle.color = Color.FromArgb (Color.Black);

_mesh. Wireframeoffset.setvalues (0, 0, 0);

FILL

_mesh. Colorsaturation = 80;

_mesh. Fill = Surfacefillstyle.palettedbyvalue;

Discontinuity is caused by surface Mesh...end meeting each other, and data are not fluently continous over.

Initializepalette ();

double[,] x = null;

double[,] y = null;

double[,] z = null;

double[,] values = NULL;

Creategeometrypipe (out x, off y, out z);

Createvalueswaterdrops (out values);

Updatemesh (x, y, z, values);

V.surfacemeshseries3d.add (_mesh);

V.yaxisprimary3d.units.text = "°c";

_chart. EndUpdate ();

Summarize

Contour Topographic map can be used synthetically to judge the condition of the sight, hydrological characteristics of water system, climatic characteristics, topography and location selection. ( point , line, Polygon ). This 3D geometry is used to determine climatic characteristics and is very intuitive.

Sketch the geometry pipeline based on the contour algorithm and display the data

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.