@aibee/crc-bmap 0.0.135 → 0.0.137
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bmap.cjs.min.js +48 -44
- package/lib/bmap.cjs.min.js.map +3 -3
- package/lib/bmap.esm.js +115 -88
- package/lib/bmap.esm.js.map +3 -3
- package/lib/bmap.esm.min.js +48 -44
- package/lib/bmap.esm.min.js.map +3 -3
- package/lib/bmap.min.js +48 -44
- package/lib/bmap.min.js.map +3 -3
- package/lib/src/elements/wall.d.ts +0 -3
- package/lib/src/utils/coordinate.d.ts +9 -2
- package/package.json +1 -1
|
@@ -21,8 +21,6 @@ export declare class Wall extends Object3D {
|
|
|
21
21
|
lineGeometry?: BufferGeometry;
|
|
22
22
|
Mesh?: Mesh;
|
|
23
23
|
LineMesh?: LineSegments;
|
|
24
|
-
maxWorldPoint: Vector3;
|
|
25
|
-
minWorldPoint: Vector3;
|
|
26
24
|
constructor(context: Context, options: WallOptions[]);
|
|
27
25
|
initGeometry(): void;
|
|
28
26
|
initMaterial(): void;
|
|
@@ -31,6 +29,5 @@ export declare class Wall extends Object3D {
|
|
|
31
29
|
initLineGeometry(): void;
|
|
32
30
|
createBorder(): LineSegments<BufferGeometry<import("three").NormalBufferAttributes>, LineBasicMaterial>;
|
|
33
31
|
init(): void;
|
|
34
|
-
changeWorldPoint(max: Vector3, min: Vector3): void;
|
|
35
32
|
dispose(): void;
|
|
36
33
|
}
|
|
@@ -32,11 +32,18 @@ export declare function getPathLength(path: [number, number][]): number;
|
|
|
32
32
|
export declare function calc_angle(p0: [number, number], p1: [number, number], p2: [number, number]): number;
|
|
33
33
|
export declare function getMinEdgeSquare(cds: [number, number][][], center?: [number, number]): [number, number][][];
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* 获取点所在边的下标
|
|
36
36
|
* @param A
|
|
37
37
|
* @param B
|
|
38
38
|
* @param P
|
|
39
39
|
* @returns
|
|
40
40
|
*/
|
|
41
|
-
export declare function
|
|
41
|
+
export declare function getPointEdgeIndex(coords: Coordinate[], P: Coordinate): number;
|
|
42
|
+
/**
|
|
43
|
+
* 判断一个点是不是在多边形内
|
|
44
|
+
* @param point
|
|
45
|
+
* @param vertices
|
|
46
|
+
* @returns
|
|
47
|
+
*/
|
|
48
|
+
export declare function isPointInPolygon(point: Coordinate, vertices: Coordinate[]): boolean;
|
|
42
49
|
export {};
|