next up previous contents index
Next: CONSTRUCT SHAPE SURFACE NURB [shape_name] ... Up: CONSTRUCT SHAPE Previous: CONSTRUCT SHAPE PLANE [shape_name] Plane_definition [refcs][csname]

CONSTRUCT SHAPE SPHERE [shape_name] pnam rads

      

This command defines a sphere using one point and a radius.


shape_name = name of the shape. If none is given a name will be generated.
pnam = centre point of the sphere.
rads = the radius of the sphere. This may be specified as a parameter
name. The shape will then be dependent on the parameter value.

The point and radius define a sphere which can be used subsequently to define intersection points, lines and surfaces, the projection of surfaces, and for projections during cursor or digitiser input of points.

Note that the position of a point defined as on a shape (or at the intersection of shapes) will be dependent on the shape definition and its position will change if the definition of the shape, or a parameter referenced in its definition, is changed.


 
Figure 2.47: Analytical Sphere
\begin{figure}
\centerline{
\psfig {figure=diagrams/crysph.ps,width=1.25in}
}\end{figure}

Examples:

1.
CONSTRUCT SHAPE SPHERE SPH1 P1 10.23

Creates a sphere called SPH1 with a centre at P1 and radius 10.23.

2.
CONSTRUCT SHAPE SPHERE SPHE P1 RDSP

Creates a sphere called SPHE with a centre at P1 and a radius as defined by the parameter RDSP.

See also the following commands

'CONSTRUCT NAME'
'CONSTRUCT PARAMETER'
'CONSTRUCT SPACE CURS-SHPE'
'GEOMETRY LINE INTERSECT'
'GEOMETRY POINT INTERSECT'
'MESHING SHAPE'
'UTILITY DELETE SHAPES'
'UTILITY TABULATE GEOMETRY SHAPES'
'VIEW SHAPE'


next up previous contents index
Next: CONSTRUCT SHAPE SURFACE NURB [shape_name] ... Up: CONSTRUCT SHAPE Previous: CONSTRUCT SHAPE PLANE [shape_name] Plane_definition [refcs][csname]

Femsys Limited
1st October 1999