OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
ConnectorImpl Class Reference

#include <connector_impl.hh>

Inherits 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
- Public Member Functions inherited from GenericPropContainerImpl
 GenericPropContainerImpl ()
 ~GenericPropContainerImpl ()
 GenericPropContainerImpl (const GenericPropContainerImpl &rhs)
GenericPropContainerImploperator= (const GenericPropContainerImpl &r)
GenericPropValueGenericProp (const String &key)
const GenericPropValueGenericProp (const String &key) const
bool HasProp (const String &key) const
void ClearProps ()
void RemoveProp (const String &key)
void Assign (const GenericPropContainerImpl &impl)
PropertyMap GetPropMap () const
std::vector< StringGetPropList () 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 
)

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: