Octave graphic add-on, Octaviz



česky

2.7 Hellipticparaboloid, hexaedron, Horn



Function file: hellipticparaboloid(m,n,p,a,b,c,q,prop,val)


This function plots a hellipticparaboloid. Definition:
  • 1 hellipticparaboloid - centre in [m,n,p], parameters "a","b","c" and quality "q"; all values are scalar
  • n-hellipticparaboloids - centres in [m,n,p], parameters "a","b","c" and qualities "q"; all values are vectors

Parameters of function:
Parameters m,n,p describecentre of the hellipticparaboloid in axes x,y,z.
Parameters a,b,c describe parameters of the hellipticparaboloid.
Parameter q is for change compute points on objects, so it is quality of drawing object.
Parameters prop, val are using for change color or opacity. These parameters are optional.


Example:
hellipticparaboloid([0 1],[0 -10],[0 3.1],[2 3.4],[3 2.1],[2 1.4],[50 50],["c","c"],[[0.5 1 1],[0 0.5 1]]);



download m-file



Function file: hexaedron(m,n,p,a,b,c,q,prop,val)


This function plots a hexaedron. Definition:
  • 1 hexaedron - centre in [m,n,p], parameters "a","b","c" and quality "q"; all values are scalar
  • n-6-ti hexaedrons - centres in [m,n,p], parameter "a","b","c" and aqualities "q"; all values are vectors

Parameters of function:
Parameters m,n,p describe centre of the hexaedron in axes x,y,z.
Parameters a,b,c describe parameters of the hexaedron.
Parameter q is for change compute points on objects, so it is quality of drawing object.
Parameters prop, val are using for change color or opacity. These parameters are optional.


Example:
hexaedron([0 1],[0 -2],[0 3.1],[2 3.4],[3 2.1],[2 1.4],[50 50],["c","c"],[[0.5 1 1],[0 0.5 1]]);





Function file: horn(m,n,p,r,q,prop,val)


This function plots a horn. Definition:
  • 1 horn - centre in [m,n,p], parameter "r" and quality "q"; all values are scalar
  • n-horns - centres in [m,n,p], parameters "r" and qualities "q"; all values are vectors

Parameters of function:
Parameters m,n,p describe centre of the horn in axes x,y,z.
Parameter r describe parameter of the horn.
Parameter q is for change compute points on objects, so it is quality of drawing object.
Parameters prop, val are using for change color or opacity. These parameters are optional.


Example:
horn([0 10],[0 0],[0 0],[1.5 1],[50 50]);





<<< 2.6 Apple, ellipsoid, helicoidal 2.8 Hyperboloid(one-piece), hyperboloid2 (two-pieces), shell >>>

© 2008 David Prokop