deftest_quantity_consistency(self):""" Check that the expected relations exist between stage, elevation, height, xmom,xvel,ymom,yvel """forflowAlginflow_algorithms:if(verbose):printflowAlg self.create_domain(InitialOceanStage=1., InitialLandStage=0., flowAlg=flowAlg, verbose=verbose) pc=util...
开发者ID:MattAndersonPE,项目名称:anuga_core,代码行数:27,代码来源:run_set_elevation_polygon.py 示例4: Rate_operator ▲点赞 2▼ # 需要导入模块: from anuga import Domain [as 别名]# 或者: from anuga.Domain importget_quantity[as 别名]#---polygon1 = [ [10.0,0.0], [11.0,0.0], [11.0,5....
Edit the vertices of existing polygon geometries, such as buildings or study areas, by inputting exact coordinate values. Move the edges of a building space by inputting an offset value. Place new and existing point geometries, such as trees or street furniture in the project editor, at speci...
GL.Enable(EnableCap.Texture2D);/* To Avoid Having Z-Fighting for projecting surfaces onto another surface (Shadows) */GL.PolygonOffset(-10.0f,-25.0f);//...这里部分代码省略... 开发者ID:angjminer,项目名称:rawbots,代码行数:101,代码来源:Program.cs 示例3: LoadScmapFile ▲点赞 3▼ //......
rb.setToGeometry(g, QgsVectorLayer("Polygon?crs="+layer.crs().authid(),"","memory"))ifg.length() ==0andok: warning =TrueerrBuffer_Vertices =Trueifself.toolname =='drawCopies':ifg.length() <0: warning =TrueerrBuffer_noAtt =Trueifokandnotwarning: ...