mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
config redirect
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
declare namespace _default {
|
||||
export { node };
|
||||
export { circle };
|
||||
export { ellipse };
|
||||
export { polygon };
|
||||
export { rect };
|
||||
}
|
||||
export default _default;
|
||||
import node from "./intersect-node.js";
|
||||
import circle from "./intersect-circle.js";
|
||||
import ellipse from "./intersect-ellipse.js";
|
||||
import polygon from "./intersect-polygon.js";
|
||||
import rect from "./intersect-rect.js";
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
export default intersectCircle;
|
||||
/**
|
||||
* @param node
|
||||
* @param rx
|
||||
* @param point
|
||||
*/
|
||||
declare function intersectCircle(node: any, rx: any, point: any): {
|
||||
x: any;
|
||||
y: any;
|
||||
};
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
export default intersectEllipse;
|
||||
/**
|
||||
* @param node
|
||||
* @param rx
|
||||
* @param ry
|
||||
* @param point
|
||||
*/
|
||||
declare function intersectEllipse(node: any, rx: any, ry: any, point: any): {
|
||||
x: any;
|
||||
y: any;
|
||||
};
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
export default intersectLine;
|
||||
/**
|
||||
* Returns the point at which two lines, p and q, intersect or returns undefined if they do not intersect.
|
||||
*
|
||||
* @param p1
|
||||
* @param p2
|
||||
* @param q1
|
||||
* @param q2
|
||||
*/
|
||||
declare function intersectLine(p1: any, p2: any, q1: any, q2: any): {
|
||||
x: number;
|
||||
y: number;
|
||||
} | undefined;
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
export default intersectNode;
|
||||
/**
|
||||
* @param node
|
||||
* @param point
|
||||
*/
|
||||
declare function intersectNode(node: any, point: any): any;
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
export default intersectPolygon;
|
||||
/**
|
||||
* Returns the point ({x, y}) at which the point argument intersects with the node argument assuming
|
||||
* that it has the shape specified by polygon.
|
||||
*
|
||||
* @param node
|
||||
* @param polyPoints
|
||||
* @param point
|
||||
*/
|
||||
declare function intersectPolygon(node: any, polyPoints: any, point: any): any;
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
export default intersectRect;
|
||||
declare function intersectRect(node: any, point: any): {
|
||||
x: any;
|
||||
y: any;
|
||||
};
|
||||
Reference in New Issue
Block a user