UNPKG

@giro3d/giro3d

Version:

A JS/WebGL framework for 3D geospatial data visualization

24 lines (22 loc) 596 B
/** * Pick result. * * Provides information from * [Three.js raycasting](https://threejs.org/docs/#api/en/core/Raycaster) * augmented with Giro3D information. * * May be extended, depending on what have been picked. */ /** * Picked vector feature * * Returned in {@link PickResult} when `pickFeatures` is enabled, * on {@link entities.Map} for instance. */ /** * Tests whether an object implements {@link VectorPickFeature}. * * @param obj - Object * @returns `true` if the object implements the interface. */ export const isVectorPickFeature = obj => obj.isVectorPickFeature;