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

#include <ExtrudeParams.h>

Collaboration diagram for ExtrudeParams:

Public Member Functions

 ExtrudeParams (int Mode=EXTRUDED_ENTITY)
 
void fill (int type, double T0, double T1, double T2, double A0, double A1, double A2, double X0, double X1, double X2, double angle)
 
double u (int iLayer, int iElemLayer)
 
void Extrude (int iLayer, int iElemLayer, double &dx, double &dy, double &dz)
 
void Extrude (double t, double &x, double &y, double &z)
 
void GetAffineTransform (std::vector< double > &tfo)
 

Public Attributes

struct {
   bool   ExtrudeMesh
 
   bool   Recombine
 
   int   QuadToTri
 
   int   NbLayer
 
   std::vector< int >   NbElmLayer
 
   std::vector< double >   hLayer
 
   bool   ScaleLast
 
   std::map< int, std::pair< double, std::vector< int > > >   Holes
 
   int   ViewIndex
 
   int   BoundaryLayerIndex
 
mesh
 
struct {
   int   Mode
 
   int   Type
 
   int   Source
 
   double   trans [3]
 
   double   axe [3]
 
   double   pt [3]
 
   double   angle
 
geo
 

Static Public Attributes

static bool calcLayerScaleFactor [2] = {0, 0}
 
static smooth_datanormals [2] = {nullptr, nullptr}
 
static std::vector< SPoint3normalsCoherence
 

Detailed Description

Definition at line 26 of file ExtrudeParams.h.

Constructor & Destructor Documentation

◆ ExtrudeParams()

ExtrudeParams::ExtrudeParams ( int  Mode = EXTRUDED_ENTITY)

Definition at line 20 of file ExtrudeParams.cpp.

Member Function Documentation

◆ Extrude() [1/2]

void ExtrudeParams::Extrude ( double  t,
double &  x,
double &  y,
double &  z 
)

Definition at line 78 of file ExtrudeParams.cpp.

Here is the call graph for this function:

◆ Extrude() [2/2]

void ExtrudeParams::Extrude ( int  iLayer,
int  iElemLayer,
double &  dx,
double &  dy,
double &  dz 
)

Definition at line 51 of file ExtrudeParams.cpp.

Referenced by copyMesh(), extrudeMesh(), getExtrudedVertices(), InterpolateExtrudedSurface(), and Mesh2DWithBoundaryLayers().

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

◆ fill()

void ExtrudeParams::fill ( int  type,
double  T0,
double  T1,
double  T2,
double  A0,
double  A1,
double  A2,
double  X0,
double  X1,
double  X2,
double  angle 
)

Definition at line 34 of file ExtrudeParams.cpp.

Referenced by extrudeInfo::_fillExtrudeParams(), ExtrudeCurve(), and ExtrudeSurface().

Here is the caller graph for this function:

◆ GetAffineTransform()

void ExtrudeParams::GetAffineTransform ( std::vector< double > &  tfo)

Definition at line 138 of file ExtrudeParams.cpp.

Here is the call graph for this function:

◆ u()

double ExtrudeParams::u ( int  iLayer,
int  iElemLayer 
)

Definition at line 122 of file ExtrudeParams.cpp.

Referenced by Extrude(), and extrudeMesh().

Here is the caller graph for this function:

Member Data Documentation

◆ angle

double ExtrudeParams::angle

Definition at line 53 of file ExtrudeParams.h.

Referenced by Extrude(), fill(), and ProtudeXYZ().

◆ axe

double ExtrudeParams::axe[3]

Definition at line 53 of file ExtrudeParams.h.

Referenced by ProtudeXYZ().

◆ BoundaryLayerIndex

int ExtrudeParams::BoundaryLayerIndex

◆ calcLayerScaleFactor

bool ExtrudeParams::calcLayerScaleFactor = {0, 0}
static

Definition at line 62 of file ExtrudeParams.h.

Referenced by addExtrudeNormals(), Extrude(), and Mesh2DWithBoundaryLayers().

◆ ExtrudeMesh

◆ geo

◆ hLayer

std::vector<double> ExtrudeParams::hLayer

◆ Holes

std::map<int, std::pair<double, std::vector<int> > > ExtrudeParams::Holes

Definition at line 45 of file ExtrudeParams.h.

Referenced by meshGRegionExtruded::operator()(), and SubdivideExtrudedMesh().

◆ mesh

◆ Mode

◆ NbElmLayer

◆ NbLayer

◆ normals

smooth_data * ExtrudeParams::normals = {nullptr, nullptr}
static

Definition at line 64 of file ExtrudeParams.h.

Referenced by addExtrudeNormals(), Extrude(), and Mesh2DWithBoundaryLayers().

◆ normalsCoherence

std::vector< SPoint3 > ExtrudeParams::normalsCoherence
static

Definition at line 65 of file ExtrudeParams.h.

Referenced by addExtrudeNormals(), and GEO_Internals::mergeVertices().

◆ pt

double ExtrudeParams::pt[3]

Definition at line 53 of file ExtrudeParams.h.

Referenced by ProtudeXYZ().

◆ QuadToTri

int ExtrudeParams::QuadToTri

Definition at line 38 of file ExtrudeParams.h.

Referenced by extrudeMesh(), and SubdivideExtrudedMesh().

◆ Recombine

◆ ScaleLast

bool ExtrudeParams::ScaleLast

Definition at line 44 of file ExtrudeParams.h.

Referenced by FixErasedExtrScaleFlags(), and Mesh2DWithBoundaryLayers().

◆ Source

◆ trans

double ExtrudeParams::trans[3]

Definition at line 52 of file ExtrudeParams.h.

Referenced by extrudeInfo::_isCompatible().

◆ Type

int ExtrudeParams::Type

Definition at line 50 of file ExtrudeParams.h.

Referenced by extrudeInfo::_isCompatible(), and getFaceVerticesOnExtrudedGeo().

◆ ViewIndex

int ExtrudeParams::ViewIndex

Definition at line 46 of file ExtrudeParams.h.

Referenced by Mesh2DWithBoundaryLayers().


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