PlateModel.AddPlate(String, Variable, Variable, Array, Array) Method

Top 

Description

Adds a new plate to the PlateModel. The plate will be configured to use cr_specular and cr_diffuse. Additionally, the plate will be configured to pivot about the primaryRotationAxis at primaryPivotPoint.

 

You must set the Spacecraft's ForceModel.SRPForceGeometry to "PlateModel" for this to have an effect.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

PlateModel.AddPlate(

String plateName,


Variable cr_specular,


Variable cr_diffuse,


Array primaryRotationAxis,


Array primaryPivotPoint)

 

 

Arguments

plateName


Description:

The name of the plate to add.

 

 

cr_specular


Description:

The coefficient of Specular Reflectivity for each of the plates in this box.

Valid Range:

0 ≤ cr_specular ≤ 1

 

 

cr_diffuse


Description:

The coefficient of Diffuse Reflectivity for each of the plates in this box.

Valid Range:

0 ≤ cr_diffuse ≤ 1

 

 

primaryRotationAxis


Description:

The primary axis of rotation use for sun tracking.

Required Size:

3

 

 

primaryPivotPoint


Description:

The primary pivot point used for sun tracking.

Required Size:

3

 

 

 

Return Value

Type:

number

 

 

Returns the index of the newly added plate.

 

Syntax

myVariable1 = myPlateModel1.AddPlate(myString1, myVariable2, myVariable3, myArray1, myArray2);

 

 

See also

PlateModel Object

PlateModel.AddPlate