help-octave
[Top][All Lists]
Advanced

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

Is simple closed curve the technical definition of this?


From: Hoxide Ma
Subject: Is simple closed curve the technical definition of this?
Date: Wed, 13 Jul 2005 22:18:42 +0800 (CST)

## A = polyarea(X,Y)
##
## Determines area of a polygon by triangle method.
##
## input:
##   polygon:  x, y form vertex pairs, one polygon per
column.
##
## output:
##   area:  Area of polygons.
##
## todo:  Add moments for centroid, etc.
##
## bugs and limitations:  
##        Probably ought to be an optional check to
make sure that
##        traversing the vertices doesn't make any
sides cross 
##        (Is simple closed curve the technical
definition of this?). 

## Author: David M. Doolin <address@hidden>
## Date: 1999/04/14 15:52:20 $
## Modified-by: 
##    2000-01-15 Paul Kienzle
<address@hidden>
##    * use matlab compatible interface
##    * return absolute value of area so traversal
order doesn't matter


my question is:
Is simple closed curve the technical definition of
this?





        

        
                
___________________________________________________________ 
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱
http://cn.mail.yahoo.com/?id=77071



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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