1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 __docformat__ = 'reStructuredText'
20
21 from pytilities import AttributeCollectionBase
22 from .vector import Vector
25
26 """
27 `Vector` wrapper that makes the vector immutable.
28
29 It supports all immutable attributes of `Vector`. All tries to mutate the
30 vector will result in exceptions.
31
32 For `Vector` specific documentation, see `Vector`.
33 """
34
45
46 @property
49
50 @x.setter
52 assert False, "Tried to modify an immutable vector"
53
54 @property
57
58 @y.setter
60 assert False, "Tried to modify an immutable vector"
61
62 @property
65
66 @length.setter
68 assert False, "Tried to modify an immutable vector"
69
71 assert False, "Tried to modify an immutable vector"
72
74 assert False, "Tried to modify an immutable vector"
75
77 assert False, "Tried to modify an immutable vector"
78
80 assert False, "Tried to modify an immutable vector"
81
83 assert False, "Tried to modify an immutable vector"
84
86 assert False, "Tried to modify an immutable vector"
87
89 assert False, "Tried to modify an immutable vector"
90
92 assert False, "Tried to modify an immutable vector"
93