You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
WebCAD/__test__/Line/__snapshots__/line.test.ts.snap

134 lines
1.7 KiB

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`拉伸直线的夹点 1`] = `
Vector3 {
"x": 0,
"y": 10,
"z": 0,
}
`;
exports[`拉伸直线的夹点 2`] = `
Vector3 {
"x": 10,
"y": 5,
"z": 0,
}
`;
exports[`拉伸直线的夹点 3`] = `
Vector3 {
"x": 0,
"y": 10,
"z": 0,
}
`;
exports[`拉伸直线的夹点 4`] = `
Vector3 {
"x": 15,
"y": 5,
"z": 0,
}
`;
exports[`最近点 1`] = `
Vector3 {
"x": -2.4999999999999996,
"y": -2.4999999999999996,
"z": 0,
}
`;
exports[`最近点 2`] = `
Vector3 {
"x": 0,
"y": 0,
"z": 0,
}
`;
exports[`直线偏移 1`] = `
Vector3 {
"x": -6.123233995736766e-16,
"y": 10,
"z": 0,
}
`;
exports[`直线偏移 2`] = `
Vector3 {
"x": 4.999999999999999,
"y": 10,
"z": 0,
}
`;
exports[`直线偏移 3`] = `
Vector3 {
"x": -7.0710678118654755,
"y": 7.071067811865475,
"z": 0,
}
`;
exports[`直线偏移 4`] = `
Vector3 {
"x": -2.0710678118654755,
"y": 12.071067811865476,
"z": 0,
}
`;
exports[`直线偏移 5`] = `
Vector3 {
"x": 7.0710678118654755,
"y": -7.071067811865475,
"z": 0,
}
`;
exports[`直线偏移 6`] = `
Vector3 {
"x": 12.071067811865476,
"y": -2.0710678118654746,
"z": 0,
}
`;
exports[`直线偏移 7`] = `
Vector3 {
"x": -7.071067811865477,
"y": 7.071067811865475,
"z": 0,
}
`;
exports[`直线偏移 8`] = `
Vector3 {
"x": -12.071067811865477,
"y": 2.0710678118654746,
"z": 0,
}
`;
exports[`直线偏移 9`] = `
Vector3 {
"x": 7.071067811865477,
"y": -7.071067811865475,
"z": 0,
}
`;
exports[`直线偏移 10`] = `
Vector3 {
"x": 2.0710678118654773,
"y": -12.071067811865476,
"z": 0,
}
`;
exports[`直线参数 1`] = `-0.9999999999999999`;
exports[`直线参数 2`] = `1.9999999999999998`;