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_assistant_output/Interpolation/quadrilateral2square.html

    r363 r402  
    6464 warm (or map) an arbitrary quadrilateral onto a unit square 
    6565 according to the 4-point correspondences: 
    66        (x0,y0) -> (0,0) 
    67        (x1,y1) -> (1,0) 
    68        (x2,y2) -> (1,1) 
    69        (x3,y3) -> (0,1) 
     66  - (x0,y0) -> (0,0) 
     67  - (x1,y1) -> (1,0) 
     68  - (x2,y2) -> (1,1) 
     69  - (x3,y3) -> (0,1) 
     70 
    7071 This is the inverse function of <a href="..//Interpolation/square2quadrilateral.html">square2quadrilateral</a>. 
    7172 
     
    302303    <h3>Examples</h3><pre> 
    303304 
    304  IDL> splot,[0,5],[0,3],/nodata,xstyle=1,ystyle=1 
    305  IDL> tracegrille, findgen(11)*.1, findgen(11)*.1,color=indgen(12)*20 
    306  IDL> xin = (findgen(11)*.1)#replicate(1, 11) 
    307  IDL> yin = replicate(1, 11)#(findgen(11)*.1) 
    308  IDL> out = square2quadrilateral(2,1,3,0,5,1,2,3, xin, yin) 
    309  IDL> tracegrille, reform(out[0,*],11,11), reform(out[1,*],11,11),color=indgen(12)*20 
    310  
    311  IDL> inorg=quadrilateral2square(2,1,3,0,5,1,2,3,out[0,*],out[1,*]) 
    312  IDL> tracegrille, reform(inorg[0,*],11,11), reform(inorg[1,*],11,11),color=indgen(12)*20 
     305   IDL> splot,[0,5],[0,3],/nodata,xstyle=1,ystyle=1 
     306   IDL> tracegrille, findgen(11)*.1, findgen(11)*.1,color=indgen(12)*20 
     307   IDL> xin = (findgen(11)*.1)#replicate(1, 11) 
     308   IDL> yin = replicate(1, 11)#(findgen(11)*.1) 
     309   IDL> out = square2quadrilateral(2,1,3,0,5,1,2,3, xin, yin) 
     310   IDL> tracegrille, reform(out[0,*],11,11), reform(out[1,*],11,11),color=indgen(12)*20 
     311 
     312   IDL> inorg=quadrilateral2square(2,1,3,0,5,1,2,3,out[0,*],out[1,*]) 
     313   IDL> tracegrille, reform(inorg[0,*],11,11), reform(inorg[1,*],11,11),color=indgen(12)*20 
    313314 
    314315    </pre><h3>Version history</h3> 
    315316     
    316317    <h4>Version</h4> 
    317  $Id: quadrilateral2square.pro 358 2008-04-28 09:41:14Z pinsard $ 
     318 $Id: quadrilateral2square.pro 372 2008-08-08 12:31:53Z pinsard $ 
    318319 
    319320    <h4>History</h4> 
Note: See TracChangeset for help on using the changeset viewer.