[feat] Add a return value to BoundingBox.update(Coordinate)
This commit is contained in:
		
							parent
							
								
									3d9938640f
								
							
						
					
					
						commit
						69a338f440
					
				| @ -98,8 +98,7 @@ public class BoundingBox { | ||||
| 		return this; | ||||
| 	} | ||||
| 
 | ||||
| 
 | ||||
| 	public void update( Coordinate c ) { | ||||
| 	public BoundingBox update( Coordinate c ) { | ||||
| 		update_x_min(c.x); | ||||
| 		update_y_min(c.y); | ||||
| 		update_z_min(c.z); | ||||
| @ -107,6 +106,8 @@ public class BoundingBox { | ||||
| 		update_x_max(c.x); | ||||
| 		update_y_max(c.y); | ||||
| 		update_z_max(c.z); | ||||
| 
 | ||||
| 		return this; | ||||
| 	} | ||||
| 
 | ||||
|     public BoundingBox update( Rectangle2D rect ) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user