Previous Up Next

27.10.6  Parametric equation of an object in space

See Section 26.12.8 for parametric equations in 2D geometry.

The parameq command finds parameterizations for geometric objects.

Examples

parameq(line(point(0,1,0),point(1,2,3)))
     
⎡
⎣
t,t+1,3 t⎤
⎦
          
parameq(sphere(point(0,1,0),2))
     
⎡
⎣
2 cosu cosv,1+2 cosu sinv,2 sinu⎤
⎦
          
normal(parameq(ellipse(point(-1,1,1),point(1,1,1),point(0,1,2))))
     
⎡
⎢
⎣
√
2
 cost,1,sint+1⎤
⎥
⎦
          

Previous Up Next