public class VehicleSurfaceModel extends Object implements CrossSectionProvider, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
MULTIPLICATIVE_FACTOR
Multiplicative factor parameter name.
|
Constructor and Description |
---|
VehicleSurfaceModel(CrossSectionProvider vehicleShape)
Constructor without solar panels and with default multiplicative factor set to 1.0.
|
VehicleSurfaceModel(CrossSectionProvider vehicleShape,
RightParallelepiped solarPanels)
Constructor with default multiplicative factor set to 1.0.
|
VehicleSurfaceModel(CrossSectionProvider mainPart,
RightParallelepiped solarPanels,
double multiplicativeFactorIn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
double |
getCrossSection(Vector3D direction)
Computes the cross section from the direction
defined by a Vector3D.
|
CrossSectionProvider |
getMainPartShape()
Get the main part vehicle shape.
|
Parameter |
getMultiplicativeFactor()
Get the multiplicative factor applied to the reference surface as a parameter.
|
RightParallelepiped |
getSolarPanelsShape()
Get solar panels.
|
int |
hashCode() |
void |
setMultiplicativeFactor(double multiplicativeFactorIn)
Set the multiplicative factor applied to the reference surface.
|
String |
toString() |
public static final String MULTIPLICATIVE_FACTOR
public VehicleSurfaceModel(CrossSectionProvider vehicleShape) throws PatriusException
vehicleShape
- main part shape (cannot be null)PatriusException
- thrown if main part is nullpublic VehicleSurfaceModel(CrossSectionProvider vehicleShape, RightParallelepiped solarPanels) throws PatriusException
vehicleShape
- main part shape (cannot be null)solarPanels
- solar panels shape (it may be null)PatriusException
- thrown if main part is nullpublic VehicleSurfaceModel(CrossSectionProvider mainPart, RightParallelepiped solarPanels, double multiplicativeFactorIn) throws PatriusException
mainPart
- main part shape (cannot be null)solarPanels
- solar panels shape (it may be null)multiplicativeFactorIn
- multiplicative factor for the total vehicle surfacePatriusException
- thrown if main part is nullpublic double getCrossSection(Vector3D direction)
getCrossSection
in interface CrossSectionProvider
direction
- the direction vectorpublic Parameter getMultiplicativeFactor()
public void setMultiplicativeFactor(double multiplicativeFactorIn)
multiplicativeFactorIn
- the multiplicative factorpublic CrossSectionProvider getMainPartShape()
public RightParallelepiped getSolarPanelsShape()
Copyright © 2019 CNES. All rights reserved.