home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.programming:3068 sci.physics:18168 sci.math:14427
- Newsgroups: comp.programming,sci.physics,sci.math
- Path: sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!SAIL.Stanford.EDU!rivin
- From: rivin@SAIL.Stanford.EDU (Igor Rivin)
- Subject: Re: area in closed curve; similar to net work calculation
- Message-ID: <1992Nov5.172302.22413@CSD-NewsHost.Stanford.EDU>
- Sender: news@CSD-NewsHost.Stanford.EDU
- Organization: Computer Science Department, Stanford University.
- References: <1992Nov5.132626.21379@hubcap.clemson.edu>
- Date: Thu, 5 Nov 1992 17:23:02 GMT
- Lines: 24
-
- In article <1992Nov5.132626.21379@hubcap.clemson.edu> mark@hubcap.clemson.edu (Mark Smotherman) writes:
- >
- >I want to get a reference to the first use/publication of an algorithm
- >to find the area within a discretized closed curve. While CAM is the
- >application for which I came up with the algorithm, I later found the
- >same type of problem as a net work calculation for a heat engine in
- >a freshman physics text (figure 19-8, Sears and Zemansky, University
- >Physics, 4th ed., 1970, p. 271). So I expect this algorithm has been
- >around for quite a while.
- >
- >Given a closed curve completely described by unit movements LRUD (left,
- >right, up, and down), calculate the enclosed area. The description
- >may be clockwise or counterclockwise and of arbitrary shape.
- >
- >[pseudocode omitted]
-
- There is a mechanical device called a "planimeter", dating back to
- time immemorial, that implements your (or a slightly different)
- algorithm in hardware. It is used by land surveyors and the like --
- you roll a little wheel along the boundary of a territory on a map,
- and read off the area at the end.
-
-
-
-