This shows you the differences between two versions of the page.
ivac2:firdef_map_polyarc [2013/12/04 01:10] 127.0.0.1 external edit |
ivac2:firdef_map_polyarc [2017/04/08 14:27] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[ivac2:firdef_toc|Back]] | ||
- | |||
- | ====== polyarc element ====== | ||
- | |||
- | |||
- | ^Element|polyarc|| | ||
- | ^Attribute^Format^Remarks^ | ||
- | |radius|float|radius of the arc in nautical miles| | ||
- | |segments|integer|number of segments to draw| | ||
- | |clockwise|boolean|Draw arc clockwise if “true” (default: true)| | ||
- | |stipple|integer|stipple line bitwise pattern definition| | ||
- | |width|float|line width in pixels| | ||
- | |color|string|color id name| | ||
- | |r|byte|color RGB value (0-255)| | ||
- | |g|byte|color RGB value (0-255)| | ||
- | |b|byte|color RGB value (0-255)| | ||
- | |||
- | |||
- | draw a filled arc with center position <point1> and given radius from <point2> to <point3> in a clockwise direction using the amount of segments given. | ||
- | |||
- | Three <point> elements are required. | ||
- | |||
- | |||
- | |||
- | ===== example ===== | ||
- | |||
- | ''//Brussels CTR: | ||
- | 504434N 0043404E - an arc of circle, 10 NM radius, centered on 505405N 0042904E | ||
- | and traced clockwise to 505203N 0044435E - 504434N 0043404E.//'' | ||
- | |||
- | <polyarc radius="10" segments="45" clockwise="true"> | ||
- | <point lat="N0505405" lon="E0042904"/> | ||
- | <point lat="N0505203" lon="E0044435"/> | ||
- | <point lat="N0504434" lon="E0043404"/> | ||
- | </polyarc> | ||