⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spatialobject.ctxt

📁 Java source code for the Ant Colony Optimization Problem.
💻 CTXT
字号:
#BlueJ class context
comment0.target=class\ SpatialObject
comment0.text=Class\ for\ defining\ spatial\ objects.\ All\ such\ spatial\nobjects\ have\ some\ geographical\ footprint\ and\ can\ compare\nthemselves\ with\ other\ geographical\ footprints.\n@author\ Jo\ Wood\n@version\ 1.4,\ 22nd\ October,\ 2001.\n\n
comment1.params=
comment1.target=Header\ getHeader()
comment1.text=Reports\ the\ header\ information\ associated\ with\ this\ object.\n@return\ Header\ information\ (title,\ copyright\ etc).\n\n
comment10.target=header
comment11.params=
comment11.target=Footprint\ getBounds()
comment11.text=Returns\ the\ 2d\ bounding\ rectangle\ of\ the\ object.\n@return\ Minimum\ enclosing\ rectangle\ of\ object.\n\n
comment12.params=
comment12.target=int\ getType()
comment12.text=Reports\ the\ type\ of\ spatial\ object.\n@return\ Type\ of\ spatial\ object\ (e.g.\ SpatialModel.LINE,\ \nSpatialModel.AREA\ etc.).\n\n
comment13.params=fp
comment13.target=float\ getAttribute(Footprint)
comment13.text=Reports\ the\ attribute\ of\ the\ object\ at\ the\ given\ location.\n@param\ fp\ Location\ to\ query.\n@return\ Attribute\ at\ given\ location\ or\ NO_VALUE\ if\ none\ defined.\n\n
comment14.params=footprint
comment14.target=void\ setBounds(Footprint)
comment14.text=Sets\ the\ bounding\ rectangle\ of\ this\ object.\n@param\ footprint\ Spatial\ footprint\ to\ assign\ to\ this\ object.\n\n
comment15.params=
comment15.target=SpatialPanel\ createPanel()
comment15.text=Creates\ a\ panel\ onto\ which\ this\ object\ may\ be\ drawn.\n@return\ Panel\ onto\ which\ this\ object\ may\ be\ drawn.\n\n
comment16.target=footprint
comment2.params=otherFp
comment2.target=Footprint\ getUnionMER(Footprint)
comment2.text=Calculates\ the\ MER\ of\ the\ union\ of\ the\ given\ footprint\ with\ this\ MER.\n@param\ otherFp\ Footprint\ of\ object\ to\ union\ with\ this\ MER.\n\n
comment3.params=other
comment3.target=int\ compare(SpatialModel)
comment3.text=Makes\ a\ spatial\ comparison\ between\ this\ object\ and\ another.\ Assumes\nthat\ both\ objects\ are\ rectangular.\n@param\ other\ Spatial\ model\ with\ which\ to\ make\ a\ comparison.\n@return\ One\ of\ five\ topologic\ relations\ (WITHIN,\ MATCHES,\ OVERLAPS,\nENCLOSES,\ or\ SEPARATE).\n\n
comment4.params=
comment4.target=String\ toString()
comment4.text=Reports\ the\ details\ of\ this\ spatial\ object.\n@return\ Summary\ of\ this\ spatial\ object.\n\n
comment5.params=
comment5.target=SpatialObject()
comment5.text=Creates\ a\ spatial\ object\ with\ a\ default\ spatial\ footprint.\n\n
comment6.params=footprint
comment6.target=SpatialObject(Footprint)
comment6.text=Creates\ an\ spatial\ object\ with\ the\ given\ spatial\ footprint.\n@param\ footprint\ Spatial\ footprint\ of\ this\ object.\n\n
comment7.params=footprint\ header
comment7.target=SpatialObject(Footprint,Header)
comment7.text=Creates\ an\ spatial\ object\ with\ the\ given\ spatial\ footprint\ and\ header.\n@param\ footprint\ Spatial\ footprint\ of\ this\ object.\n@param\ header\ Header\ associated\ with\ this\ spatial\ object.\n\n
comment8.params=newHeader
comment8.target=void\ setHeader(Header)
comment8.text=Sets\ a\ new\ the\ header\ to\ be\ associated\ with\ this\ object.\n@param\ newHeader\ New\ header\ information\ (title,\ copyright\ etc).\n\n
comment9.params=xOffset\ yOffset
comment9.target=void\ move(float,float)
comment9.text=Moves\ the\ spatial\ object\ relatively\ by\ the\ given\ x,y\ coordinates.\n@param\ xOffset\ Offset\ in\ the\ x\ direction.\n@param\ yOffset\ Offset\ in\ the\ y\ direction.\n\n
numComments=17

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -