2 from test_case
import TestCase
10 pts = coal.StdVec_Vec3s()
11 pts.append(np.array((0, 0, 0)))
12 pts.append(np.array((0, 1, 0)))
13 pts.append(np.array((1, 0, 0)))
14 pts.append(np.array((0, 0, 1)))
15 tri = coal.StdVec_Triangle()
25 with open(
"save.p",
"wb")
as f:
27 with open(
"save.p",
"rb")
as f:
30 self.assertTrue(obj == obj2)
51 plane =
coal.Plane(np.array([0.0, 0.0, 1.0]), 2.0)
58 if __name__ ==
"__main__":