A Sagitta is used extensively in architecture when calculating the arc necessary to span a certain height and distance and also in optics where it is used to find the depth of a spherical mirror or lens.
A Versine is used in navigation and railway track design.
Questions similar to these appear in the Be Communities MicroStation Programming Forum.
Q How do I create a Sagitta?
A This article describes a MicroStation VBA project that creates a sagitta. It works in two ways, either interactively or by calculation.
The macro …
The macro …
If you want to get started with using this macro, go to Download.
The starting point is a arc.
After running the macro, the result is a chord across the arc and a vertical line — the sagitta.
The macro shows how to pick the initial arc using a locate class that
Once user has picked an arc element, the locate class starts a chord creator class that
The calculation of the chords and the sagitta is straightforward, and they are displayed both in dynamics and after the final datapoint.
The length of the sagitta is measured and displayed.
Create Sagitta ZIP archive, and unpack it to a suitable location such as
Start the macro using the key-in …
vba run [Sagitta]modMain.Main
Post questions about MicroStation programming to the MicroStation Programming Forum.