Difference between revisions of "Mutually dependent line and gliders"

From JSXGraph Wiki
Jump to navigationJump to search
Line 23: Line 23:
 
     offset = gl2.Y() - gl1.Y();
 
     offset = gl2.Y() - gl1.Y();
 
     var v = JXG.Math.crossProduct(gl1.coords.usrCoords,gl2.coords.usrCoords);
 
     var v = JXG.Math.crossProduct(gl1.coords.usrCoords,gl2.coords.usrCoords);
 +
    line.stdform.splice(0,3,v);
 +
   
 
     });
 
     });
  
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 09:59, 1 June 2012