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

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

[Octave-patch-tracker] [patch #9000] Polygon functions for geometry/mapp


From: Philip Nienhuis
Subject: [Octave-patch-tracker] [patch #9000] Polygon functions for geometry/mapping package
Date: Sat, 28 May 2016 19:43:01 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40

Follow-up Comment #11, patch #9000 (project octave):

Looks good.
I'll help, but only next week from -say- Wednesday on (other priorities)

What is your plan with joinPolygons.m ?

Is it isPolygonCCW or ispolycw?  (matgeom, or ML mapping toolbox?)

To dissect polyclip (yep, not polysplit) the code to convert doubles into
scaled int64 either needs to be duplicated for each function (clipping/boolean
ops, and CCW check) or can be made a function in private/  But it isn't about
much code so duplication isn't a big problem IMO.
I can split polyclip.m up for you and try to add some tests and demos.

Two questions:

1. Does the geometry package accept only column vectors and/or Nx2
(Nx3)arrays, or are row vectors and 2xN arrays accepted?

2. I like to be able to process X-Y-Z (or later on maybe even X-Y-Z1-Z2-Z3...
arrays) but perform operations on polygons only in XY plane. Most functions I
contributed allow that in some way. Would you continue support for that?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9000>

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




reply via email to

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