`Limit commands applying to the IMO HSC criterion where the required
`area depends on the termination angle.

`If the angle of maximum RA is less than 30 or downflooding, then the
`following limits can be used:
UNITS MT
LIMIT AREA FROM 0 TO MAX AT 10 > 0.165
LIMIT AREA FROM 0 TO MAX AT 30 > 0.055
LIMIT ABSOLUTE ANGLE AT MAX > 10

`If the angle of downflooding or 30 occurs before the angle of maximum RA,
`the following technique can be used:


MACRO FINDFLD
VARIABLE FLDANG
HEEL = 0
RA /STOP:FLD /HOLD /NOPRINT
SET FLDANG = {HEEL}
HEEL = 0
/

MACRO LIM1
UNITS MT
VARIABLE T
SET T = 1.65 DIV %1
LIMIT AREA FROM 0 TO %1 > {T}
/

.FINDFLD
VARIABLE A
SET A = {FLDANG}
IF {A} > 30 THEN SET A = 30
.LIM1 {A}
lim