16 Dec
2013
16 Dec
'13
10:52 p.m.
On 16-Dec-2013 14:45, mathog wrote:
This is sort of a follow up question to my previous one about circles. Is there in 2geom a set of methods along the lines of:
isRect(path)
Note that isRect() should be true for both
(0,0) (100,0) (100,20) (0,20)
and
(0,0) (100,0) (100,5) (100,15) (100,20) (0,20)
That is the path has the geometry specified, but it need not be have the minimum number of points.
(However if it doesn't have the minimum number of points then I am also going to need something like:
Geom::PathVector vertices = RectVertices(path); )
Thanks,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech