Public Member Functions | |
def | setUpClass (cls) |
def | tearDownClass (cls) |
def | test00 (self) |
def | test01 (self) |
def | test02 (self) |
def | test03 (self) |
def | test04 (self) |
def | test11 (self) |
def | test12 (self) |
def | test13 (self) |
def | test14 (self) |
def | test15 (self) |
def | test20 (self) |
def | test21 (self) |
def | test22 (self) |
def | test31 (self) |
def | test32 (self) |
def | test33 (self) |
def | test34 (self) |
def | test35 (self) |
def | test36 (self) |
def | test37 (self) |
def | test38 (self) |
def | test40 (self) |
def | test41 (self) |
def | test42 (self) |
def | test43 (self) |
def | test44 (self) |
def | test45 (self) |
def | test46 (self) |
def | test47 (self) |
def | test50 (self) |
def | test51 (self) |
def | test52 (self) |
Public Member Functions inherited from PathTests.PathTestUtils.PathTestBase | |
def | assertArc (self, edge, pt1, pt2, direction="CW") |
def | assertCircle (self, edge, pt, r) |
def | assertCoincide (self, pt1, pt2, error=0.0001) |
def | assertCommandEqual (self, c1, c2) |
def | assertConeAt (self, solid, pt, r1, r2, h) |
def | assertCurve (self, edge, p1, p2, p3) |
def | assertCylinderAt (self, solid, pt, r, h) |
def | assertEdgeShapesMatch (self, e1, e2) |
def | assertEqualLocale (self, s1, s2) |
def | assertLine (self, edge, pt1, pt2) |
def | assertLines (self, edgs, tail, points) |
def | assertPlacement (self, p1, p2) |
def | assertPointsMatch (self, pts0, pts1) |
def | assertRoughly (self, f1, f2, error=0.00001) |
def PathTests.TestPathOpTools.TestPathOpTools.setUpClass | ( | cls | ) |
def PathTests.TestPathOpTools.TestPathOpTools.tearDownClass | ( | cls | ) |
def PathTests.TestPathOpTools.TestPathOpTools.test00 | ( | self | ) |
Verify isWireClockwise for polygon wires.
References PathTests.TestPathOpTools.makeWire().
Referenced by PathTests.TestPathTool.TestPathTool.test01(), PathTests.TestPathToolController.TestPathToolController.test01(), PathTests.TestPathTooltable.TestPathTooltable.test01(), PathTests.TestPathTool.TestPathTool.test02(), and PathTests.TestPathTooltable.TestPathTooltable.test02().
def PathTests.TestPathOpTools.TestPathOpTools.test01 | ( | self | ) |
Verify isWireClockwise for single edge circle wires.
def PathTests.TestPathOpTools.TestPathOpTools.test02 | ( | self | ) |
Verify isWireClockwise for two half circle wires.
def PathTests.TestPathOpTools.TestPathOpTools.test03 | ( | self | ) |
Verify isWireClockwise for two edge wires with an arc.
def PathTests.TestPathOpTools.TestPathOpTools.test04 | ( | self | ) |
Verify isWireClockwise for unoriented wires.
def PathTests.TestPathOpTools.TestPathOpTools.test11 | ( | self | ) |
Check offsetting a circular hole.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), and PathTests.TestPathOpTools.getWireInside().
def PathTests.TestPathOpTools.TestPathOpTools.test12 | ( | self | ) |
Check offsetting a circular hole by the radius or more makes the hole vanish.
References PathTests.PathTestUtils.PathTestBase.assertRoughly(), and PathTests.TestPathOpTools.getWireInside().
def PathTests.TestPathOpTools.TestPathOpTools.test13 | ( | self | ) |
Check offsetting a cylinder succeeds.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), and PathTests.TestPathOpTools.getWireOutside().
def PathTests.TestPathOpTools.TestPathOpTools.test14 | ( | self | ) |
Check offsetting a hole with Placement.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), and PathTests.PathTestUtils.PathTestBase.assertRoughly().
def PathTests.TestPathOpTools.TestPathOpTools.test15 | ( | self | ) |
Check offsetting a cylinder with Placement.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), and PathTests.PathTestUtils.PathTestBase.assertRoughly().
def PathTests.TestPathOpTools.TestPathOpTools.test20 | ( | self | ) |
Check offsetting hole wire succeeds.
References PathTests.PathTestUtils.PathTestBase.assertLines(), and PathTests.TestPathOpTools.getWireInside().
def PathTests.TestPathOpTools.TestPathOpTools.test21 | ( | self | ) |
Check offsetting hole wire for more than it's size makes hole vanish.
References PathTests.PathTestUtils.PathTestBase.assertLines(), and PathTests.TestPathOpTools.getWireInside().
def PathTests.TestPathOpTools.TestPathOpTools.test22 | ( | self | ) |
Check offsetting a body wire succeeds.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertLines(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), and PathTests.TestPathOpTools.getWireOutside().
def PathTests.TestPathOpTools.TestPathOpTools.test31 | ( | self | ) |
Check offsetting a cylinder.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), PathTests.TestPathOpTools.getPositiveShape(), and PathTests.TestPathOpTools.getWire().
def PathTests.TestPathOpTools.TestPathOpTools.test32 | ( | self | ) |
Check offsetting a box.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), PathTests.TestPathOpTools.getPositiveShape(), and PathTests.TestPathOpTools.getWire().
def PathTests.TestPathOpTools.TestPathOpTools.test33 | ( | self | ) |
Check offsetting a triangle.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), PathTests.TestPathOpTools.getPositiveShape(), and PathTests.TestPathOpTools.getWire().
def PathTests.TestPathOpTools.TestPathOpTools.test34 | ( | self | ) |
Check offsetting a shape.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), PathTests.TestPathOpTools.getPositiveShape(), and PathTests.TestPathOpTools.getWire().
def PathTests.TestPathOpTools.TestPathOpTools.test35 | ( | self | ) |
Check offsetting a cylindrical hole.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), PathTests.TestPathOpTools.getNegativeShape(), and PathTests.TestPathOpTools.getWire().
def PathTests.TestPathOpTools.TestPathOpTools.test36 | ( | self | ) |
Check offsetting a square hole.
References PathTests.PathTestUtils.PathTestBase.assertRoughly(), PathTests.TestPathOpTools.getNegativeShape(), and PathTests.TestPathOpTools.getWire().
def PathTests.TestPathOpTools.TestPathOpTools.test37 | ( | self | ) |
Check offsetting a triangular holee.
References PathTests.PathTestUtils.PathTestBase.assertRoughly(), PathTests.TestPathOpTools.getNegativeShape(), and PathTests.TestPathOpTools.getWire().
def PathTests.TestPathOpTools.TestPathOpTools.test38 | ( | self | ) |
Check offsetting a shape hole.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), PathTests.TestPathOpTools.getNegativeShape(), and PathTests.TestPathOpTools.getWire().
def PathTests.TestPathOpTools.TestPathOpTools.test40 | ( | self | ) |
Check offsetting a single outside edge forward.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), and PathTests.TestPathOpTools.getWireOutside().
def PathTests.TestPathOpTools.TestPathOpTools.test41 | ( | self | ) |
Check offsetting a single outside edge not forward.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), and PathTests.TestPathOpTools.getWireOutside().
def PathTests.TestPathOpTools.TestPathOpTools.test42 | ( | self | ) |
Check offsetting multiple outside edges.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), and PathTests.TestPathOpTools.getWireOutside().
def PathTests.TestPathOpTools.TestPathOpTools.test43 | ( | self | ) |
Check offsetting multiple backwards outside edges.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), and PathTests.TestPathOpTools.getWireOutside().
def PathTests.TestPathOpTools.TestPathOpTools.test44 | ( | self | ) |
Check offsetting a single inside edge forward.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), and PathTests.TestPathOpTools.getWireInside().
def PathTests.TestPathOpTools.TestPathOpTools.test45 | ( | self | ) |
Check offsetting a single inside edge not forward.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), PathTests.PathTestUtils.PathTestBase.assertRoughly(), and PathTests.TestPathOpTools.getWireInside().
def PathTests.TestPathOpTools.TestPathOpTools.test46 | ( | self | ) |
Check offsetting multiple inside edges.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), and PathTests.TestPathOpTools.getWireInside().
def PathTests.TestPathOpTools.TestPathOpTools.test47 | ( | self | ) |
Check offsetting multiple backwards inside edges.
References PathTests.PathTestUtils.PathTestBase.assertCoincide(), and PathTests.TestPathOpTools.getWireInside().
def PathTests.TestPathOpTools.TestPathOpTools.test50 | ( | self | ) |
Orient an already oriented wire
References PathTests.PathTestUtils.PathTestBase.assertPointsMatch(), and PathTests.TestPathOpTools.wireMarkers().
def PathTests.TestPathOpTools.TestPathOpTools.test51 | ( | self | ) |
Orient a potentially misoriented wire
References PathTests.PathTestUtils.PathTestBase.assertPointsMatch(), and PathTests.TestPathOpTools.wireMarkers().
def PathTests.TestPathOpTools.TestPathOpTools.test52 | ( | self | ) |
Orient a potentially misoriented longer wire
References PathTests.PathTestUtils.PathTestBase.assertPointsMatch(), and PathTests.TestPathOpTools.wireMarkers().