Arc

<ac-arc-desc />

This is an implementation of an arc. The element must be a child of ac-layer element. An arc is not Cesium natively implemented, it's a custom component that uses ac-polyline .

Usage :

1
<ac-arc-desc props="{
2
center: arc.center,
3
angle: arc.angle,
4
delta: arc.delta,
5
radius: arc.radius,
6
color : arc.color // - The color should be Cesium.Color type
7
}">
8
</ac-arc-desc>
Copied!
Description of the props :
center - The arc is a section of an outline of a circle, This is the center of the circle.
angle - the initial angle of the arc in radians
delta - the spreading of the arc.
radius - the distance from the center to the arc
For example : angle: 0 and delta: π will draw an half circle
Check the arc-layer-example.component.tsor the full stackblitz example
Last modified 2yr ago
Copy link