Billy Olsen 355bfb61c1 Use FinSet.getBoundingBox() when computing bounds
Use the FinSet.getBoundingBox() when computing the bounds for the
current configuration in FlightConfiguration.calculateBounds().
The FinSet already contains a BoundingBox method, however it returns
a larger BoundingBox than necessary to encapsulate the component.

Change the FinSet.getBoundingBox() to create a bounding box of the
smallest size to ensure a tight bounds for the FinSet. This is done
by taking each of the locations for the component and determining
where the fin tip point is and updating the BoundingBox with this
location.

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-04-19 19:15:14 -07:00
..
2016-09-27 08:10:59 -05:00
2012-12-16 00:12:44 -08:00
2016-09-27 08:10:59 -05:00
2015-03-26 06:49:54 -05:00
2013-04-16 22:55:01 +03:00
2013-04-16 22:55:01 +03:00

OpenRocket - an Open Source model rocket simulator
--------------------------------------------------

Copyright (C) 2007-2013  Sampo Niskanen and others


For license information see the file LICENSE.TXT.

For more information see http://openrocket.sourceforge.net/



To start the software run the class 

    net.sf.openrocket.startup.Startup

or from the JAR file run

    $ java -jar OpenRocket-<VERSION>.jar



Contributions have been made by:
--------------------------------

Sampo Niskanen, main developer
Doug Pedrick, support for RockSim designs, printing
Kevin Ruland, Android version
Bill Kuker, 3D visualization
Richard Graham, geodetic computations
Jason Blood, freeform fin set import
Boris du Reau, internationalization

Translations contributed by:
Tripoli France
Tripoli Spain
Stefan Lobas / ERIG
Mauro Biasutti
Sky Dart Team
Vladimir Beran
Polish Rocketry Society / Łukasz & Alex Kazanski