Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CMesh Class Reference

#include <CMesh.hpp>

Collaboration diagram for CMesh:
[legend]

Public Member Functions

 CMesh ()
 
 CMesh (const std::vector< std::shared_ptr< std::vector< iv::math::geometry::Point3d > > > &contours)
 
 CMesh (const CMesh &mesh)
 
 CMesh (CMesh &&)=default
 
virtual ~CMesh ()
 
CMeshoperator= (const CMesh &mesh)
 
bool operator== (const CMesh &b) const
 
void addPolyline (const std::vector< iv::math::geometry::Point2d > &points)
 
void applyMatrixTransformation (const CMatrix4x4 &matrixTransformation)
 
void draw (IGraphics *graphics)
 
void drawContours (IGraphics *graphics) const
 
bool getLimits (double *xMinOpt, double *yMinOpt, double *zMinOpt, double *xMaxOpt, double *yMaxOpt, double *zMaxOpt) const
 
bool isPointInside (double x, double y) const
 

Private Attributes

std::vector< std::shared_ptr< std::vector< iv::math::geometry::Point3d > > > m_contours
 
CSolid3Dm_surface2DOpt
 

Constructor & Destructor Documentation

◆ CMesh() [1/4]

CMesh::CMesh ( )

◆ CMesh() [2/4]

CMesh::CMesh ( const std::vector< std::shared_ptr< std::vector< iv::math::geometry::Point3d > > > & contours)
explicit

◆ CMesh() [3/4]

CMesh::CMesh ( const CMesh & mesh)

◆ CMesh() [4/4]

CMesh::CMesh ( CMesh && )
default

◆ ~CMesh()

CMesh::~CMesh ( )
virtual

Member Function Documentation

◆ addPolyline()

void CMesh::addPolyline ( const std::vector< iv::math::geometry::Point2d > & points)

◆ applyMatrixTransformation()

void CMesh::applyMatrixTransformation ( const CMatrix4x4 & matrixTransformation)

◆ draw()

void CMesh::draw ( IGraphics * graphics)

◆ drawContours()

void CMesh::drawContours ( IGraphics * graphics) const

◆ getLimits()

bool CMesh::getLimits ( double * xMinOpt,
double * yMinOpt,
double * zMinOpt,
double * xMaxOpt,
double * yMaxOpt,
double * zMaxOpt ) const

◆ isPointInside()

bool CMesh::isPointInside ( double x,
double y ) const
nodiscard

◆ operator=()

CMesh & CMesh::operator= ( const CMesh & mesh)

◆ operator==()

bool CMesh::operator== ( const CMesh & b) const

Member Data Documentation

◆ m_contours

std::vector<std::shared_ptr<std::vector<iv::math::geometry::Point3d> > > CMesh::m_contours
private

◆ m_surface2DOpt

CSolid3D* CMesh::m_surface2DOpt
private

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