The SPLINE Statement
- Last UpdatedJan 07, 2026
- 1 minute read
SPLINE,<spl_name>
[/SPLPNT=<spl_pnt>]
[/SPLTAN=(<spl_pnt>,<tang_ang>)];
<spl_name> is the name of the spline and has the type SPLINE_2D. The maximum length of <spl_name> is 32 characters.
It is possible to define the spline with or without tangent conditions in the points in the following way:
1)no tangent condition
2)tangent condition in the start point
3)tangent condition in the end point
4)tangent conditions in both start and end point
5)tangent conditions in all points
SPLPNT=<spl_pnt>
<spl_pnt> is the spline point with type POINT_2D. It is used when no tangent condition is wanted.
SPLTAN=(<spl_pnt>,<tang_ang>)
<spl_pnt> is the spline point with type POINT_2D.
<tang_ang> is the tangent angle to be used in 2) - 5) above. It has the type DECIMAL.
Structure:
|
NSEG |
(INTEGER) |
||
|
SEGPARTS(1:NSEG) |
|||
|
PNT(1:2) |
(DECIMAL) |
||
|
VEC(1:2) |
(DECIMAL) |
||
|
Example:) |
|||
|
GET/STRUCTURE=(N,<spl_name>,'NSEG' |
|||
|
/STRUCTURE=(X,<spl_name>,'PNT',N,1) |
|||
|
/STRUCTURE=(Y,<spl_name>,'VEC',N,2); |
|||