mirror of
				https://github.com/django/django.git
				synced 2025-11-04 05:35:37 +00:00 
			
		
		
		
	Fixed #24144 -- Documented that GEOSGeometry.envelope can return a point
Thanks Manel Clos for the report.
This commit is contained in:
		
							parent
							
								
									0af3822dc3
								
							
						
					
					
						commit
						1379165b35
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -480,7 +480,8 @@ the geometry.
 | 
				
			||||||
.. attribute:: GEOSGeometry.envelope
 | 
					.. attribute:: GEOSGeometry.envelope
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Returns a :class:`Polygon` that represents the bounding envelope of
 | 
					Returns a :class:`Polygon` that represents the bounding envelope of
 | 
				
			||||||
this geometry.
 | 
					this geometry. Note that it can also return a :class:`Point` if the input
 | 
				
			||||||
 | 
					geometry is a point.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. attribute:: GEOSGeometry.point_on_surface
 | 
					.. attribute:: GEOSGeometry.point_on_surface
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue