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

#include <MEdge.h>

Collaboration diagram for MEdge:

Public Member Functions

 MEdge ()
 
 MEdge (MVertex *v0, MVertex *v1)
 
std::size_t getNumVertices () const
 
MVertexgetVertex (std::size_t i) const
 
MVertexgetSortedVertex (std::size_t i) const
 
MVertexgetMinVertex () const
 
MVertexgetMaxVertex () const
 
int computeCorrespondence (MEdge &other)
 
bool alignWith (MEdge &other)
 
SVector3 scaledTangent () const
 
SVector3 tangent () const
 
double length () const
 
SVector3 normal () const
 
SPoint3 barycenter () const
 
SPoint3 interpolate (const double &t) const
 
bool isInside (MVertex *v) const
 

Private Attributes

MVertex_v [2]
 
char _si [2]
 

Detailed Description

Definition at line 14 of file MEdge.h.

Constructor & Destructor Documentation

◆ MEdge() [1/2]

MEdge::MEdge ( )
inline

Definition at line 20 of file MEdge.h.

◆ MEdge() [2/2]

MEdge::MEdge ( MVertex v0,
MVertex v1 
)
inline

Definition at line 25 of file MEdge.h.

Member Function Documentation

◆ alignWith()

bool MEdge::alignWith ( MEdge other)
inline

Definition at line 53 of file MEdge.h.

Here is the call graph for this function:

◆ barycenter()

SPoint3 MEdge::barycenter ( ) const
inline

Definition at line 96 of file MEdge.h.

Referenced by drawBarycentricDual(), and drawVoronoiDual().

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

◆ computeCorrespondence()

int MEdge::computeCorrespondence ( MEdge other)
inline

Definition at line 44 of file MEdge.h.

Referenced by GModel::alignPeriodicBoundaries(), and alignWith().

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

◆ getMaxVertex()

MVertex* MEdge::getMaxVertex ( ) const
inline

Definition at line 42 of file MEdge.h.

Referenced by operator!=(), MEdgeHash::operator()(), MEdgeDataLessThan::operator()(), MEdgeLessThan::operator()(), and operator==().

Here is the caller graph for this function:

◆ getMinVertex()

MVertex* MEdge::getMinVertex ( ) const
inline

Definition at line 41 of file MEdge.h.

Referenced by operator!=(), MEdgeHash::operator()(), MEdgeDataLessThan::operator()(), MEdgeLessThan::operator()(), and operator==().

Here is the caller graph for this function:

◆ getNumVertices()

std::size_t MEdge::getNumVertices ( ) const
inline

Definition at line 38 of file MEdge.h.

◆ getSortedVertex()

MVertex* MEdge::getSortedVertex ( std::size_t  i) const
inline

Definition at line 40 of file MEdge.h.

Referenced by edgeContainerB::H().

Here is the caller graph for this function:

◆ getVertex()

◆ interpolate()

SPoint3 MEdge::interpolate ( const double &  t) const
inline

Definition at line 97 of file MEdge.h.

Referenced by barycenter().

Here is the caller graph for this function:

◆ isInside()

bool MEdge::isInside ( MVertex v) const

Definition at line 16 of file MEdge.cpp.

Referenced by MPolygon::_initVertices().

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

◆ length()

double MEdge::length ( ) const
inline

Definition at line 76 of file MEdge.h.

Referenced by MElement::idealJacRange().

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

◆ normal()

SVector3 MEdge::normal ( ) const
inline

Definition at line 82 of file MEdge.h.

Referenced by MElement::_getEdgeRep(), MLine3::getEdgeRep(), and MLineN::getEdgeRep().

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

◆ scaledTangent()

SVector3 MEdge::scaledTangent ( ) const
inline

Definition at line 64 of file MEdge.h.

◆ tangent()

SVector3 MEdge::tangent ( ) const
inline

Definition at line 69 of file MEdge.h.

Referenced by addExtrudeNormals(), drawTangents(), MSubTriangle::getGradShapeFunctions(), MSubLine::getGradShapeFunctions(), and normal().

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

Member Data Documentation

◆ _si

char MEdge::_si[2]
private

Definition at line 17 of file MEdge.h.

Referenced by alignWith(), getMaxVertex(), getMinVertex(), getSortedVertex(), and MEdge().

◆ _v


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