FEATool  v1.8
Finite Element Analysis Toolbox
 All Files Functions Pages
gobj_sphere.m File Reference

Description

GOBJ_SPHERE Create sphere geometry object.

[ GOBJ ] = GOBJ_SPHERE( P, R, AX, TAG, N_S, T ) Creates a sphere geometry object. Accepts the following input parameters.

Parameter   Value/{Default}           Description
-----------------------------------------------------------------------------------
p           array   {[0 0 0]}         Coordinates of center point
r           scalar  {1}               Sphere radius
ax          scalar/array {1}          Axis direction (1/2/3 = x/y/z-axis)
                                      alt. axis direction vector (ex. [1,1,0])
tag         string  {S1}              Geometry object tag/name
n_s         scalar  {16}              Number of circumferential boundary segments
t           logical {false}           Triangulate boundary segments