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.

Definition

Namespace: Karamba.Elements
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
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
)

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.

See Also