LineToBeamsolve(ListPoint3, ListLine3, Boolean, Boolean, Double, ListVector3, ListString, ListColor, ListCroSec, ListVector3, Boolean, ListPoint3, ListBuilderBeam, String) Method
Converts flattened list of lines to beams.
Namespace: Karamba.ElementsAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public static void solve(
List<Point3> inNodes,
List<Line3> inLines,
bool newNodes,
bool removeDup,
double limitDist,
List<Vector3> inZOris,
List<string> inIds,
List<Color> inColours,
List<CroSec> inCrosecs,
List<Vector3> inBklLens,
bool inBending,
out List<Point3> outPoints,
out List<BuilderBeam> outBeams,
out string info
)
Public Shared Sub solve (
inNodes As List(Of Point3),
inLines As List(Of Line3),
newNodes As Boolean,
removeDup As Boolean,
limitDist As Double,
inZOris As List(Of Vector3),
inIds As List(Of String),
inColours As List(Of Color),
inCrosecs As List(Of CroSec),
inBklLens As List(Of Vector3),
inBending As Boolean,
<OutAttribute> ByRef outPoints As List(Of Point3),
<OutAttribute> ByRef outBeams As List(Of BuilderBeam),
<OutAttribute> ByRef info As String
)
public:
static void solve(
List<Point3>^ inNodes,
List<Line3>^ inLines,
bool newNodes,
bool removeDup,
double limitDist,
List<Vector3>^ inZOris,
List<String^>^ inIds,
List<Color>^ inColours,
List<CroSec^>^ inCrosecs,
List<Vector3>^ inBklLens,
bool inBending,
[OutAttribute] List<Point3>^% outPoints,
[OutAttribute] List<BuilderBeam^>^% outBeams,
[OutAttribute] String^% info
)
static member solve :
inNodes : List<Point3> *
inLines : List<Line3> *
newNodes : bool *
removeDup : bool *
limitDist : float *
inZOris : List<Vector3> *
inIds : List<string> *
inColours : List<Color> *
inCrosecs : List<CroSec> *
inBklLens : List<Vector3> *
inBending : bool *
outPoints : List<Point3> byref *
outBeams : List<BuilderBeam> byref *
info : string byref -> unit
Parameters
- inNodes ListPoint3
- these points will be inserted at the beginning of the graphs node-list. This makes it easy to reference them by index.
- inLines ListLine3
- Lines which form the basis for the beam-elements. May contain 'null'-entries which lead to 'null'-entries in the output.
- newNodes Boolean
- if false, a line only result in an element if it connects to points given in in_node.
- removeDup Boolean
- if true duplicate lines get removed - otherwise there could be two elements on the same spot which is normally not preferred.
- limitDist Double
- 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.
- inZOris ListVector3
- Z-orientations of the beam elements. May be an empty list.
- inIds ListString
- identifiers for the element. Need not be unique in a model.
- inColours ListColor
- colour for the element. May be an empty list.
- inCrosecs ListCroSec
- crosec for the element. May be an empty list.
- inBklLens ListVector3
- buckling lengths of the elements. May be an empty list.
- inBending Boolean
- true if the elements have bending stiffness. In case of false they are trusses.
- outPoints ListPoint3
- points for the model with in_nodes coming first.
- outBeams ListBuilderBeam
- beams of the model with default properties.
- info String
- information regarding the conversion of lines to beams.