Record Class StructuralLoadPath.MemberForce
java.lang.Object
java.lang.Record
org.episteme.social.architecture.StructuralLoadPath.MemberForce
- All Implemented Interfaces:
Serializable
- Enclosing class:
StructuralLoadPath
public static record StructuralLoadPath.MemberForce(StructuralLoadPath.StructuralMember member, double axialForce, double shearForceY, double shearForceZ, double bendingMomentY, double bendingMomentZ, double torsion)
extends Record
implements Serializable
Resultant internal forces acting on a specific structural member.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMemberForce(StructuralLoadPath.StructuralMember member, double axialForce, double shearForceY, double shearForceZ, double bendingMomentY, double bendingMomentZ, double torsion) Creates an instance of aMemberForcerecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of theaxialForcerecord component.doubleReturns the value of thebendingMomentYrecord component.doubleReturns the value of thebendingMomentZrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.member()Returns the value of thememberrecord component.doubleReturns the value of theshearForceYrecord component.doubleReturns the value of theshearForceZrecord component.doubletorsion()Returns the value of thetorsionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MemberForce
public MemberForce(StructuralLoadPath.StructuralMember member, double axialForce, double shearForceY, double shearForceZ, double bendingMomentY, double bendingMomentZ, double torsion) Creates an instance of aMemberForcerecord class.- Parameters:
member- the value for thememberrecord componentaxialForce- the value for theaxialForcerecord componentshearForceY- the value for theshearForceYrecord componentshearForceZ- the value for theshearForceZrecord componentbendingMomentY- the value for thebendingMomentYrecord componentbendingMomentZ- the value for thebendingMomentZrecord componenttorsion- the value for thetorsionrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
member
Returns the value of thememberrecord component.- Returns:
- the value of the
memberrecord component
-
axialForce
public double axialForce()Returns the value of theaxialForcerecord component.- Returns:
- the value of the
axialForcerecord component
-
shearForceY
public double shearForceY()Returns the value of theshearForceYrecord component.- Returns:
- the value of the
shearForceYrecord component
-
shearForceZ
public double shearForceZ()Returns the value of theshearForceZrecord component.- Returns:
- the value of the
shearForceZrecord component
-
bendingMomentY
public double bendingMomentY()Returns the value of thebendingMomentYrecord component.- Returns:
- the value of the
bendingMomentYrecord component
-
bendingMomentZ
public double bendingMomentZ()Returns the value of thebendingMomentZrecord component.- Returns:
- the value of the
bendingMomentZrecord component
-
torsion
public double torsion()Returns the value of thetorsionrecord component.- Returns:
- the value of the
torsionrecord component
-