|
LineToBeamsolve Method (IEnumerablePoint3, IEnumerableIEnumerableLine3, Boolean, Boolean, Double, IEnumerableVector3, IEnumerableString, IEnumerableColor, IEnumerableCroSec, Boolean, ListPoint3, ListBuilderBeam, String)
|
Converts a list of list of lines to beams.
Namespace:
Karamba.Elements
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntaxpublic static void solve(
IEnumerable<Point3> in_nodes,
IEnumerable<IEnumerable<Line3>> in_lines,
bool new_nodes,
bool remove_dup,
double limit_dist,
IEnumerable<Vector3> in_z_oris,
IEnumerable<string> in_ids,
IEnumerable<Color> in_colors,
IEnumerable<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 IEnumerable(Of Vector3),
in_ids As IEnumerable(Of String),
in_colors As IEnumerable(Of Color),
in_crosecs As IEnumerable(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,
IEnumerable<Vector3>^ in_z_oris,
IEnumerable<String^>^ in_ids,
IEnumerable<Color>^ in_colors,
IEnumerable<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 : IEnumerable<Vector3> *
in_ids : IEnumerable<string> *
in_colors : IEnumerable<Color> *
in_crosecs : IEnumerable<CroSec> *
in_bending : bool *
out_points : List<Point3> byref *
out_beams : List<BuilderBeam> byref *
info : string byref -> unit
Parameters
- in_nodes
- Type: System.Collections.GenericIEnumerablePoint3
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
- Type: System.Collections.GenericIEnumerableIEnumerableLine3
List of input lines. - new_nodes
- Type: SystemBoolean
True in case new positions besides those in in_nodes shall be added. - remove_dup
- Type: SystemBoolean
True if lines lying on each other shall be removed. - limit_dist
- Type: SystemDouble
Limit distance for snapping together neighboring nodes. - in_z_oris
- Type: System.Collections.GenericIEnumerableVector3
Z-orientations for the beams. - in_ids
- Type: System.Collections.GenericIEnumerableString
List of beam identifiers. - in_colors
- Type: System.Collections.GenericIEnumerableColor
List of colors. - in_crosecs
- Type: System.Collections.GenericIEnumerableCroSec
List of cross sections. - in_bending
- Type: SystemBoolean
True if the element is a beam. False in case of truss elements. - out_points
- Type: System.Collections.GenericListPoint3
Position of the end-nodes of the elements. - out_beams
- Type: System.Collections.GenericListBuilderBeam
Created beam-elements. - info
- Type: SystemString
Information regarding the creation of the elements.
See Also