Click or drag to resize

BuilderElementStraightLine Class

Abstract base class of straight linear elements like GrassBeams or GrassTrusses that live in a GH definition.
Inheritance Hierarchy

Namespace:  Karamba.Elements
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
[SerializableAttribute]
public abstract class BuilderElementStraightLine : BuilderElement, 
	ISerializable

The BuilderElementStraightLine type exposes the following members.

Constructors
  NameDescription
Protected methodBuilderElementStraightLine
Initializes a new instance of the BuilderElementStraightLine class. create builder for straight-line elements.
Protected methodBuilderElementStraightLine(Int32, Int32)
Initializes a new instance of the BuilderElementStraightLine class. define a straight line element from the indexes of its end-points.
Protected methodBuilderElementStraightLine(SerializationInfo, StreamingContext)
Initializes a new instance of the BuilderElementStraightLine class. Deserialize BuilderElementStraightLine.
Protected methodBuilderElementStraightLine(Point3, Point3)
Initializes a new instance of the BuilderElementStraightLine class. define a straight line element from two end-points.
Top
Properties
  NameDescription
Public propertybending_stiff
Gets or sets a value indicating whether bending stiffness is taken into account (turns beams into trusses and shells into membranes and vice versa).
(Inherited from BuilderElement.)
Public propertycanBuckle
Gets or sets a value indicating whether can buckle.
(Inherited from BuilderElement.)
Public propertycolor
Gets or sets user defined color of the beam-set.
(Inherited from BuilderElement.)
Public propertycrosec
Gets or sets the return cross section of the element.
(Inherited from BuilderElement.)
Public propertyEcce
Gets the nodal eccentricity of the element.
(Inherited from BuilderElement.)
Public propertyecce_glo
Gets or sets eccentricity which is defined in the global coordinate system.
(Inherited from BuilderElement.)
Public propertyecce_loc
Gets or sets eccentricity which is local to the element and can be separately set for each of them. The other types of eccentricity would be either attached to a cross section or oriented globally.
(Inherited from BuilderElement.)
Public propertyguid
Gets the the builder's identifier.
(Inherited from BuilderElement.)
Public propertyhasEccent
Gets a value indicating whether an element eccentricity is present.
(Inherited from BuilderElement.)
Public propertyid
Gets or sets the identifier (name) of the element.
(Inherited from BuilderElement.)
Public propertyids_secondary
Gets the secondary identifiers of the element.
(Inherited from BuilderElement.)
Public propertyis_active
Gets or sets a value indicating whether the element is active. If not active, the elements stiffness is reduced to such a degree that it does not influence results any more (soft-kill approach). The small remaining stiffness should however suffice to keep the system from becoming numerically kinematic.
(Inherited from BuilderElement.)
Public propertyis_valid
Gets a value indicating whether the builder element is valid.
(Overrides BuilderElementis_valid.)
Public propertyis_visible
Gets or sets a value indicating whether the element is visible: true if the element is visible on the canvas.
(Inherited from BuilderElement.)
Public propertyIsValid
Gets a value indicating whether the element is valid.
(Inherited from BuilderElement.)
Public propertylg
Gets or sets the distance of transverse load from center of shear. Is positive if the load points towards the center of shear.
Public propertymodified_height
Gets or sets the cross section height (depth) modification factor of the this element. Can be set in a GH definition with the ModifyBeam-component.
(Inherited from BuilderElement.)
Public propertymodified_thick
Gets or sets the cross section wall thickness modification factor of the this element. Can be set in a GH definition with the ModifyBeam-component.
(Inherited from BuilderElement.)
Public propertynII
Gets or sets list of nodal indexes or null.
(Inherited from BuilderElement.)
Public propertyOri
Gets or sets the orientation of the element.
(Inherited from BuilderElement.)
Public propertyparent_ind
Gets or sets index of parent element from which this element may inherit its properties (material, cross section,...) A negative value signals that there is no parent;.
(Inherited from BuilderElement.)
Public propertyPos
Gets or sets the position of the element.
(Inherited from BuilderElement.)
Public propertyUserData
Gets access to the user-data dictionary.
(Inherited from CommonObject.)
Top
Methods
  NameDescription
Public methodaccepts
Returns true if the given cross section can be applied to the element. Returns false if you test e.g. a shell cross section against a beam element.
(Overrides BuilderElementaccepts(CroSec).)
Public methodaddSecondaryID
Adds a secondary element identifier.
(Inherited from BuilderElement.)
Public methodBucklingLength
set buckling length in local direction.
Public methodBucklingLength_IsUserValue
Returns true if buckling length was set by user.
Public methodBucklingLength_Set
Sets the buckling length of the element.
Public methodBucklingLength_SetEstimate(Vector3)
sets an estimate for the buckling length in local Y-direction.
Public methodBucklingLength_SetEstimate(BuilderElementStraightLineBucklingDir, Double)
Sets an estimate for the buckling length in local Y-direction.
Public methodClone
clone the builder-element.
(Inherited from BuilderElement.)
Public methodClone(ModelElement)
clone grass-element and link it to a given model element.
(Inherited from BuilderElement.)
Public methodCloneBucklingLength
clones the list of buckling length.
Public methodCloneSecondaryIDs
clone the secondary element identifiers.
(Inherited from BuilderElement.)
Public methodCopy(BuilderElement)
copy contents of another grass-element.
(Inherited from BuilderElement.)
Public methodCopy(BuilderElementStraightLine)
fill object with data from another straight line element.
Public methoddisassembleElement
Disassemble an element into its constituents.
(Overrides BuilderElementdisassembleElement(IReadOnlyListPoint3, Line3, CroSec, ListDouble, FemMaterial, Vector3, Vector3, Plane3, NullableVector3, NullableVector3, NullableVector3, Double, Double, Double, Double, Double, NullableVector3, MessageLogger).)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetObjectData
Serializes straight line element.
(Overrides BuilderElementGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasUserData
true if the object has user-data attached.
(Inherited from CommonObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodparent_inds
return the indexes of all parents of the element.
(Inherited from BuilderElement.)
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 BuilderElementsnapElement(ListPoint3, NKDTreeDupli, MessageLogger).)
Public methodToString
Returns a string that represents the current object.
(Inherited from CommonObject.)
Top
Fields
  NameDescription
Protected field_color
user defined color of the beam-set.
(Inherited from BuilderElement.)
Protected field_eccentricity
nodal eccentricity of the element.
(Inherited from BuilderElement.)
Protected field_guid
the builder's identifier.
(Inherited from BuilderElement.)
Protected field_id
user given primary identification (name) of element.
(Inherited from BuilderElement.)
Protected field_ids_secondary
user given further identification (name) of element.
(Inherited from BuilderElement.)
Protected field_orientation
orientation of the element.
(Inherited from BuilderElement.)
Protected field_position
position of the element.
(Inherited from BuilderElement.)
Public fieldjoint
joint definition applied to the beams endpoints.
Top
See Also