|
FactoryPartIndexToBeam Method
|
Create a beam builder from node indexes
Namespace:
KarambaCommon.Factories
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic virtual BuilderBeam IndexToBeam(
int in_ind_a,
int in_ind_b,
string identifier,
CroSec crosec = null,
Nullable<Vector3> zOri = null,
Nullable<Color> color = null
)
Public Overridable Function IndexToBeam (
in_ind_a As Integer,
in_ind_b As Integer,
identifier As String,
Optional crosec As CroSec = Nothing,
Optional zOri As Nullable(Of Vector3) = Nothing,
Optional color As Nullable(Of Color) = Nothing
) As BuilderBeam
public:
virtual BuilderBeam^ IndexToBeam(
int in_ind_a,
int in_ind_b,
String^ identifier,
CroSec^ crosec = nullptr,
Nullable<Vector3> zOri = nullptr,
Nullable<Color> color = nullptr
)
abstract IndexToBeam :
in_ind_a : int *
in_ind_b : int *
identifier : string *
?crosec : CroSec *
?zOri : Nullable<Vector3> *
?color : Nullable<Color>
(* Defaults:
let _crosec = defaultArg crosec null
let _zOri = defaultArg zOri null
let _color = defaultArg color null
*)
-> BuilderBeam
override IndexToBeam :
in_ind_a : int *
in_ind_b : int *
identifier : string *
?crosec : CroSec *
?zOri : Nullable<Vector3> *
?color : Nullable<Color>
(* Defaults:
let _crosec = defaultArg crosec null
let _zOri = defaultArg zOri null
let _color = defaultArg color null
*)
-> BuilderBeam Parameters
- in_ind_a
- Type: SystemInt32
Index of the starting node - in_ind_b
- Type: SystemInt32
index of the end node - identifier
- Type: SystemString
Name of the element - crosec (Optional)
- Type: Karamba.CrossSectionsCroSec
Cross section of the element - zOri (Optional)
- Type: SystemNullableVector3
New orientation of the local Z-axis of beam. If the vector has zero length, the default orientation
remains in place. - color (Optional)
- Type: SystemNullableColor
Color of the beam. The component applies the longest list principle with respect to the input lines.
Return Value
Type:
BuilderBeamBeam builders
See Also