ConnectorImpl Class Reference

#include <connector_impl.hh>

Inherits ost::GenericPropContainerImpl.

Public Member Functions

 ConnectorImpl (const EntityImplPtr &e, const AtomImplPtr &first, const AtomImplPtr &second, Real l, Real t, Real p, unsigned char bond_order)
 ~ConnectorImpl ()
AtomImplPtr GetFirst () const
AtomImplPtr GetSecond () const
geom::Vec3 GetPos () const
geom::Vec3 GetOriginalPos () const
Real GetLength () const
void SetLength (Real l)
bool IsConnectorOf (const AtomImplPtr &a, const AtomImplPtr &b) const
void Switch ()
void Apply (EntityVisitor &v)
geom::Vec3 GetDir () const
void SetDirAndLength (const geom::Vec3 &dir)
void SetDir (const geom::Vec3 &dir)
const geom::Mat3GetLocalRot () const
void SetBondOrder (unsigned char bo)
unsigned char GetBondOrder () const

Detailed Description

Definition at line 35 of file connector_impl.hh.


Constructor & Destructor Documentation

ConnectorImpl ( const EntityImplPtr e,
const AtomImplPtr first,
const AtomImplPtr second,
Real  l,
Real  t,
Real  p,
unsigned char  bond_order 
)
~ConnectorImpl (  ) 

Member Function Documentation

void Apply ( EntityVisitor v  ) 
unsigned char GetBondOrder (  )  const [inline]

Definition at line 73 of file connector_impl.hh.

geom::Vec3 GetDir (  )  const [inline]

Definition at line 61 of file connector_impl.hh.

AtomImplPtr GetFirst (  )  const [inline]

Definition at line 42 of file connector_impl.hh.

Real GetLength (  )  const
const geom::Mat3& GetLocalRot (  )  const [inline]

Definition at line 69 of file connector_impl.hh.

geom::Vec3 GetOriginalPos (  )  const
geom::Vec3 GetPos (  )  const
AtomImplPtr GetSecond (  )  const [inline]

Definition at line 43 of file connector_impl.hh.

bool IsConnectorOf ( const AtomImplPtr a,
const AtomImplPtr b 
) const
void SetBondOrder ( unsigned char  bo  )  [inline]

Definition at line 71 of file connector_impl.hh.

void SetDir ( const geom::Vec3 dir  ) 
void SetDirAndLength ( const geom::Vec3 dir  ) 
void SetLength ( Real  l  )  [inline]

Definition at line 49 of file connector_impl.hh.

void Switch (  ) 

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1