19 #ifndef OST_CONNECTOR_IMPL_HH
20 #define OST_CONNECTOR_IMPL_HH
22 #include <boost/enable_shared_from_this.hpp>
33 namespace ost {
namespace mol {
namespace impl {
36 public boost::enable_shared_from_this<ConnectorImpl> {
78 unsigned char bond_order_;
unsigned char GetBondOrder() const
geom::Vec3 GetOriginalPos() const
boost::weak_ptr< AtomImpl > AtomImplW
const geom::Mat3 & GetLocalRot() const
boost::shared_ptr< AtomImpl > AtomImplPtr
boost::shared_ptr< EntityImpl > EntityImplPtr
bool IsConnectorOf(const AtomImplPtr &a, const AtomImplPtr &b) const
ConnectorImpl(const EntityImplPtr &e, const AtomImplPtr &first, const AtomImplPtr &second, Real l, Real t, Real p, unsigned char bond_order)
Three dimensional vector class, using Real precision.
AtomImplPtr GetSecond() const
void SetDirAndLength(const geom::Vec3 &dir)
geom::Vec3 GetDir() const
void SetDir(const geom::Vec3 &dir)
AtomImplPtr GetFirst() const
void Apply(EntityVisitor &v)
base class for the implementation
void SetBondOrder(unsigned char bo)
geom::Vec3 GetPos() const