Changeset 187 for trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/TRIANGULATION/definetri.html
- Timestamp:
- 09/20/06 13:36:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/TRIANGULATION/definetri.html
r168 r187 704 704 the points are regulary-gridded on nx*ny array. 705 705 Find a Delaunay triangulation for this set of points is easy: 706 Points define (nx-1)*(ny-1) rectangles which we can cut in 2 707 triangles.cf. figure above706 Points define (nx-1)*(ny-1) rectangles which we can cut in 2 triangles. 707 cf. figure above 708 708 709 709 <p class="preformat"> 710 fixe 710 711 ny-1*---*---*. . . . . .*---*---* 711 712 | +| +| | +| +| … … 760 761 761 762 <h3>Return value</h3><div class="preformat"> 762 triangles is a 2d array and is dimensions are 3 and 763 2*(nx-1)*(ny-1) 764 triangles is define like in the TRIANGULATE procedure. 763 triangles is a 2d array and its dimensions are 3 and 2*(nx-1)*(ny-1). 764 triangles is defined like in the TRIANGULATE procedure. 765 765 </div> 766 766 … … 811 811 812 812 <div class="comments"> 813 When downward is undefine all rectangles are cut 814 in using the upward diagonal. Downward is a vector which815 contains the rectangles numbers which are cut in using the816 downward diagonal.817 The rectangle number is define by the index (in a nx*ny818 vector) of thelower-left corner of the rectangle.813 When downward is undefine all rectangles are cut in using the upward 814 diagonal. 815 Downward is a vector which contains the rectangles numbers which are cut in 816 using the downward diagonal. 817 The rectangle number is defined by the index (in a nx*ny vector) of the 818 lower-left corner of the rectangle. 819 819 </div> 820 820 … … 826 826 <h3>Examples</h3><div class="preformat"> 827 827 828 triangles=definetri(3,3,[1,3])829 triangles will be athis kind of triangulation:828 IDL> triangles=definetri(3,3,[1,3]) 829 triangles will be this kind of triangulation: 830 830 831 831 *---*---* 832 833 834 832 |+ | +| 833 | + | + | 834 | +|+ | 835 835 *---*---* 836 837 838 836 | +|+ | 837 | + | + | 838 |+ | +| 839 839 *---*---* 840 840 … … 843 843 844 844 <h4>Version</h4><div class="preformat"> 845 $Id: definetri.pro 1 63 2006-08-29 12:59:46Z navarro$</div>845 $Id: definetri.pro 186 2006-09-20 10:50:37Z pinsard $</div> 846 846 <h4>History</h4><div class="preformat"> 847 847 sebastien Masson (smlod@ipsl.jussieu.fr)
Note: See TracChangeset
for help on using the changeset viewer.