@greenmice/ngx-cesium
Version:
Angular library for working with Cesium.
41 lines (40 loc) • 1.73 kB
TypeScript
import { LayerService } from '../../services/layer-service/layer-service.service';
import { CesiumProperties } from '../../services/cesium-properties/cesium-properties.service';
import { ComputationCache } from '../../services/computation-cache/computation-cache.service';
import { ArcDrawerService } from '../../services/drawers/arc-drawer/arc-drawer.service';
import { BasicDesc } from '../../services/basic-desc/basic-desc.service';
import * as i0 from "@angular/core";
/**
* This is an implementation of an arc.
* The element must be a child of ac-layer element.
* An arc is not cesium natively implemented and therefore it's API doesn't appear anywhere
*
* __Usage :__
* ```
* <ac-arc-desc props="{
* center: arc.center,
* angle: arc.angle,
* delta: arc.delta,
* radius: arc.radius,
* color : arc.color - The color should be Cesium.Color type
* }">
* </ac-arc-desc>
* ```
*
* 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
* delta - π
*
* will draw an half circle
*/
export declare class AcArcDescComponent extends BasicDesc {
constructor(arcDrawer: ArcDrawerService, layerService: LayerService, computationCache: ComputationCache, cesiumProperties: CesiumProperties);
static ɵfac: i0.ɵɵFactoryDeclaration<AcArcDescComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<AcArcDescComponent, "ac-arc-desc", never, {}, {}, never, never, false, never>;
}