Returns the distance developed by drafting at an angle over a distance. Alternatively, solves for the leg of the right triangle where length is the other leg, and angle is the opposite angle.
draft ( length As Number, _
angle As Angle ) As Number
Argument | Type | Description |
---|---|---|
length | Number | Length of side. |
angle | Number | Draft angle. |
Intent >draft(1, 5)
--> .087488663525924
A 5 degree draft over a length of 1. Intent >draft(1, 30)
--> .577350269189626
The opposite side length of a right triangle with an adjacent length of 1 and angle of 30 degrees.