Add two similar reflected triangles.
(
self, points: list[Point], deps: EmptyDependency
)
| 2395 | ) |
| 2396 | |
| 2397 | def add_simtri2( |
| 2398 | self, points: list[Point], deps: EmptyDependency |
| 2399 | ) -> list[Dependency]: |
| 2400 | """Add two similar reflected triangles.""" |
| 2401 | add = [] |
| 2402 | hashs = [d.hashed() for d in deps.why] |
| 2403 | for args in self.enum_triangle2(points): |
| 2404 | if problem.hashed('eqangle6', args) in hashs: |
| 2405 | continue |
| 2406 | add += self.add_eqangle(args, deps=deps) |
| 2407 | |
| 2408 | for args in self.enum_triangle(points): |
| 2409 | if problem.hashed('eqratio6', args) in hashs: |
| 2410 | continue |
| 2411 | add += self.add_eqratio(args, deps=deps) |
| 2412 | |
| 2413 | return add |
| 2414 | |
| 2415 | def add_contri( |
| 2416 | self, points: list[Point], deps: EmptyDependency |
no test coverage detected