LineToBeamsolve(IEnumerablePoint3, IEnumerableIEnumerableLine3, Boolean, Boolean, Double, ListVector3, ListString, ListColor, ListCroSec, Boolean, 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> in_nodes,
IEnumerable<IEnumerable<Line3>> in_lines,
bool new_nodes,
bool remove_dup,
double limit_dist,
List<Vector3> in_z_oris,
List<string> in_ids,
List<Color> in_colors,
List<CroSec> in_crosecs,
bool in_bending,
out List<Point3> out_points,
out List<BuilderBeam> out_beams,
out string info
)
Public Shared Sub solve (
in_nodes As IEnumerable(Of Point3),
in_lines As IEnumerable(Of IEnumerable(Of Line3)),
new_nodes As Boolean,
remove_dup As Boolean,
limit_dist As Double,
in_z_oris As List(Of Vector3),
in_ids As List(Of String),
in_colors As List(Of Color),
in_crosecs As List(Of CroSec),
in_bending As Boolean,
<OutAttribute> ByRef out_points As List(Of Point3),
<OutAttribute> ByRef out_beams As List(Of BuilderBeam),
<OutAttribute> ByRef info As String
)
public:
static void solve(
IEnumerable<Point3>^ in_nodes,
IEnumerable<IEnumerable<Line3>^>^ in_lines,
bool new_nodes,
bool remove_dup,
double limit_dist,
List<Vector3>^ in_z_oris,
List<String^>^ in_ids,
List<Color>^ in_colors,
List<CroSec^>^ in_crosecs,
bool in_bending,
[OutAttribute] List<Point3>^% out_points,
[OutAttribute] List<BuilderBeam^>^% out_beams,
[OutAttribute] String^% info
)
static member solve :
in_nodes : IEnumerable<Point3> *
in_lines : IEnumerable<IEnumerable<Line3>> *
new_nodes : bool *
remove_dup : bool *
limit_dist : float *
in_z_oris : List<Vector3> *
in_ids : List<string> *
in_colors : List<Color> *
in_crosecs : List<CroSec> *
in_bending : bool *
out_points : List<Point3> byref *
out_beams : List<BuilderBeam> byref *
info : string byref -> unit
Parameters
- in_nodes 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.
- in_lines IEnumerableIEnumerableLine3
- List of input lines.
- new_nodes Boolean
- True in case new positions besides those in in_nodes shall be added.
- remove_dup Boolean
- True if lines lying on each other shall be removed.
- limit_dist Double
- Limit distance for snapping together neighboring nodes.
- in_z_oris ListVector3
- Z-orientations for the beams.
- in_ids ListString
- List of beam identifiers.
- in_colors ListColor
- List of colors.
- in_crosecs ListCroSec
- List of cross sections.
- in_bending Boolean
- True if the element is a beam. False in case of truss elements.
- out_points ListPoint3
- Position of the end-nodes of the elements.
- out_beams ListBuilderBeam
- Created beam-elements.
- info String
- Information regarding the creation of the elements.