<commit_before>import { BBox } from '@antv/g-canvas/lib/types';
import { each } from '@antv/util'
import { IShapeBase } from '../../types';
import { Point } from '_@antv_g-base@0.3.9@@antv/g-base/lib/types';

interface PolyPoint {
  x: number,
  y: number;
  id?: string
}

export const getBBoxFromPoint = (point: PolyPoint): BBox => {
  const {
    x,
    y
  } = point;
  return {
    x,
    y,
    minX: x,
    minY: y,
    maxX: x,
    maxY: y,
    height: 0,
    width: 0
  };<commit_msg>fix: 修复point声明文件路径<commit_after>import { BBox } from '@antv/g-canvas/lib/types';
import { each } from '@antv/util'
import { IShapeBase } from '../../types';
import { Point } from '@antv/g-base/lib/types';

interface PolyPoint {
  x: number,
  y: number;
  id?: string
}

export const getBBoxFromPoint = (point: PolyPoint): BBox => {
  const {
    x,
    y
  } = point;
  return {
    x,
    y,
    minX: x,
    minY: y,
    maxX: x,
    maxY: y,
    height: 0,
    width: 0
  };
{'fraction_non_alphanumeric': 0.16580844490216273, 'fraction_numerical': 0.007209062821833162, 'mean_word_length': 2.4838709677419355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4490993', 'n_tokens_mistral': 396, 'n_tokens_neox': 396, 'n_words': 99}