next up previous contents index
Next: GEOMETRY MOVE part trkey [definition] or: Up: GEOMETRY LINE Control Previous: GEOMETRY LINE SPLINE [lnam] pnam1 pnam2

GEOMETRY LINE STRAIGHT [lnam] pnam1 pnam2 [divn]

      

This command defines a straight line using two points.


lnam = name of the line, used for later references to the line.
pnam1 = name of a point which defines the start point of the line.
pnam2 = name of a point which defines the end point of the line.
divn = integer which specifies how many nodes are to be placed along the line.
If omitted a default of four divisions (ie Five nodes) is assumed.
The default number of divisions can be reset using the command
MESHING DIVISION DEFAULT.


 
Figure 2.81: Definition of a straight line
\begin{figure}
\centerline{
\psfig {figure=diagrams/linestr.ps,width=1.5in}
}\end{figure}

Return Level: GEOMETRY LINE

Examples:

1.
GEOMETRY LINE STRAIGHT L1 P1 P2

Creates a straight line L1 with end points P1 and P2, with the default number of divisions.

2.
GEOMETRY LINE STRAIGHT L1 P1 P2 -306

Creates a straight line L1 with end points P1 and P2, with 6 divisions biased towards P1. The ratio of the lengths of the last division to the first division is 3, see command MESHING DIVISION for more information on this.

See also the following commands

'LABEL GEOMETRY LINES'
'UTILITY DELETE LINES'
'UTILITY TABULATE GEOMETRY LINES'
'VIEW GEOMETRY'

     


next up previous contents index
Next: GEOMETRY MOVE part trkey [definition] or: Up: GEOMETRY LINE Control Previous: GEOMETRY LINE SPLINE [lnam] pnam1 pnam2

Femsys Limited
1st October 1999