Click or drag to resize

ModelElementStraightLine Methods

The ModelElementStraightLine type exposes the following members.

Methods
  NameDescription
Public methodAccept(ModelElementVisitor)
accept an element visitor
(Inherited from ModelElement.)
Public methodAcceptT(ModelElementVisitorT, T)
accept an element visitor
(Inherited from ModelElement.)
Public methodAcceptR, T(ModelElementVisitorR, T, T)
accept an element visitor
(Inherited from ModelElement.)
Public methodadd
add an element load to the element
(Inherited from ModelElement.)
Protected methodaddLoads
add loads connected to this element to its feb-element
(Inherited from ModelElement.)
Public methodaddStrainMesh
enrich the given mesh with strain data of this element
(Overrides ModelElementaddStrainMesh(ListIMesh, Model, ListDouble).)
Public methodaddStressMesh
enrich the given mesh with stress data of this element
(Overrides ModelElementaddStressMesh(ListIMesh, Model, ListDouble).)
Protected methodaddStressStrainMesh
add element results regarding stresses or strains to the given mesh
Public methodaddTo
create feb-element and add it to the feb-model
(Inherited from ModelElement.)
Public methodaddUtilizationMesh
enrich the given mesh with utilization data of this element
(Overrides ModelElementaddUtilizationMesh(ListIMesh, Model, ListDouble).)
Public methodbuckling_length
return buckling length in local y-direction or a negative number if not set
Public methodcharacteristic_length
calculate characteristic length of the element
(Inherited from ModelElement.)
Public methodclearLoads
clears the loads of the element. Make sure to clone it before clearing the loads in order to avoid side effects.
(Inherited from ModelElement.)
Public methodClone
clone the model element
(Inherited from ModelElement.)
Public methodcloneBuilderElement
Clone the grass-element on which this model-element is based and linked to
(Inherited from ModelElement.)
Public methodclonedBuilderElement
return the cloned grass-element on which this model-element is based or null
(Inherited from ModelElement.)
Public methodcog
calculate the center of gravity of the element
(Overrides ModelElementcog(Model).)
Public methodcopyFEModelNodeIndexes
update the elements node indexes with those of the underlying finite element. This is necessary when topology of the feb-model changed
(Inherited from ModelElement.)
Public methoddeformationEnergy
calculates axial deformation- and bending energy stored in the element
(Inherited from ModelElement.)
Public methoddrawCroSecForceOutput
add lines of cross section forces diagrams to curves or meshes
(Overrides ModelElementdrawCroSecForceOutput(Model, ListIMesh, ListPolyLine3, Boolean, Double, ElementStates).)
Public methodelementLength(Element)
calculates the length of the element in the karamba-model. Does not correspond to the real length in case of springs
Public methodelementLength(Model)
calculates the length of the element in the karamba-model. Does not correspond to the real length in case of springs
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodfinite_element
return a feb-element for FE-analysis
Public methodgetElementStates
determines the states in discrete points of the element
(Overrides ModelElementgetElementStates(Model, Int32, Boolean).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodhas_zero_length
return true if the beam has zero length
Public methodis_inside
checks whether a straight line element lies partly inside a given Brep
(Overrides ModelElementis_inside(IInsideBrep).)
Public methodis_vertical
returns true if element is vertical
Public methodlocalCoSys(Element)
create local coo-sys of undeformed element
(Inherited from ModelElement.)
Public methodlocalCoSys(PointState)
create local coo-sys of deformed element
(Inherited from ModelElement.)
Public methodlocalCoSys(IReadOnlyListNode)
create local coordinate system with the resultant axial rotation applied
Public methodlocalCoSys(IReadOnlyListPoint3)
create local coordinate system with resultant beam rotation about the axis given by the two positions in pos
Protected methodlocalCoSys(IReadOnlyListNode, Double)
create local coordinate system and rotate it about longitudinal axis by an angle alpha
Public methodlocalCoSys(IReadOnlyListPoint3, Double)
create local coordinate system with rotation alpha about the axis given by the two positions in pos
Public methodmaxCroSecForceOutput
returns the resultant value of the largest cross section force output. Can e.g. be used to scale graphical output.
(Overrides ModelElementmaxCroSecForceOutput(Model, Double, ElementStates).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodmidpoint_disp
return mid-point of deformed element
(Overrides ModelElementmidpoint_disp(Model, Int32).)
Public methodminmaxEpsX
determine extreme axial strains in model for the currently visible loadcase
(Overrides ModelElementminmaxEpsX(Double, Double, Model).)
Public methodnCroSec(Model)
return number of sections for visual display
Public methodnCroSec(Model, Element)
return number of sections for visual display. It depends on the user setting for maximum section length.
Public methodpointsOnAxis
creates point at given maximum distance along the axis
Public methodreferencePointOnZAxis
return reference point on local z-axis for local coordinate system being situated at first element node.
(Inherited from ModelElement.)
Public methodresultantCroSecForces
calculates resultant normal force (N), shear force (V) and moment (M) in an element
(Overrides ModelElementresultantCroSecForces(Model, Int32, Double, Double, Double).)
Public methodscaledState
return scaled state at given element, location; superimpose loadcases if lc_num is smaller than 0; unscaled loadcase for lc_num % model.numLC if lc_num >= model.numLC (is used for retrieval of beam results)
(Inherited from ModelElement.)
Public methodset_fe_and_model_index
set the element and fe_element index
(Inherited from ModelElement.)
Public methodset_is_active
set activation state of element and synchronize it with fe-model. An extra fe-model-generation step is not necessary. Is therefore fast.
(Overrides ModelElementset_is_active(Model, Boolean).)
Public methodSetNodeInds
set the node indexes of the element
(Inherited from ModelElement.)
Public methodsnapElement
change the element if nodes snap together according to the given list of node indexes. returns true if the element was completely snapped
(Overrides ModelElementsnapElement(ListNode, Double).)
Public methodsplit_elem
The element with index ind is the seed of an element split. Make all splits in the model that are necessary so that feb-model and model are synchronized.
(Inherited from ModelElement.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodtotalEccentricity
returns the eccentricity of the element in global coordinates
(Overrides ModelElementtotalEccentricity(Model).)
Public methodweight
return weight of the element in kN
(Inherited from ModelElement.)
Public methodx_direction(Node, Node)
Calculate the axial direction vector of the element.
Public methodx_direction(Point3, Point3)
Calculate the axial direction vector of the element.
Public methodx_unit_vector
generate unit vector in axial direction
Top
See Also