Ignore:
Timestamp:
12/06/07 11:04:53 (17 years ago)
Author:
pinsard
Message:

modification of some headers (+some corrections) to prepare usage of the new idldoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/TRIANGULATION/definetri.pro

    r297 r325  
    33; @file_comments 
    44; Define a triangulation array like <proidl>TRIANGULATE</proidl>. 
    5 ;         But in a VERY SIMPLE CASE: 
     5; 
     6; But in a VERY SIMPLE CASE: 
    67; the points are regularly-gridded on nx*ny array. 
    78; Find a Delaunay triangulation for this set of points is easy: 
    89; Points define (nx-1)*(ny-1) rectangles which we can cut in 2 triangles. 
     10; 
    911; cf. figure above 
    1012; 
    1113; <fixe> 
    12 ; fixe 
    1314;      ny-1*---*---*. . . . . .*---*---* 
    1415;          |  +|  +|           |  +|  +| 
     
    4142; Utilities 
    4243; 
    43 ; @param NX {in}{required} 
     44; @param nx {in}{required} 
    4445; The x dimension array 
    4546; 
    46 ; @param NY {in}{required} 
     47; @param ny {in}{required} 
    4748; The y dimension array 
    4849; 
    49 ; @param DOWNWARD {in}{optional} 
    50 ; When DOWNWARD is undefined all rectangles are cut in using the upward 
     50; @param downward {in}{optional} 
     51; When downward is undefined all rectangles are cut in using the upward 
    5152; diagonal. 
    52 ; DOWNWARD is a vector which contains the rectangles numbers which are cut in 
     53; downward is a vector which contains the rectangles numbers which are cut in 
    5354; using the downward diagonal. 
    5455; The rectangle number is defined by the index (in a nx*ny vector) of the 
     
    6263; 
    6364; IDL> triangles=definetri(3,3,[1,3]) 
     65; 
    6466; triangles will be this kind of triangulation: 
    6567; 
     68; <fixe> 
    6669;          *---*---* 
    6770;          |+  |  +| 
     
    7477;          *---*---* 
    7578; 
     79; <fixe> 
    7680; 
    7781; @history 
     
    8286; $Id$ 
    8387;- 
    84 ; 
    8588FUNCTION definetri, nx, ny, downward 
    8689; 
Note: See TracChangeset for help on using the changeset viewer.