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__/Geometry/__snapshots__/intersect.test.ts.snap

202 lines
3.4 KiB

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`三维空间圆圆相交测试 1`] = `
Array [
Object {
"argParam": 0.4536333241402826,
"pt": Vector3 {
"x": 3.8465654731285666,
"y": -0.48984005103149847,
"z": 0.3777515851723183,
},
"thisParam": 0.7716603782612834,
},
Object {
"argParam": 0.24200297426269035,
"pt": Vector3 {
"x": 4.518686772594938,
"y": -2.26435797895917,
"z": -0.09066385360916496,
},
"thisParam": 0.9239759201416895,
},
]
`;
exports[`三维空间圆圆相交测试 2`] = `
Array [
Object {
"argParam": 0.7097846883724168,
"pt": Vector3 {
"x": 1.25,
"y": -4.841229182759271,
"z": 0,
},
"thisParam": 0.7902153116275832,
},
Object {
"argParam": 0.29021531162758313,
"pt": Vector3 {
"x": 1.25,
"y": 4.841229182759271,
"z": 0,
},
"thisParam": 0.2097846883724169,
},
]
`;
exports[`三维空间圆圆相交测试 3`] = `
Array [
Object {
"argParam": 0.7097846883724168,
"pt": Vector3 {
"x": 1.25,
"y": 0,
"z": -4.841229182759271,
},
"thisParam": 0.7902153116275832,
},
Object {
"argParam": 0.29021531162758313,
"pt": Vector3 {
"x": 1.25,
"y": 0,
"z": 4.841229182759271,
},
"thisParam": 0.2097846883724169,
},
]
`;
exports[`三维空间圆圆相交测试 4`] = `
Array [
Object {
"argParam": -0.6390032202422545,
"pt": Vector3 {
"x": 0,
"y": -11.313088368701884,
"z": -9.556275638274851,
},
"thisParam": 1.734018071788813,
},
Object {
"argParam": 0.27309309551812694,
"pt": Vector3 {
"x": 0,
"y": -9.579281670837858,
"z": -2.8986776905615708,
},
"thisParam": 0.8053579264405307,
},
]
`;
exports[`三维空间圆圆相交测试 5`] = `Array []`;
exports[`三维空间直线和圆相交测试 1`] = `
Array [
Vector3 {
"x": 7.265045456946406,
"y": 0,
"z": 1.5147084845720027,
},
Vector3 {
"x": 3.9357458826357803,
"y": 0,
"z": 4.789429377336553,
},
]
`;
exports[`三维空间直线和圆相交测试 2`] = `
Array [
Vector3 {
"x": -3.622627029705465,
"y": -3.4462404738565997,
"z": 0,
},
Vector3 {
"x": -3.622627029705464,
"y": 3.446240473856601,
"z": 0,
},
]
`;
exports[`三维空间直线和圆相交测试 3`] = `
Array [
Vector3 {
"x": 9.796270630192112,
"y": -13.16305455920182,
"z": 4.841809080303142,
},
Vector3 {
"x": 9.796270630192113,
"y": -6.270573611488619,
"z": 4.841809080303142,
},
]
`;
exports[`三维空间直线和圆相交测试 4`] = `
Array [
Vector3 {
"x": 12.384261138056765,
"y": -13.16305455920182,
"z": 6.346016491847222,
},
Vector3 {
"x": 12.384261138056765,
"y": -6.27057361148862,
"z": 6.346016491847221,
},
]
`;
6 years ago
exports[`三维空间直线相交测试 1`] = `
Vector3 {
"x": 5,
"y": 5,
"z": 5,
}
6 years ago
`;
exports[`三维空间直线相交测试 2`] = `undefined`;
6 years ago
exports[`三维空间直线相交测试 3`] = `
Vector3 {
"x": 5,
"y": 5,
"z": 5,
}
6 years ago
`;
exports[`直线和圆相切 1`] = `
Array [
Vector3 {
"x": 34450.21257120082,
"y": 3606.7814824644443,
"z": 0,
},
]
`;
exports[`相交测试 1`] = `
Vector3 {
"x": 0.5,
"y": 0,
"z": 0,
}
`;
exports[`相交测试 2`] = `undefined`;
exports[`相交测试 3`] = `
Vector3 {
"x": 0.5,
"y": 5,
"z": 0,
}
`;