octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47502] Feature request: polysplit and polyjoi


From: Alex Provan
Subject: [Octave-bug-tracker] [bug #47502] Feature request: polysplit and polyjoin functions
Date: Tue, 22 Mar 2016 21:57:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?47502>

                 Summary: Feature request: polysplit and polyjoin functions
                 Project: GNU Octave
            Submitted by: provana
            Submitted on: Tue 22 Mar 2016 09:57:42 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: Alex Provan
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

polysplit and polyjoin are two functions that do the reverse of each other. In
MATLAB they are part of the vector data analysis section of the mapper toolbox
package. I have written an implementation for each polysplit and polyjoin

polysplit:
converts line or polygon parts from vector form to cell array 
form, essentially does the reverse of polysplit
returns the NaN ended segments of vectors latcells and loncells 
one vector per cell of new cell arrays lat and lon

polyjoin:
converts line or polygon parts from cell array format to column vector format.
in cell array format each cell defines a seperate polygon or line segment.
returns two column vectors containing the polygons from the inputted cell
arrays. 

I have attached my implementations of these two functions for discussion,
thanks

Alex Provan




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 22 Mar 2016 09:57:42 PM GMT  Name: polyjoin.m  Size: 1kB   By:
provana

<http://savannah.gnu.org/bugs/download.php?file_id=36728>
-------------------------------------------------------
Date: Tue 22 Mar 2016 09:57:42 PM GMT  Name: polysplit.m  Size: 2kB   By:
provana

<http://savannah.gnu.org/bugs/download.php?file_id=36729>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47502>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]