Math-Trig Sagitta by Chord and Radius

From Vectorlab
Jump to: navigation, search

Given CHORD and RADIUS of an arc, returns the length of the SAGITTA. You need to load the routine M_Trig_ArcApoByChordRadius before this. By Orso B. Schmid

{ Orso ***************************** }
{ given arc radius and chord, result is the sagitta, the distance between chord and arc perim, scalar }
FUNCTION M_Trig_ArcSagByChordRadius(chord, radius: REAL): REAL;
		{ radius - chord apothem }
		M_Trig_ArcSagByChordRadius := radius - M_Trig_ArcApoByChordRadius(chord, radius);