Class HingeNode#
Defined in File HingeNode.h
Nested Relationships#
Nested Types#
Inheritance Relationships#
Base Type#
public Karana::Dynamics::Node(Class Node)
Derived Types#
public Karana::Dynamics::HingeOnode(Class HingeOnode)public Karana::Dynamics::HingePnode(Class HingePnode)
Class Documentation#
-
class HingeNode : public Karana::Dynamics::Node#
Represents the base class for physical HingePnode and HingeOnode classes.
Subclassed by Karana::Dynamics::HingeOnode, Karana::Dynamics::HingePnode
Public Functions
-
inline virtual std::string_view typeString() const noexcept override#
Returns the type string of the HingeNode.
- Returns:
The type string.
-
inline const kc::ks_ptr<PhysicalHinge> &hinge() const#
Return the PhysicalHinge hinge the node is attached to.
- Returns:
The attached PhysicalHinge instance
Protected Functions
-
HingeNode(std::string_view name, kc::ks_ptr<PhysicalBody> bd)#
HingeNode constructor.
- Parameters:
name – - Name of the hinge node
bd – - The PhysicalBody to attach this HingeNode to
Protected Attributes
-
kc::ks_ptr<PhysicalHinge> _hinge = nullptr#
-
struct DumpOptions : public kf::Frame::DumpOptions#
Struct to manage the options for tailoring the output from the dumpString() method.
Public Functions
-
inline DumpOptions &operator=(const DumpOptions &p)#
Assignment operator.
- Parameters:
p – The DumpOptions to copy values from.
- Returns:
A reference to the newly assigned DumpOptions.
-
inline DumpOptions &operator=(const DumpOptions &p)#
-
inline virtual std::string_view typeString() const noexcept override#