LineToBeamsolve(IEnumerablePoint3, IEnumerableIEnumerableLine3, Boolean, Boolean, Double, ListVector3, ListString, ListColor, ListCroSec, Boolean, ListVector3, ListPoint3, ListBuilderBeam, String) Method
Converts a list of list of lines to beams.
Namespace: Karamba.ElementsAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public static void solve(
IEnumerable<Point3> inNodes,
IEnumerable<IEnumerable<Line3>> inLines,
bool newNodes,
bool removeDup,
double limitDist,
List<Vector3> inZOris,
List<string> inIds,
List<Color> inColors,
List<CroSec> inCrosecs,
bool inBending,
List<Vector3> bklLens,
out List<Point3> outPoints,
out List<BuilderBeam> outBeams,
out string info
)
Public Shared Sub solve (
inNodes As IEnumerable(Of Point3),
inLines As IEnumerable(Of IEnumerable(Of Line3)),
newNodes As Boolean,
removeDup As Boolean,
limitDist As Double,
inZOris As List(Of Vector3),
inIds As List(Of String),
inColors As List(Of Color),
inCrosecs As List(Of CroSec),
inBending As Boolean,
bklLens As List(Of Vector3),
<OutAttribute> ByRef outPoints As List(Of Point3),
<OutAttribute> ByRef outBeams As List(Of BuilderBeam),
<OutAttribute> ByRef info As String
)
public:
static void solve(
IEnumerable<Point3>^ inNodes,
IEnumerable<IEnumerable<Line3>^>^ inLines,
bool newNodes,
bool removeDup,
double limitDist,
List<Vector3>^ inZOris,
List<String^>^ inIds,
List<Color>^ inColors,
List<CroSec^>^ inCrosecs,
bool inBending,
List<Vector3>^ bklLens,
[OutAttribute] List<Point3>^% outPoints,
[OutAttribute] List<BuilderBeam^>^% outBeams,
[OutAttribute] String^% info
)
static member solve :
inNodes : IEnumerable<Point3> *
inLines : IEnumerable<IEnumerable<Line3>> *
newNodes : bool *
removeDup : bool *
limitDist : float *
inZOris : List<Vector3> *
inIds : List<string> *
inColors : List<Color> *
inCrosecs : List<CroSec> *
inBending : bool *
bklLens : List<Vector3> *
outPoints : List<Point3> byref *
outBeams : List<BuilderBeam> byref *
info : string byref -> unit
Parameters
- inNodes IEnumerablePoint3
- Nodes which are initially added to the existing nodes. Similar nodes coming afterwards get snapped to those. The order of the positions is kept.
- inLines IEnumerableIEnumerableLine3
- List of input lines. May contain 'null'-entries which lead to 'null'-entries in the output.
- newNodes Boolean
- True in case new positions besides those in in_nodes shall be added.
- removeDup Boolean
- True if lines lying on each other shall be removed.
- limitDist Double
- Limit distance for snapping together neighboring nodes.
- inZOris ListVector3
- Z-orientations for the beams.
- inIds ListString
- List of beam identifiers.
- inColors ListColor
- List of colors.
- inCrosecs ListCroSec
- List of cross sections.
- inBending Boolean
- True if the element is a beam. False in case of truss elements.
- bklLens ListVector3
- If not null: buckling length of the elements.
- outPoints ListPoint3
- Position of the end-nodes of the elements.
- outBeams ListBuilderBeam
- Created beam-elements.
- info String
- Information regarding the creation of the elements.