|
FactoryLoadDistributedForceLoad Method
|
Create a new instance of a
DistributedForce on a element 1d. The load is defined by a collection of position and value couples.
Namespace:
Karamba.Factories
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntaxpublic virtual DistributedForce DistributedForceLoad(
Vector3 direction,
List<double> values,
List<double> positions,
LoadOrientation loadOrientation = LoadOrientation.global,
string lcName = "0",
List<string> beamIds = null,
List<Guid> beamGuids = null
)
Public Overridable Function DistributedForceLoad (
direction As Vector3,
values As List(Of Double),
positions As List(Of Double),
Optional loadOrientation As LoadOrientation = LoadOrientation.global,
Optional lcName As String = "0",
Optional beamIds As List(Of String) = Nothing,
Optional beamGuids As List(Of Guid) = Nothing
) As DistributedForce
public:
virtual DistributedForce^ DistributedForceLoad(
Vector3 direction,
List<double>^ values,
List<double>^ positions,
LoadOrientation loadOrientation = LoadOrientation::global,
String^ lcName = L"0",
List<String^>^ beamIds = nullptr,
List<Guid>^ beamGuids = nullptr
)
abstract DistributedForceLoad :
direction : Vector3 *
values : List<float> *
positions : List<float> *
?loadOrientation : LoadOrientation *
?lcName : string *
?beamIds : List<string> *
?beamGuids : List<Guid>
(* Defaults:
let _loadOrientation = defaultArg loadOrientation LoadOrientation.global
let _lcName = defaultArg lcName "0"
let _beamIds = defaultArg beamIds null
let _beamGuids = defaultArg beamGuids null
*)
-> DistributedForce
override DistributedForceLoad :
direction : Vector3 *
values : List<float> *
positions : List<float> *
?loadOrientation : LoadOrientation *
?lcName : string *
?beamIds : List<string> *
?beamGuids : List<Guid>
(* Defaults:
let _loadOrientation = defaultArg loadOrientation LoadOrientation.global
let _lcName = defaultArg lcName "0"
let _beamIds = defaultArg beamIds null
let _beamGuids = defaultArg beamGuids null
*)
-> DistributedForce Parameters
- direction
- Type: Karamba.GeometryVector3
Direction of the load with respect to the loadOrientation. - values
- Type: System.Collections.GenericListDouble
Values of the load. values count has to be equals to positions count. - positions
- Type: System.Collections.GenericListDouble
Positions where the load is defined. Values are always between 0 and 1.
If there are duplicated values, only the given as first will be used. - loadOrientation (Optional)
- Type: Karamba.LoadsLoadOrientation
Orientation of the load. - lcName (Optional)
- Type: SystemString
Load case to which the load belongs. - beamIds (Optional)
- Type: System.Collections.GenericListString
Identifiers of beams where the load is applied. - beamGuids (Optional)
- Type: System.Collections.GenericListGuid
Guids of beams where the load is applied.
Return Value
Type:
DistributedForce[Missing <returns> documentation for "M:Karamba.Factories.FactoryLoad.DistributedForceLoad(Karamba.Geometry.Vector3,System.Collections.Generic.List{System.Double},System.Collections.Generic.List{System.Double},Karamba.Loads.LoadOrientation,System.String,System.Collections.Generic.List{System.String},System.Collections.Generic.List{System.Guid})"]
See Also