Ignore:
Timestamp:
07/23/09 11:18:49 (15 years ago)
Author:
smasson
Message:

update documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/Interpolation/quadrilateral2square.html

    r363 r402  
    9090 warm (or map) an arbitrary quadrilateral onto a unit square 
    9191 according to the 4-point correspondences: 
    92        (x0,y0) -> (0,0) 
    93        (x1,y1) -> (1,0) 
    94        (x2,y2) -> (1,1) 
    95        (x3,y3) -> (0,1) 
     92  - (x0,y0) -> (0,0) 
     93  - (x1,y1) -> (1,0) 
     94  - (x2,y2) -> (1,1) 
     95  - (x3,y3) -> (0,1) 
     96 
    9697 This is the inverse function of <a href="..//Interpolation/square2quadrilateral.html">square2quadrilateral</a>. 
    9798 
     
    317318          <h3>Examples</h3><div class="preformat"> 
    318319 
    319  IDL> splot,[0,5],[0,3],/nodata,xstyle=1,ystyle=1 
    320  IDL> tracegrille, findgen(11)*.1, findgen(11)*.1,color=indgen(12)*20 
    321  IDL> xin = (findgen(11)*.1)#replicate(1, 11) 
    322  IDL> yin = replicate(1, 11)#(findgen(11)*.1) 
    323  IDL> out = square2quadrilateral(2,1,3,0,5,1,2,3, xin, yin) 
    324  IDL> tracegrille, reform(out[0,*],11,11), reform(out[1,*],11,11),color=indgen(12)*20 
    325  
    326  IDL> inorg=quadrilateral2square(2,1,3,0,5,1,2,3,out[0,*],out[1,*]) 
    327  IDL> tracegrille, reform(inorg[0,*],11,11), reform(inorg[1,*],11,11),color=indgen(12)*20 
     320   IDL> splot,[0,5],[0,3],/nodata,xstyle=1,ystyle=1 
     321   IDL> tracegrille, findgen(11)*.1, findgen(11)*.1,color=indgen(12)*20 
     322   IDL> xin = (findgen(11)*.1)#replicate(1, 11) 
     323   IDL> yin = replicate(1, 11)#(findgen(11)*.1) 
     324   IDL> out = square2quadrilateral(2,1,3,0,5,1,2,3, xin, yin) 
     325   IDL> tracegrille, reform(out[0,*],11,11), reform(out[1,*],11,11),color=indgen(12)*20 
     326 
     327   IDL> inorg=quadrilateral2square(2,1,3,0,5,1,2,3,out[0,*],out[1,*]) 
     328   IDL> tracegrille, reform(inorg[0,*],11,11), reform(inorg[1,*],11,11),color=indgen(12)*20 
    328329</div> 
    329330          <h3>Version history</h3> 
    330331           
    331332          <h4>Version</h4><div class="preformat"> 
    332  $Id: quadrilateral2square.pro 358 2008-04-28 09:41:14Z pinsard $ 
     333 $Id: quadrilateral2square.pro 372 2008-08-08 12:31:53Z pinsard $ 
    333334</div> 
    334335          <h4>History</h4><div class="preformat"> 
Note: See TracChangeset for help on using the changeset viewer.