Help for this page

Select Code to Download


  1. or download this
    my @slope = (($ne[1]-$nw[1])/($ne[0]-$nw[0]),
                 ($se[1]-$sw[1])/($se[0]-$sw[0]),
    ...
              and $find[0]*$slope[1]+$start[1]<=$find[1]
              and $find[1]*$slope[2]+$start[2]>=$find[0]
              and $find[1]*$slope[3]+$start[3]<=$find[0];
    
  2. or download this
    $find[0]*$slopetop[0]+$start[0]>=$find[1]*$slopebot[0]
  3. or download this
    $ne[1]*$slopebot[0]-$ne[0]*$slopetop[0]