Lines Matching refs:m_endAtom

44 #define CHECKFORATOMS if (!m_beginAtom || !m_endAtom || !molecule())
67 m_endAtom(0) in Bond()
84 m_endAtom(0) in Bond()
94 qreal w = m_endAtom->x() - m_beginAtom->x(); in boundingRect()
95 qreal h = m_endAtom->y() - m_beginAtom->y(); in boundingRect()
109 mapFromParent(m_endAtom->pos())) ; in bondAxis()
231 auto endBondList = m_endAtom->bonds(); in determineDoubleBondOrientation()
238 + minimumAngle(this, endBonds, m_endAtom, true); in determineDoubleBondOrientation()
240 + minimumAngle(this, endBonds, m_endAtom, false); in determineDoubleBondOrientation()
246 if (sumUpperAngles > sumLowerAngles) qSwap(m_beginAtom, m_endAtom); in determineDoubleBondOrientation()
275 QPointF begin = determineBondDrawingStart(m_beginAtom, m_endAtom); in bondPath()
276 QPointF end = determineBondDrawingStart(m_endAtom, m_beginAtom); in bondPath()
448 …if (m_endAtom->element().isEmpty()) drawBrokenIndicator(painter, brokenBondIndicator(end, -vb, nor… in paintBrokenBondIndicators()
460 endRect = m_endAtom->mapRectToItem(this, m_endAtom->boundingRect()); in paint()
461 …if (startRect.intersects(endRect) && m_beginAtom->isDrawn() && m_endAtom->isDrawn()) return; // TO… in paint()
466 QPointF end = mapFromParent(m_endAtom->pos()); in paint()
473 begin = determineBondDrawingStart(m_beginAtom, m_endAtom); in paint()
474 end = determineBondDrawingStart(m_endAtom, m_beginAtom); in paint()
477 …+ 0.75 * lineWidth() * QLineF(QPointF(), m_beginAtom->pos() - m_endAtom->pos()).unitVector().p2())) in paint()
478 || m_endAtom->contains(mapToItem(m_endAtom, begin in paint()
479 …+ 0.75* lineWidth() * QLineF(QPointF(), m_endAtom->pos() - m_beginAtom->pos()).unitVector().p2()))) in paint()
496 end = mapFromParent(m_endAtom->pos()); in paint()
501 if (m_endAtom->element().isEmpty()) in paint()
575 return m_endAtom; in endAtom()
580 return m_beginAtom == atom || m_endAtom == atom; in hasAtom()
585 return (atom == m_beginAtom) ? m_endAtom : m_beginAtom; in otherAtom()
591 m_endAtom = B ; in setAtoms()
596 if (m_endAtom) m_endAtom->updateShape(); in setAtoms()
630 m_endAtom->setCoordinates(c.mid(1,1)); in setCoordinates()
638 << m_endAtom->coordinates() ; in coordinates()
644 attributes.append("atomRefs2", m_beginAtom->index() + " " + m_endAtom->index()) ; in graphicAttributes()
717 QPointF begin = determineBondDrawingStart(m_beginAtom, m_endAtom); in outline()
718 QPointF end = determineBondDrawingStart(m_endAtom, m_beginAtom); in outline()
819 …(result -= clipBrokenBondIndicator(mapFromParent(m_beginAtom->pos()), mapFromParent(m_endAtom->pos… in outline()
820 …+= getBrokenBondIndicatorsPath(mapFromParent(m_beginAtom->pos()), mapFromParent(m_endAtom->pos()),… in outline()
821 if (m_endAtom->element().isEmpty()) in outline()
822 …(result -= clipBrokenBondIndicator(mapFromParent(m_endAtom->pos()), mapFromParent(m_beginAtom->pos… in outline()
823 …+= getBrokenBondIndicatorsPath(mapFromParent(m_endAtom->pos()), mapFromParent(m_beginAtom->pos()),… in outline()