home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vnet.ibm.com
- From: capelli@vnet.ibm.com (Ron Capelli)
- Message-ID: <19930112.092511.683@almaden.ibm.com>
- Date: Tue, 12 Jan 93 10:58:31 EST
- Newsgroups: comp.graphics
- Subject: Re: Area of a parametric patch
- Disclaimer: This posting represents the poster's views, not those of IBM
- News-Software: UReply 3.1
- References: <gln.726347504@brutus>
- Lines: 46
-
- In <gln.726347504@brutus> Glen Niebur writes:
- >I have an application where i need to find the area of a bicubic Coons
- >patch. Is there a straight forward method to do this, or is it better
- >to approximate it by subdividing the batch into rectangles, and finding
- >the area of the rectangles?
- >
- >Any references to equations or algorithms would be appreciated.
- >
- An old but classic reference paper for this is:
- G.J.Peters, "Interactive computer graphics application of the
- bi-cubic parametric surface to engineering design problems",
- 1974 NCC, AFIPS Press, pp.491-511.
-
- Using Gauss-Legendre quadrature, a numerical solution for the area
- of a bi-cubic patch can be found more accurately and efficiently
- than tiling the patch into rectangles or triangles.
-
- The area of a parametric surface patch is, precisely:
-
- /1 /1 /
- A = \ \ |N(u,v)| du dv \ is attempt at integral sign.
- / / /
- 0 0
-
- where N(u,v) is the surface normal at parametric coordinates (u,v),
- typically from the cross-product of the partial derivative vectors
- of the surface function with respect to u and with respect to v at
- the point. |N(u,v)| is the magnitude of the normal vector.
-
- Using an M-point quadrature, the area can be approximated using:
-
- M M
- A = SUM SUM ( gi * hj * |N(ui,vj)| )
- i=1 j=1
-
- where gi and hj are the M-point quadrature formula weights, and
- ui and vj are the Gaussian roots.
-
- Many books on numerical methods cover Gaussian quadrature, providing
- Tables of roots and weights, or definition of Legendre polynomials
- from which the roots and weights are derived.
- _______________________________________________________________________
-
- ...Ron Capelli IBM Corp. Dept. C13, Bldg. 703-2
- capelli@vnet.ibm.com PO Box 950
- (914) 435-1673 Poughkeepsie, NY 12602
-