diff options
Diffstat (limited to 'mesh_inset')
-rw-r--r-- | mesh_inset/geom.py | 4 | ||||
-rw-r--r-- | mesh_inset/model.py | 4 | ||||
-rw-r--r-- | mesh_inset/triquad.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/mesh_inset/geom.py b/mesh_inset/geom.py index dce2a818..4d3e652b 100644 --- a/mesh_inset/geom.py +++ b/mesh_inset/geom.py @@ -454,7 +454,7 @@ class TransformMatrix(object): [ a b 0 ] [ c d 0 ] [ e f 1 ] - and coordinate tranformation is defined by: + and coordinate transformation is defined by: [x' y' 1] = [x y 1] x TransformMatrix Attributes: @@ -501,7 +501,7 @@ class TransformMatrix(object): self.f = newf def Apply(self, pt): - """Return the result of applying this tranform to pt = (x,y). + """Return the result of applying this transform to pt = (x,y). Arguments: (x, y) : (float, float) diff --git a/mesh_inset/model.py b/mesh_inset/model.py index a3eb2aac..446a7c4c 100644 --- a/mesh_inset/model.py +++ b/mesh_inset/model.py @@ -413,8 +413,8 @@ def _GetFaceGraph(faces, edges, vtoe, points): face_adj = [[] for i in range(len(faces))] is_interior_edge = [False] * len(edges) for e, ((vs, ve), f) in enumerate(edges): - for othere in vtoe[ve]: - ((_, we), g) = edges[othere] + for other in vtoe[ve]: + ((_, we), g) = edges[other] if we == vs: # face g is adjacent to face f # TODO: angle check diff --git a/mesh_inset/triquad.py b/mesh_inset/triquad.py index 0c4fc84a..b94da8b0 100644 --- a/mesh_inset/triquad.py +++ b/mesh_inset/triquad.py @@ -520,7 +520,7 @@ def _ReveresedEdges(tris, td, bord, points): def _IsReversed(e, td, points): """If e=(a,b) is a non-border edge, with left-face triangle tl and right-face triangle tr, then it is 'reversed' if the circle through - a, b, and (say) the other vertex of tl containts the other vertex of tr. + a, b, and (say) the other vertex of tl contains the other vertex of tr. td is a _TriDict, for finding triangles containing edges, and points gives the coordinates for vertex indices used in edges.""" |