UNPKG

@doegis/core

Version:

DOE GIS API

3 lines (1 loc) 1.54 kB
import{_ as r}from"../../../../chunks/tslib.es6.js";import o from"../../../../core/Accessor.js";import{equals as t}from"../../../../core/arrayUtils.js";import{clone as s}from"../../../../core/lang.js";import{equalsMaybe as e}from"../../../../core/maybe.js";import{property as i}from"../../../../core/accessorSupport/decorators/property.js";import"../../../../core/accessorSupport/ensureType.js";import{subclass as p}from"../../../../core/accessorSupport/decorators/subclass.js";import{F as n}from"../../../../chunks/vec3.js";import{a as c}from"../../../../chunks/vec3f64.js";import{equals as a}from"../../../../geometry/support/ray.js";var m;let y=m=class extends o{constructor(r){super(r)}clone(){return new m({type:this.type,id:s(this.id),mapPoint:s(this.mapPoint),renderPoint:c(this.renderPoint),normal:s(this.normal),ray:s(this.ray),graphic:this.graphic})}equals(r){return this.type===r.type&&this.id===r.id&&e(this.mapPoint,r.mapPoint)&&n(this.renderPoint,r.renderPoint)&&t(this.normal,r.normal)&&a(this.ray,r.ray)&&this.graphic===r.graphic}};r([i()],y.prototype,"type",void 0),r([i({constructOnly:!0})],y.prototype,"id",void 0),r([i({constructOnly:!0})],y.prototype,"mapPoint",void 0),r([i({constructOnly:!0})],y.prototype,"renderPoint",void 0),r([i({constructOnly:!0})],y.prototype,"normal",void 0),r([i({constructOnly:!0})],y.prototype,"graphic",void 0),r([i({constructOnly:!0})],y.prototype,"ray",void 0),y=m=r([p("esri.views.3d.analysis.LineOfSight.LineOfSightIntersectionResult")],y);export{y as LineOfSightIntersectionResult};