|
LineToBeamsolve Method
|
convert lines to beams
Namespace:
Karamba.Elements
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void solve(
List<Point3> in_nodes,
List<Line3> in_curves,
bool new_nodes,
bool remove_dup,
double limit_dist,
List<Vector3> in_z_oris,
List<string> in_ids,
List<Color> in_colours,
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 List(Of Point3),
in_curves As List(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_colours 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(
List<Point3>^ in_nodes,
List<Line3>^ in_curves,
bool new_nodes,
bool remove_dup,
double limit_dist,
List<Vector3>^ in_z_oris,
List<String^>^ in_ids,
List<Color>^ in_colours,
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 : List<Point3> *
in_curves : List<Line3> *
new_nodes : bool *
remove_dup : bool *
limit_dist : float *
in_z_oris : List<Vector3> *
in_ids : List<string> *
in_colours : 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
- Type: System.Collections.GenericListPoint3
these points will be inserted at the beginning of the graphs node-list. This makes it easy to reference them by index. - in_curves
- Type: System.Collections.GenericListLine3
straight line which will be connected to others if they meet at common points. - new_nodes
- Type: SystemBoolean
if false, a line only result in an element if it connects to points given in in_node. - remove_dup
- Type: SystemBoolean
if true duplicate lines get removed - otherwise there could be two elements on the same spot which is normally not preferred. - limit_dist
- Type: SystemDouble
limit distance [m] for coincident points.
If negative, nodes of elements are tested for proximity (smaller than ABS(LDist)) to
list of points given to the input-plug only. This allows to add zero-length elements. - in_z_oris
- Type: System.Collections.GenericListVector3
Z-orientations of the beam elements. May be an empty list. - in_ids
- Type: System.Collections.GenericListString
identifiers for the element. Need not be unique in a model. - in_colours
- Type: System.Collections.GenericListColor
colour for the element. May be an empty list. - in_crosecs
- Type: System.Collections.GenericListCroSec
crosec for the element. May be an empty list. - in_bending
- Type: SystemBoolean
true if the elements have bending stiffness. In case of false they are trusses. - out_points
- Type: System.Collections.GenericListPoint3
points for the model with in_nodes coming first. - out_beams
- Type: System.Collections.GenericListBuilderBeam
beams of the model with default properties. - info
- Type: SystemString
information regarding the conversion of lines to beams.
See Also