UNPKG

our-medical

Version:

medical image vue component

27 lines (26 loc) 912 B
import type Shape from '@doodle3d/clipper-js'; import type { Point } from '@doodle3d/clipper-js'; /** * @description 判断输入点是否在shape的边界内或边界上 * @author jiannan.jiao * @date 16/11/2023 * @export * @param {Shape} shape * @param {Point} point * @param {boolean} [yAxisPositiveDown=true] * @returns {*} */ export declare function pointInShapeEdge(shape: Shape, point: Point, yAxisPositiveDown?: boolean): boolean; /** * @description 判断输入点是否在shape中某个path的边界内或边界上 * @author jiannan.jiao * @date 16/11/2023 * @export * @param {Shape} shape * @param {number} index * @param {Point} point * @param {boolean} [orientation=true] * @param {boolean} [yAxisPositiveDown=true] * @returns {*} */ export declare function pointInPathEdge(shape: Shape, index: number, point: Point, orientation?: boolean, yAxisPositiveDown?: boolean): boolean;