Home > Applications > SpinW > m_files > sw_ellipse.m

iFit/sw_ellipse

PURPOSE ^

creates an array of the 3D coordinates of the ellipse circumference

SYNOPSIS ^

function points = sw_ellipse(r0, n, R, N, v1, v2)

DESCRIPTION ^

 creates an array of the 3D coordinates of the ellipse circumference

 points = SW_ELLIPE(r0, n, R, N, {v1, v2})

 Input:

 r0    Center of ellipse, dimensions are [3 1].
 n     Normal vector to the ellipse surface, dimensions are [3 1].
 R     Minor and major radius of the ellipse, dimensions are [2 1].
 N     Number of points on the curve.
 v1,v2 Optional parameter, two vectors pointing parallel to the minor and
       major radius of the ellipse, dimensions are [3 1].

 See also SW_CONE, SW_CIRCLE, SW_CIRCLESURF, SW_CYLINDER.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1