gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
BDS_Edge Class Reference

#include <BDS.h>

Collaboration diagram for BDS_Edge:

Public Member Functions

 BDS_Edge (BDS_Point *A, BDS_Point *B)
 
BDS_Facefaces (std::size_t const i) const
 
double length () const
 
int numfaces () const
 
int numTriangles () const
 
BDS_Pointcommonvertex (const BDS_Edge *other) const
 
BDS_Pointothervertex (const BDS_Point *p) const
 
void addface (BDS_Face *f)
 
bool operator< (const BDS_Edge &other) const
 
BDS_FaceotherFace (const BDS_Face *f) const
 
void del (BDS_Face *t)
 
void oppositeof (BDS_Point *oface[2]) const
 
void computeNeighborhood (BDS_Point *oface[2], BDS_Point *t1[4], BDS_Point *t2[4]) const
 

Public Attributes

bool deleted
 
BDS_Pointp1
 
BDS_Pointp2
 
BDS_GeomEntityg
 

Private Attributes

std::vector< BDS_Face * > _faces
 

Detailed Description

Definition at line 85 of file BDS.h.

Constructor & Destructor Documentation

◆ BDS_Edge()

BDS_Edge::BDS_Edge ( BDS_Point A,
BDS_Point B 
)
inline

Definition at line 89 of file BDS.h.

Member Function Documentation

◆ addface()

void BDS_Edge::addface ( BDS_Face f)
inline

Definition at line 127 of file BDS.h.

Referenced by BDS_Face::BDS_Face().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ commonvertex()

BDS_Point* BDS_Edge::commonvertex ( const BDS_Edge other) const
inline

Definition at line 112 of file BDS.h.

Referenced by BDS_Face::getNodes(), and BDS_Face::oppositeVertex().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ computeNeighborhood()

void BDS_Edge::computeNeighborhood ( BDS_Point oface[2],
BDS_Point t1[4],
BDS_Point t2[4] 
) const

Definition at line 546 of file BDS.cpp.

Referenced by BDS_Mesh::swap_edge().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ del()

void BDS_Edge::del ( BDS_Face t)
inline

Definition at line 147 of file BDS.h.

Referenced by BDS_Mesh::del_face().

Here is the caller graph for this function:

◆ faces()

BDS_Face* BDS_Edge::faces ( std::size_t const  i) const
inline

◆ length()

double BDS_Edge::length ( ) const
inline

Definition at line 104 of file BDS.h.

Referenced by computeEdgeLinearLength().

Here is the caller graph for this function:

◆ numfaces()

◆ numTriangles()

int BDS_Edge::numTriangles ( ) const

Definition at line 1051 of file BDS.cpp.

Referenced by BDS_Mesh::recover_edge().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator<()

bool BDS_Edge::operator< ( const BDS_Edge other) const
inline

Definition at line 128 of file BDS.h.

◆ oppositeof()

void BDS_Edge::oppositeof ( BDS_Point oface[2]) const

Definition at line 572 of file BDS.cpp.

Referenced by BDS_Mesh::collapse_edge_parametric(), edgeSwapTest(), edgeSwapTestDelaunayAniso(), meshGenerator(), middlePoint(), and BDS_Mesh::split_edge().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ otherFace()

BDS_Face* BDS_Edge::otherFace ( const BDS_Face f) const
inline

Definition at line 135 of file BDS.h.

Referenced by BDS_Mesh::recover_edge_fast(), and recur_tag().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ othervertex()

BDS_Point* BDS_Edge::othervertex ( const BDS_Point p) const
inline

Definition at line 120 of file BDS.h.

Referenced by BDS_Mesh::collapse_edge_parametric(), and getMaxLcWhenCollapsingEdge().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _faces

std::vector<BDS_Face *> BDS_Edge::_faces
private

Definition at line 86 of file BDS.h.

Referenced by addface(), del(), faces(), numfaces(), numTriangles(), and otherFace().

◆ deleted

◆ g

◆ p1

◆ p2


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