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

Home » Public Forums » archive » Help for calulations of area and perimeter of projected overlapped polygons
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Help for calulations of area and perimeter of projected overlapped polygons [message #91120] Fri, 05 June 2015 23:24
junsix is currently offline  junsix
Messages: 3
Registered: June 2015
Junior Member
Hi,

I am trying to calculate area and perimeter of projected overlapped polygons.
My polygons, actually hexagonal columns, have 3D shapes and what I want to calculate are area and perimeter of projected polygons.
These hexagonal columns attached together in 3D space.
Sometimes their projections are partly overlapped, or connected with a point.
Let's make a problem simple.
Here are a quadrangle and triangle, they have a overlap.

IDL> x1=[1.,2.,2.,1.]
IDL> y1=[1.,1.,2.,2.]

IDL> x2=[2.2,2.2,1.2]
IDL> y2=[1.5,2.5,2.5]

This is simple example and area and perimeter can be calculated with vortexes and crossing points, etc.
However, my problem has more than 10 hexagonal columns, so I think a calculation using projected image would be much simpler.
I am not good for ROI, IDLanROIGroup, or FIND_Boundary that I searched.

Can anyone let me know how to do this using a image?
What I can do right now is to plot projected planes using polyfill.

Thank you.

Jun
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Pure IDL interface for video cameras -- linux only
Next Topic: Function graphics and IDL widgets

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

Current Time: Wed Oct 08 07:17:02 PDT 2025

Total time taken to generate the page: 0.00605 seconds