RDKit
Open-source cheminformatics and machine learning.
RDKit::MolDraw2D_detail::DrawShapeSolidWedge Class Reference

#include <DrawShape.h>

Inheritance diagram for RDKit::MolDraw2D_detail::DrawShapeSolidWedge:
RDKit::MolDraw2D_detail::DrawShape

Public Member Functions

 DrawShapeSolidWedge (const std::vector< Point2D > points, const DrawColour &col1, const DrawColour &col2, bool splitBonds, int atom1=-1, int atom2=-1, int bond=-1)
 
 DrawShapeSolidWedge (const DrawShapeSolidWedge &)=delete
 
 DrawShapeSolidWedge (DrawShapeSolidWedge &&)=delete
 
 ~DrawShapeSolidWedge ()=default
 
DrawShapeSolidWedgeoperator= (const DrawShapeSolidWedge &)=delete
 
DrawShapeSolidWedgeoperator= (DrawShapeSolidWedge &&)=delete
 
void buildTriangles ()
 
void myDraw (MolDraw2D &drawer) const override
 
bool doesRectClash (const StringRect &rect, double padding) const override
 
- Public Member Functions inherited from RDKit::MolDraw2D_detail::DrawShape
 DrawShape (const std::vector< Point2D > &points, int lineWidth=2, bool scaleLineWidth=false, DrawColour lineColour=DrawColour(0, 0, 0), bool fill=false, int atom1=-1, int atom2=-1, int bond=-1)
 
 DrawShape (const DrawShape &)=delete
 
 DrawShape (DrawShape &&)=delete
 
virtual ~DrawShape ()=default
 
DrawShapeoperator= (const DrawShape &)=delete
 
DrawShapeoperator= (DrawShape &&)=delete
 
void draw (MolDraw2D &drawer)
 
virtual void myDraw (MolDraw2D &drawer) const =0
 
virtual void findExtremes (double &xmin, double &xmax, double &ymin, double &ymax) const
 
virtual void scale (const Point2D &scale_factor)
 
virtual void move (const Point2D &trans)
 
virtual bool doesRectClash (const StringRect &rect, double padding) const
 

Public Attributes

DrawColour col2_
 
bool splitBonds_
 
- Public Attributes inherited from RDKit::MolDraw2D_detail::DrawShape
std::vector< Point2Dpoints_
 
int lineWidth_
 
bool scaleLineWidth_
 
DrawColour lineColour_
 
bool fill_
 
int atom1_
 
int atom2_
 
int bond_
 

Detailed Description

Definition at line 136 of file DrawShape.h.

Constructor & Destructor Documentation

◆ DrawShapeSolidWedge() [1/3]

RDKit::MolDraw2D_detail::DrawShapeSolidWedge::DrawShapeSolidWedge ( const std::vector< Point2D points,
const DrawColour col1,
const DrawColour col2,
bool  splitBonds,
int  atom1 = -1,
int  atom2 = -1,
int  bond = -1 
)

◆ DrawShapeSolidWedge() [2/3]

RDKit::MolDraw2D_detail::DrawShapeSolidWedge::DrawShapeSolidWedge ( const DrawShapeSolidWedge )
delete

◆ DrawShapeSolidWedge() [3/3]

RDKit::MolDraw2D_detail::DrawShapeSolidWedge::DrawShapeSolidWedge ( DrawShapeSolidWedge &&  )
delete

◆ ~DrawShapeSolidWedge()

RDKit::MolDraw2D_detail::DrawShapeSolidWedge::~DrawShapeSolidWedge ( )
default

Member Function Documentation

◆ buildTriangles()

void RDKit::MolDraw2D_detail::DrawShapeSolidWedge::buildTriangles ( )

◆ doesRectClash()

bool RDKit::MolDraw2D_detail::DrawShapeSolidWedge::doesRectClash ( const StringRect rect,
double  padding 
) const
overridevirtual

◆ myDraw()

void RDKit::MolDraw2D_detail::DrawShapeSolidWedge::myDraw ( MolDraw2D drawer) const
overridevirtual

◆ operator=() [1/2]

DrawShapeSolidWedge & RDKit::MolDraw2D_detail::DrawShapeSolidWedge::operator= ( const DrawShapeSolidWedge )
delete

◆ operator=() [2/2]

DrawShapeSolidWedge & RDKit::MolDraw2D_detail::DrawShapeSolidWedge::operator= ( DrawShapeSolidWedge &&  )
delete

Member Data Documentation

◆ col2_

DrawColour RDKit::MolDraw2D_detail::DrawShapeSolidWedge::col2_

Definition at line 150 of file DrawShape.h.

◆ splitBonds_

bool RDKit::MolDraw2D_detail::DrawShapeSolidWedge::splitBonds_

Definition at line 151 of file DrawShape.h.


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