Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

LINE

  • Last UpdatedJan 05, 2024
  • 1 minute read

Purpose

To fit a straight segment within the current curve.

Syntax

LINE < /PERMANENT >

Description

There are two methods for introducing a straight line segment within a curve. The first is a manipulation of the mathematics of the curve, similar in concept to the ADJUST command, and the other is by the adding special points which control the fitting algorithm.

Command Qualifiers

None

In this method the straight line segment within the curve is achieved by making the coefficients of the B-Spline co-linear. The user is required to select the two vertex points between which the coefficients should be adjusted. In order to achieve a straight line there should strictly be two intermediate vertex points between the selected ones.

As this is a direct manipulation of the mathematics of the B-Spline curve the PREFIT command should NOT be used after the LINE command. If the PREFIT command is issued the curve will be re-fit through the original data points and the straight line segment will be lost.

Note that the straight line does not necessarily start and end at specific data points ( unless they are Knuckles ) because this is a manipulation of the B-Spline mathematics.

/PERMANENT

In this method the straight line segment within the curve is achieved by making two user selected points into Tangent/Knuckle points and assigning an Angle to these points. Any intervening points are automatically REMOVED and the angle calculated is such that when a PREFIT takes place the segment between the two points is a straight line.

Examples

LINE
LINE /PERMANENT

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in