/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{PointConstraint as t}from"../../sketch/constraints.js";import{clone as i}from"../../sketch/normalizedPoint.js";import{FeatureSnappingCandidate as n}from"./FeatureSnappingCandidate.js";import{PointSnappingHint as r}from"../hints/PointSnappingHint.js";class o extends n{constructor(n){super({...n,constraint:new t(n.targetPoint)}),this.originalTargetPoint=n.originalTargetPoint??i(n.targetPoint)}get hints(){return[new r(this.targetPoint,this.isDraped,this.domain)]}}export{o as VertexSnappingCandidate};
