Read@CVL
rdf::Triangle Class Reference

#include <Shapes.h>

Public Member Functions

 Triangle ()
 
 Triangle (const cv::Vec6f &vec)
 
bool isNull () const
 
void setVec (const cv::Vec6f &vec)
 
Vector2D p0 () const
 
Vector2D p1 () const
 
Vector2D p2 () const
 
Vector2D pointAt (int idx=0) const
 
void draw (QPainter &p) const
 

Protected Attributes

bool mIsNull = true
 
QVector< Vector2DmPts
 

Constructor & Destructor Documentation

rdf::Triangle::Triangle ( )
rdf::Triangle::Triangle ( const cv::Vec6f &  vec)

Member Function Documentation

void rdf::Triangle::draw ( QPainter &  p) const
bool rdf::Triangle::isNull ( ) const
Vector2D rdf::Triangle::p0 ( ) const
Vector2D rdf::Triangle::p1 ( ) const
Vector2D rdf::Triangle::p2 ( ) const
Vector2D rdf::Triangle::pointAt ( int  idx = 0) const
void rdf::Triangle::setVec ( const cv::Vec6f &  vec)

Member Data Documentation

bool rdf::Triangle::mIsNull = true
protected
QVector<Vector2D> rdf::Triangle::mPts
protected

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