AGX Dynamics  2.35.0.1
agxWire::Winch::WireLength Struct Reference

Internal data to store the inactive wire and the length of that wire. More...

#include <Winch.h>

Public Member Functions

 WireLength (agxWire::Wire *w, agx::Real len)
 Construct given a wire and a length. More...
 
agx::Bool isValid () const
 

Static Public Member Functions

static WireLength invalid ()
 

Public Attributes

agx::Real length
 
agxWire::WireRef wire
 

Detailed Description

Internal data to store the inactive wire and the length of that wire.

Definition at line 89 of file Winch.h.

Constructor & Destructor Documentation

◆ WireLength()

agxWire::Winch::WireLength::WireLength ( agxWire::Wire *  w,
agx::Real  len 
)
inline

Construct given a wire and a length.

Definition at line 99 of file Winch.h.

Member Function Documentation

◆ invalid()

static WireLength agxWire::Winch::WireLength::invalid ( )
inlinestatic
Returns
an invalid version of this struct

Definition at line 94 of file Winch.h.

◆ isValid()

agx::Bool agxWire::Winch::WireLength::isValid ( ) const
inline
Returns
true if valid (wire != 0 and length >= 0).

Definition at line 104 of file Winch.h.

Member Data Documentation

◆ length

agx::Real agxWire::Winch::WireLength::length

Definition at line 107 of file Winch.h.

◆ wire

agxWire::WireRef agxWire::Winch::WireLength::wire

Definition at line 106 of file Winch.h.


The documentation for this struct was generated from the following file: