GravityLoad Class

Represents gravity load.

Definition

Namespace: Karamba.Loads
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
[SerializableAttribute]
public class GravityLoad : Load, 
	ISerializable
Inheritance
Object    CommonObject    Load    GravityLoad
Implements
ISerializable

Constructors

GravityLoad Initializes a new instance of the GravityLoad class. create a new default gravity load.
GravityLoad(Vector3) Initializes a new instance of the GravityLoad class. create a new gravity load.
GravityLoad(SerializationInfo, StreamingContext) Initializes a new instance of the GravityLoad class. Deserialize GravityLoad.
GravityLoad(Vector3, String) Initializes a new instance of the GravityLoad class. create a new gravity load.

Properties

BoundingBox Gets a dummy bounding box.
(Overrides LoadBoundingBox)
CharColor Gets the characteristic color of the load.
(Overrides LoadCharColor)
IsValid Gets a value indicating whether the load is valid.
(Overrides LoadIsValid)
LcName Gets or sets the load-case name.
(Inherited from Load)
UserData Gets access to the user-data dictionary.
(Inherited from CommonObject)

Methods

AcceptT(IModelLoadVisitorT, Double, T) Makes a load visitable.
(Overrides LoadAcceptT(IModelLoadVisitorT, Double, T))
AcceptT(IModelLoadVisitorT, Double, T) Makes a load visitable.
(Inherited from Load)
Clone Clones the load.
(Inherited from Load)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
generated Returns true if load was generated by a compound load like e.g. mesh-load, otherwise false.
(Inherited from Load)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetObjectData Serialize GravityLoad.
(Overrides LoadGetObjectData(SerializationInfo, StreamingContext))
GetType Gets the Type of the current instance.
(Inherited from Object)
HasUserData Checks whether the object has user-data attached.
(Inherited from CommonObject)
MaxAbsLoad Returns the characteristic value of the load.
(Overrides LoadMaxAbsLoad)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
setForce Sets the vector of gravity.
ToString Returns a string that represents the current object.
(Overrides LoadToString)

Fields

force vector of acceleration due to gravity. A vector length of "1" corresponds to gravity as on earth.
lc_name_ load-case name of the load.
(Inherited from Load)

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)

See Also