简体   繁体   中英

how to draw surface with polar coordinate in C#

I have many points with teta,phy,r. I want to draw 3D surface in visual C#. I usually use ILNumerics. I can draw 3D surface by cartesian coordinate but by polar ... I have windows form application. please help me.

ILNumerics surfaces require their grid points to be defined as [XYZ] tuples. In order to use polar coordinates you must convert your polar coordinates to cartesian coordinates and give these to the ILSurface.

I cannot check right now, but there are conversion functions in ILMath, I think (look for ILMath.pol2cart() ).

What you require is probably close to a parametric surface: http://ilnumerics.net/non-regular-grids-parametic-surfaces.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM