comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Using POLYGON to plot unstructred mesh
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Using POLYGON to plot unstructred mesh [message #86249 is a reply to message #86164] Mon, 21 October 2013 12:26 Go to previous messageGo to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
Laurent Testut wrote, On 2013-10-15 2:23am:
> Hi all,
> I need to plot a mesh from an unstructured ocean model. I had a quick look to the POLYGON and IDLgrPOLYGON object which seem to me an interesting way of loading of viewing the mesh (not sure it is the best solution).
> Has I'm not used with object-oriented programming I'm wondering if there is a simple way to assign to the vertices, in addition to the classical X,Y (Z) properties, others properties like depths, tidal amplitude, etc ...
>
> Many thanks,
> Laurent
>

Hi Laurent,

As I understand it, if you're using an "unstructured grid" model, with vertices
and a connectivity list, that is exactly what IDLgrPolygon and the Polygon
function work with. Whether your grid has only (x,y) position data or (x,y,z),
IDL has good tools for working with this. Depending on what you want to do,
associating the other properties can be done in different ways. With a little
more detail (Is your mesh 2-D or 3-D? What kind of display of your other
properties are you looking for?), I can offer some suggestions.

--

Cheers,
-Dick

Dick Jackson Software Consulting
Victoria, BC, Canada
www.d-jackson.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: (Beginner) issue setting variables using ENVI_FILE_QUERY
Next Topic: Using Y_SCROLL_SIZE and COLUMN=8 on Mac widgets

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Mon Dec 01 13:28:36 PST 2025

Total time taken to generate the page: 0.14405 seconds