mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
small python fixes
This commit is contained in:
parent
fe356ab3ca
commit
3d1bd29d3e
@ -42,8 +42,8 @@ def MakeCircle (geo, c, r, **args):
|
||||
|
||||
SplineGeometry.AddCircle = lambda geo, c, r, **args : MakeCircle(geo, c, r, **args)
|
||||
SplineGeometry.AddRectangle = lambda geo, p1, p2, **args : MakeRectangle(geo, p1, p2, **args)
|
||||
SplineGeometry.AddSegment = SplineGeometry.Append
|
||||
SplineGeometry.AddPoint = SplineGeometry.AppendPoint
|
||||
SplineGeometry.AddSegment = lambda *args, **kwargs : SplineGeometry.Append(*args, **kwargs)
|
||||
SplineGeometry.AddPoint = lambda *args, **kwargs : SplineGeometry.AppendPoint(*args, **kwargs)
|
||||
|
||||
|
||||
__all__ = ['SplineGeometry', 'unit_square']
|
||||
|
Loading…
Reference in New Issue
Block a user