Click or drag to resize

Utils Class

Class that contains various utilities as methods
Inheritance Hierarchy
SystemObject
  Karamba.UtilitiesUtils

Namespace:  Karamba.Utilities
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static class Utils

The Utils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberaddElemIDsToCroSecs
add element identifiers to a list of cross sections if the number of cross sections is smaller than the list of element identifiers then the remaining identifiers are all added to the last cross section in case that there are more cross sections than identifiers the list of identifiers is blown up
Public methodStatic memberblowUpT(ListT, DataTreeStructure)
Copy last element of list so that list has as many elements as there are branches
Public methodStatic memberblowUpT(ListT, Int32)
Copy last element of list so that list has s elements
Public methodStatic memberblowUpT(ListListT, T, DataTreeStructure)
Copy last element of list so that list has s elements
Public methodStatic memberconvert
convert fem coordinate system to array of Vector3 (x,y,z-axis in global coordinates)
Public methodStatic membercrosssectionsPath
directory name of the karamba3d-crosssections-folder
Public methodStatic membergenerateBeamMesh
Connect vertices of given mesh with faces. Is used to produce meshes for rendering beam cross sections. Each cross section is composed of groups of vertices. Vertices of different sections need to be connected.
Public methodStatic memberhandleError
handle an error originating from a FE-model-calculation
Public methodStatic memberkarambaDir
directory name of the karamba-folder
Public methodStatic membermaterialsPath
directory name of the karamba3d-materials-folder
Public methodStatic memberPluginPath
return path to the folder where the Karamba folder resides.
Public methodStatic memberPluginPathExe
plug-in path relative to the executed dll. Is incorrect in case Rhino gets used inside other programs
Public methodStatic memberremoveComment
returns string with everything removed that comes after '#'
Public methodStatic memberRemoveNonPrintableCharacters
removes non-printable characters from a string
Public methodStatic memberremoveNonVisibleCharacters(ListString)
removes invisible characters from a list of strings
Public methodStatic memberremoveNonVisibleCharacters(String)
removes invisible characters from a string
Public methodStatic membersetElemIDsAtCroSecs
set element identifiers at a list of cross sections if the number of cross sections is smaller than the list of element identifiers then the remaining identifiers are all added to the last cross section in case that there are more cross sections than identifiers the list of identifiers is blown up
Public methodStatic memberToDeg
Convert angle in radians to degree
Public methodStatic memberToRad
Convert angle in degree to radians
Public methodStatic membervalueDistributionType
convert string into feb.ValueDistributionType
Public methodStatic memberVectReal(VectReal)
Converts C++ 3d-vector into a list of doubles
Public methodStatic memberVectReal(ListDouble)
Converts a list of doubles into a C++ 3d-vector
Top
Fields
  NameDescription
Public fieldStatic memberverticality_tol
tolerance for a line to be vertical
Top
See Also