gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
GEdge Class Referenceabstract

#include <GEdge.h>

Inheritance diagram for GEdge:
Collaboration diagram for GEdge:

Public Member Functions

 GEdge (GModel *model, int tag, GVertex *v0, GVertex *v1)
 
 GEdge (GModel *model, int tag)
 
virtual ~GEdge ()
 
virtual void deleteMesh ()
 
void setBeginVertex (GVertex *gv)
 
void setEndVertex (GVertex *gv)
 
virtual GVertexgetBeginVertex () const
 
virtual GVertexgetEndVertex () const
 
void setVertex (GVertex *const f, const int orientation)
 
void setMeshMaster (GEdge *master, const std::vector< double > &)
 
void setMeshMaster (GEdge *master, int sign)
 
void reverse ()
 
void addFace (GFace *f)
 
virtual void delFace (GFace *f)
 
virtual int dim () const
 
virtual GEntitygetParentEntity ()
 
virtual std::vector< GVertex * > vertices () const
 
virtual void setVisibility (char val, bool recursive=false)
 
virtual void setColor (unsigned int val, bool recursive=false)
 
virtual bool isSeam (const GFace *face) const
 
virtual SBoundingBox3d bounds (bool fast=false)
 
virtual SOrientedBoundingBox getOBB ()
 
virtual std::list< GRegion * > regions () const
 
virtual std::vector< GFace * > faces () const
 
virtual std::size_t numFaces () const
 
virtual bool isOrphan ()
 
virtual GPoint point (double p) const =0
 
virtual bool containsParam (double pt) const
 
virtual SVector3 position (double p) const
 
virtual SVector3 firstDer (double par) const =0
 
virtual SVector3 secondDer (double par) const
 
virtual double curvature (double par) const
 
virtual SPoint2 reparamOnFace (const GFace *face, double epar, int dir) const
 
virtual int minimumMeshSegments () const
 
virtual int minimumDrawSegments () const
 
virtual std::string getAdditionalInfoString (bool multline=false)
 
virtual void writeGEO (FILE *fp)
 
virtual void writePY (FILE *fp)
 
bool storeSTLAsMesh ()
 
virtual bool is3D () const
 
double length () const
 
void setLength (const double l)
 
double length (const double &u0, const double &u1, const int nbQuadPoints=4)
 
double prescribedMeshSizeAtVertex () const
 
double prescribedMeshSizeAtParam (double u)
 
void setMeshSizeParametric (const std::vector< double > u, const std::vector< double > lc)
 
void setTooSmall (bool const b)
 
virtual bool isMeshDegenerated () const
 
virtual void getElementTypes (std::vector< int > &types) const
 
std::size_t getNumMeshElements () const
 
std::size_t getNumMeshElementsByType (const int familyType) const
 
std::size_t getNumMeshParentElements ()
 
void getNumMeshElements (unsigned *const c) const
 
MElement *const * getStartElementType (int type) const
 
MElementgetMeshElement (std::size_t index) const
 
MElementgetMeshElementByType (const int familyType, const std::size_t index) const
 
virtual void resetMeshAttributes ()
 
virtual bool periodic (int dim) const
 
virtual Range< double > parBounds (int i) const =0
 
virtual Range< double > parBoundsOnFace (GFace *face=nullptr) const
 
double getLowerBound () const
 
double getUpperBound () const
 
virtual bool containsPoint (const SPoint3 &pt) const
 
virtual GPoint closestPoint (const SPoint3 &queryPoint, double &param) const
 
virtual double parFromPoint (const SPoint3 &P) const
 
virtual bool refineProjection (const SVector3 &Q, double &u, int MaxIter, double relax, double tol, double &err) const
 
virtual bool XYZToU (const double X, const double Y, const double Z, double &U, const double relax=1, bool first=true) const
 
void relocateMeshVertices ()
 
void addLine (MLine *line)
 
void addElement (int type, MElement *e)
 
void removeElement (int type, MElement *e)
 
void removeElements (int type)
 
virtual void discretize (double tol, std::vector< SPoint3 > &dpts, std::vector< double > &ts)
 
SPoint3 closestPointWithTol (SPoint3 &p, double tolerance)
 
virtual void mesh (bool verbose)
 
virtual bool reorder (const int elementType, const std::vector< std::size_t > &ordering)
 
- Public Member Functions inherited from GEntity
void addVerticesInSet (std::set< MVertex * > &, bool closure) const
 
virtual std::string getTypeString ()
 
 GEntity (GModel *m, int t)
 
virtual ~GEntity ()
 
void deleteVertexArrays ()
 
virtual std::vector< GEdge * > const & edges () const
 
std::vector< GRegion * > bindingsGetRegions ()
 
std::vector< GFace * > bindingsGetFaces ()
 
std::vector< GEdge * > bindingsGetEdges () const
 
std::vector< GVertex * > bindingsGetVertices ()
 
virtual GeomType geomType () const
 
virtual bool continuous (int dim) const
 
virtual double period (int dim) const
 
virtual bool degenerate (int dim) const
 
virtual bool haveParametrization ()
 
virtual bool isFullyDiscrete ()
 
virtual double tolerance () const
 
virtual ModelType getNativeType () const
 
virtual void * getNativePtr () const
 
virtual int getNativeInt () const
 
GModelmodel () const
 
int tag () const
 
void setTag (int tag)
 
virtual void addPhysicalEntity (int physicalTag)
 
virtual std::vector< int > getPhysicalEntities ()
 
GEntitygetMeshMaster () const
 
void setMeshMaster (GEntity *)
 
void setMeshMaster (GEntity *, const std::vector< double > &, bool updateCorrespondingVertices=true)
 
void updateCorrespondingVertices ()
 
void copyMasterCoordinates ()
 
virtual void alignElementsWithMaster ()
 
virtual char getVisibility ()
 
virtual char getSelection ()
 
virtual void setSelection (char val)
 
virtual unsigned int getColor ()
 
virtual void setColor (unsigned color, bool recursive=false)
 
virtual bool useColor ()
 
virtual std::string getInfoString (bool additional=true, bool multiline=false)
 
virtual double getMeshSize () const
 
virtual double getMeshSizeFactor () const
 
bool getAllElementsVisible ()
 
void setAllElementsVisible (bool val)
 
std::size_t getNumMeshVertices ()
 
MVertexgetMeshVertex (std::size_t index)
 
void addMeshVertex (MVertex *v)
 
void removeMeshVertex (MVertex *v)
 
GVertexcast2Vertex ()
 
GEdgecast2Edge ()
 
GFacecast2Face ()
 
GRegioncast2Region ()
 

Public Attributes

int masterOrientation
 
std::vector< MLine * > lines
 
GEdgecompoundCurve
 
std::vector< SPoint3stl_vertices_xyz
 
struct {
   char   method
 
   double   coeffTransfinite
 
   double   meshSize
 
   double   meshSizeFactor
 
   int   nbPointsTransfinite
 
   int   typeTransfinite
 
   int   minimumMeshSegments
 
   ExtrudeParams *   extrude
 
   bool   reverseMesh
 
meshAttributes
 
struct {
   GEntity::MeshGenerationStatus   status
 
meshStatistics
 
- Public Attributes inherited from GEntity
std::vector< MVertex * > mesh_vertices
 
std::vector< GEntity * > compound
 
std::map< GVertex *, GVertex * > vertexCounterparts
 
std::vector< int > physicals
 
VertexArrayva_lines
 
VertexArrayva_triangles
 
std::set< MElement * > curvedBLElements
 
std::vector< double > affineTransform
 
std::map< MVertex *, MVertex * > correspondingVertices
 
std::map< MVertex *, MVertex * > correspondingHighOrderVertices
 

Protected Attributes

GVertex_v0
 
GVertex_v1
 
std::vector< GFace * > _faces
 
- Protected Attributes inherited from GEntity
SOrientedBoundingBox_obb
 

Private Attributes

double _length
 
bool _tooSmall
 
closestPointFinder_cp
 
std::vector< double > _u_lc
 
std::vector< double > _lc
 

Additional Inherited Members

- Public Types inherited from GEntity
enum  ModelType {
  UnknownModel, GmshModel, OpenCascadeModel, AcisModel,
  ParasolidModel
}
 
enum  GeomType {
  Unknown, Point, BoundaryLayerPoint, Line,
  Circle, Ellipse, Conic, Parabola,
  Hyperbola, TrimmedCurve, OffsetCurve, BSpline,
  Bezier, ParametricCurve, BoundaryLayerCurve, DiscreteCurve,
  Plane, Nurb, Cylinder, Sphere,
  Cone, Torus, RuledSurface, ParametricSurface,
  BSplineSurface, BezierSurface, SurfaceOfRevolution, BoundaryLayerSurface,
  DiscreteSurface, DiscreteDiskSurface, Volume, DiscreteVolume,
  PartitionPoint, PartitionCurve, PartitionSurface, PartitionVolume,
  GhostCurve, GhostSurface, GhostVolume
}
 
enum  MeshGenerationStatus { PENDING, DONE, FAILED }
 

Detailed Description

Definition at line 26 of file GEdge.h.

Constructor & Destructor Documentation

◆ GEdge() [1/2]

GEdge::GEdge ( GModel model,
int  tag,
GVertex v0,
GVertex v1 
)

Definition at line 26 of file GEdge.cpp.

Here is the call graph for this function:

◆ GEdge() [2/2]

GEdge::GEdge ( GModel model,
int  tag 
)

Definition at line 36 of file GEdge.cpp.

Here is the call graph for this function:

◆ ~GEdge()

GEdge::~GEdge ( )
virtual

Definition at line 44 of file GEdge.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addElement()

void GEdge::addElement ( int  type,
MElement e 
)
virtual

Reimplemented from GEntity.

Definition at line 775 of file GEdge.cpp.

Referenced by ghostEdge::addElement().

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

◆ addFace()

void GEdge::addFace ( GFace f)

Definition at line 200 of file GEdge.cpp.

Referenced by gmshFace::resetNativePtr(), and GFace::setBoundEdges().

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

◆ addLine()

void GEdge::addLine ( MLine line)
inline

Definition at line 266 of file GEdge.h.

Referenced by addElement(), and ghostEdge::addLine().

Here is the caller graph for this function:

◆ bounds()

SBoundingBox3d GEdge::bounds ( bool  fast = false)
virtual

Reimplemented from GEntity.

Definition at line 212 of file GEdge.cpp.

Referenced by GFace::setMeshMaster(), and writeGEO().

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

◆ closestPoint()

GPoint GEdge::closestPoint ( const SPoint3 queryPoint,
double &  param 
) const
virtual

Definition at line 552 of file GEdge.cpp.

Referenced by copy_vertices(), getGEdge(), optimize1DMeshAtAcuteCorners(), and relocateSlaveVertices().

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

◆ closestPointWithTol()

SPoint3 GEdge::closestPointWithTol ( SPoint3 p,
double  tolerance 
)

Definition at line 728 of file GEdge.cpp.

Here is the call graph for this function:

◆ containsParam()

bool GEdge::containsParam ( double  pt) const
virtual

Definition at line 453 of file GEdge.cpp.

Referenced by containsPoint().

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

◆ containsPoint()

bool GEdge::containsPoint ( const SPoint3 pt) const
virtual

Reimplemented from GEntity.

Definition at line 445 of file GEdge.cpp.

Here is the call graph for this function:

◆ curvature()

double GEdge::curvature ( double  par) const
virtual

Reimplemented in discreteEdge.

Definition at line 492 of file GEdge.cpp.

Referenced by LC_MVertex_CURV(), max_edge_curvature(), max_edge_curvature_metric(), and BoundaryLayerField::operator()().

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

◆ deleteMesh()

void GEdge::deleteMesh ( )
virtual

Reimplemented from GEntity.

Definition at line 53 of file GEdge.cpp.

Referenced by copy_vertices(), deMeshGEdge::operator()(), and ~GEdge().

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

◆ delFace()

void GEdge::delFace ( GFace f)
virtual

Definition at line 206 of file GEdge.cpp.

Here is the call graph for this function:

◆ dim()

virtual int GEdge::dim ( ) const
inlinevirtual

Reimplemented from GEntity.

Definition at line 86 of file GEdge.h.

Referenced by addExtrudeNormals().

Here is the caller graph for this function:

◆ discretize()

void GEdge::discretize ( double  tol,
std::vector< SPoint3 > &  dpts,
std::vector< double > &  ts 
)
virtual

Reimplemented in gmshEdge.

Definition at line 806 of file GEdge.cpp.

Referenced by closestPointFinder::closestPointFinder(), and gmshEdge::discretize().

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

◆ faces()

virtual std::vector<GFace *> GEdge::faces ( ) const
inlinevirtual

◆ firstDer()

◆ getAdditionalInfoString()

std::string GEdge::getAdditionalInfoString ( bool  multline = false)
virtual

Reimplemented from GEntity.

Reimplemented in gmshEdge.

Definition at line 295 of file GEdge.cpp.

Referenced by gmshEdge::getAdditionalInfoString().

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

◆ getBeginVertex()

◆ getElementTypes()

virtual void GEdge::getElementTypes ( std::vector< int > &  types) const
inlinevirtual

Reimplemented from GEntity.

Definition at line 194 of file GEdge.h.

◆ getEndVertex()

◆ getLowerBound()

double GEdge::getLowerBound ( ) const
inline

Definition at line 227 of file GEdge.h.

Here is the call graph for this function:

◆ getMeshElement()

MElement * GEdge::getMeshElement ( std::size_t  index) const
virtual

◆ getMeshElementByType()

MElement * GEdge::getMeshElementByType ( const int  familyType,
const std::size_t  index 
) const
virtual

Reimplemented from GEntity.

Definition at line 179 of file GEdge.cpp.

◆ getNumMeshElements() [1/2]

std::size_t GEdge::getNumMeshElements ( ) const
inlinevirtual

◆ getNumMeshElements() [2/2]

void GEdge::getNumMeshElements ( unsigned *const  c) const
virtual

Reimplemented from GEntity.

Definition at line 162 of file GEdge.cpp.

Here is the call graph for this function:

◆ getNumMeshElementsByType()

std::size_t GEdge::getNumMeshElementsByType ( const int  familyType) const
virtual

Reimplemented from GEntity.

Definition at line 148 of file GEdge.cpp.

◆ getNumMeshParentElements()

std::size_t GEdge::getNumMeshParentElements ( )
virtual

Reimplemented from GEntity.

Definition at line 155 of file GEdge.cpp.

◆ getOBB()

SOrientedBoundingBox GEdge::getOBB ( )
virtual

Reimplemented from GEntity.

Definition at line 234 of file GEdge.cpp.

Referenced by GeomMeshMatcher::matchEdges().

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

◆ getParentEntity()

virtual GEntity* GEdge::getParentEntity ( )
inlinevirtual

Reimplemented from GEntity.

Reimplemented in partitionEdge.

Definition at line 89 of file GEdge.h.

◆ getStartElementType()

MElement *const * GEdge::getStartElementType ( int  type) const
virtual

Reimplemented from GEntity.

Definition at line 167 of file GEdge.cpp.

◆ getUpperBound()

double GEdge::getUpperBound ( ) const
inline

Definition at line 228 of file GEdge.h.

Here is the call graph for this function:

◆ is3D()

virtual bool GEdge::is3D ( ) const
inlinevirtual

Definition at line 167 of file GEdge.h.

◆ isMeshDegenerated()

virtual bool GEdge::isMeshDegenerated ( ) const
inlinevirtual

Reimplemented in xyEdge.

Definition at line 184 of file GEdge.h.

Here is the call graph for this function:

◆ isOrphan()

bool GEdge::isOrphan ( )
virtual

Reimplemented from GEntity.

Definition at line 705 of file GEdge.cpp.

Referenced by drawGEdge::operator()().

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

◆ isSeam()

virtual bool GEdge::isSeam ( const GFace face) const
inlinevirtual

◆ length() [1/2]

double GEdge::length ( ) const
inline

Definition at line 170 of file GEdge.h.

Referenced by fillPointCloud(), mylength(), F_Transfinite::operator()(), ExtendField::recomputeCurves(), and ExtendField::recomputeSurfaces().

Here is the caller graph for this function:

◆ length() [2/2]

double GEdge::length ( const double &  u0,
const double &  u1,
const int  nbQuadPoints = 4 
)

Definition at line 500 of file GEdge.cpp.

Here is the call graph for this function:

◆ mesh()

void GEdge::mesh ( bool  verbose)
virtual

Reimplemented from GEntity.

Reimplemented in discreteEdge.

Definition at line 918 of file GEdge.cpp.

Referenced by Mesh1D().

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

◆ minimumDrawSegments()

virtual int GEdge::minimumDrawSegments ( ) const
inlinevirtual

Reimplemented in discreteEdge, and gmshEdge.

Definition at line 151 of file GEdge.h.

Referenced by gmshEdge::minimumDrawSegments(), drawGEdge::operator()(), and writeGEO().

Here is the caller graph for this function:

◆ minimumMeshSegments()

virtual int GEdge::minimumMeshSegments ( ) const
inlinevirtual

Reimplemented in discreteEdge, and gmshEdge.

Definition at line 148 of file GEdge.h.

◆ numFaces()

virtual std::size_t GEdge::numFaces ( ) const
inlinevirtual

Definition at line 116 of file GEdge.h.

Referenced by drawGEdge::operator()().

Here is the caller graph for this function:

◆ parBounds()

◆ parBoundsOnFace()

virtual Range<double> GEdge::parBoundsOnFace ( GFace face = nullptr) const
inlinevirtual

Definition at line 223 of file GEdge.h.

Referenced by buildConsecutiveListOfVertices(), meshGeneratorPeriodic(), and trueBoundary().

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

◆ parFromPoint()

double GEdge::parFromPoint ( const SPoint3 P) const
virtual

Definition at line 595 of file GEdge.cpp.

Referenced by copyMesh(), createPoints(), filterPoints(), getAllParameters(), relocateSlaveVertices(), and reparamMeshVertexOnEdge().

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

◆ periodic()

virtual bool GEdge::periodic ( int  dim) const
inlinevirtual

Reimplemented from GEntity.

Definition at line 219 of file GEdge.h.

Referenced by discreteEdge::curvature(), gmshEdge::discretize(), getEdgeVerticesOnGeo(), discreteEdge::minimumMeshSegments(), and gmshEdge::reparamOnFace().

Here is the caller graph for this function:

◆ point()

◆ position()

virtual SVector3 GEdge::position ( double  p) const
inlinevirtual

Definition at line 128 of file GEdge.h.

Referenced by _discretize(), closestPoint(), goldenSectionSearch(), meshGEdgeProcessing(), refineProjection(), and XYZToU().

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

◆ prescribedMeshSizeAtParam()

double GEdge::prescribedMeshSizeAtParam ( double  u)

Definition at line 979 of file GEdge.cpp.

◆ prescribedMeshSizeAtVertex()

double GEdge::prescribedMeshSizeAtVertex ( ) const
inline

Definition at line 175 of file GEdge.h.

◆ refineProjection()

bool GEdge::refineProjection ( const SVector3 Q,
double &  u,
int  MaxIter,
double  relax,
double  tol,
double &  err 
) const
virtual

Definition at line 604 of file GEdge.cpp.

Referenced by XYZToU().

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

◆ regions()

std::list< GRegion * > GEdge::regions ( ) const
virtual

Reimplemented from GEntity.

Definition at line 692 of file GEdge.cpp.

Referenced by isOrphan().

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

◆ relocateMeshVertices()

void GEdge::relocateMeshVertices ( )
virtual

Reimplemented from GEntity.

Definition at line 714 of file GEdge.cpp.

Here is the call graph for this function:

◆ removeElement()

void GEdge::removeElement ( int  type,
MElement e 
)
virtual

Reimplemented from GEntity.

Definition at line 784 of file GEdge.cpp.

Here is the call graph for this function:

◆ removeElements()

void GEdge::removeElements ( int  type)
virtual

Reimplemented from GEntity.

Definition at line 797 of file GEdge.cpp.

Here is the call graph for this function:

◆ reorder()

bool GEdge::reorder ( const int  elementType,
const std::vector< std::size_t > &  ordering 
)
virtual

Reimplemented from GEntity.

Definition at line 947 of file GEdge.cpp.

◆ reparamOnFace()

SPoint2 GEdge::reparamOnFace ( const GFace face,
double  epar,
int  dir 
) const
virtual

Reimplemented in discreteEdge, gmshEdge, and xyEdge.

Definition at line 482 of file GEdge.cpp.

Referenced by buildConsecutiveListOfVertices(), getAllParameters(), max_surf_curvature(), meshGeneratorPeriodic(), metric_based_on_surface_curvature(), reparamMeshVertexOnFace(), gmshEdge::reparamOnFace(), transferSeamGEdgesVerticesToGFace(), and trueBoundary().

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

◆ resetMeshAttributes()

void GEdge::resetMeshAttributes ( )
virtual

Reimplemented from GEntity.

Reimplemented in gmshEdge.

Definition at line 187 of file GEdge.cpp.

Referenced by GEdge(), and GEO_Internals::synchronize().

Here is the caller graph for this function:

◆ reverse()

void GEdge::reverse ( )

Definition at line 140 of file GEdge.cpp.

◆ secondDer()

SVector3 GEdge::secondDer ( double  par) const
virtual

Reimplemented in gmshEdge, and xyEdge.

Definition at line 460 of file GEdge.cpp.

Referenced by curvature().

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

◆ setBeginVertex()

void GEdge::setBeginVertex ( GVertex gv)
inline

Definition at line 61 of file GEdge.h.

Referenced by discreteEdge::createGeometry(), and createTopologyFromMesh1D().

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

◆ setColor()

void GEdge::setColor ( unsigned int  val,
bool  recursive = false 
)
virtual

Definition at line 286 of file GEdge.cpp.

Here is the call graph for this function:

◆ setEndVertex()

void GEdge::setEndVertex ( GVertex gv)
inline

Definition at line 62 of file GEdge.h.

Referenced by discreteEdge::createGeometry(), and createTopologyFromMesh1D().

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

◆ setLength()

void GEdge::setLength ( const double  l)
inline

Definition at line 171 of file GEdge.h.

Referenced by meshGEdgeProcessing().

Here is the caller graph for this function:

◆ setMeshMaster() [1/2]

void GEdge::setMeshMaster ( GEdge master,
const std::vector< double > &  tfo 
)

Definition at line 89 of file GEdge.cpp.

Referenced by addPeriodicEdge(), MeshExtrudedCurve(), and GFace::setMeshMaster().

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

◆ setMeshMaster() [2/2]

void GEdge::setMeshMaster ( GEdge master,
int  sign 
)

Definition at line 65 of file GEdge.cpp.

Here is the call graph for this function:

◆ setMeshSizeParametric()

void GEdge::setMeshSizeParametric ( const std::vector< double >  u,
const std::vector< double >  lc 
)

Definition at line 998 of file GEdge.cpp.

Referenced by setMeshSizeFromCurvePoints().

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

◆ setTooSmall()

void GEdge::setTooSmall ( bool const  b)
inline

Definition at line 183 of file GEdge.h.

Referenced by meshGEdgeProcessing(), and GEO_Internals::synchronize().

Here is the caller graph for this function:

◆ setVertex()

void GEdge::setVertex ( GVertex *const  f,
const int  orientation 
)
inline

Definition at line 65 of file GEdge.h.

Here is the call graph for this function:

◆ setVisibility()

void GEdge::setVisibility ( char  val,
bool  recursive = false 
)
virtual

Reimplemented from GEntity.

Definition at line 277 of file GEdge.cpp.

Here is the call graph for this function:

◆ storeSTLAsMesh()

bool GEdge::storeSTLAsMesh ( )

Definition at line 425 of file GEdge.cpp.

Here is the call graph for this function:

◆ vertices()

std::vector< GVertex * > GEdge::vertices ( ) const
virtual

Reimplemented from GEntity.

Definition at line 971 of file GEdge.cpp.

Referenced by discreteEdge::createGeometry(), getOBB(), and transferSeamGEdgesVerticesToGFace().

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

◆ writeGEO()

void GEdge::writeGEO ( FILE *  fp)
virtual

Reimplemented in gmshEdge.

Definition at line 354 of file GEdge.cpp.

Here is the call graph for this function:

◆ writePY()

void GEdge::writePY ( FILE *  fp)
virtual

Definition at line 405 of file GEdge.cpp.

Here is the call graph for this function:

◆ XYZToU()

bool GEdge::XYZToU ( const double  X,
const double  Y,
const double  Z,
double &  U,
const double  relax = 1,
bool  first = true 
) const
virtual

Definition at line 640 of file GEdge.cpp.

Referenced by containsPoint(), and parFromPoint().

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

Member Data Documentation

◆ _cp

closestPointFinder* GEdge::_cp
private

Definition at line 30 of file GEdge.h.

Referenced by closestPointWithTol(), and ~GEdge().

◆ _faces

std::vector<GFace *> GEdge::_faces
protected

Definition at line 36 of file GEdge.h.

Referenced by addFace(), delFace(), faces(), getAdditionalInfoString(), numFaces(), and regions().

◆ _lc

std::vector<double> GEdge::_lc
private

Definition at line 32 of file GEdge.h.

Referenced by prescribedMeshSizeAtParam(), and setMeshSizeParametric().

◆ _length

double GEdge::_length
private

Definition at line 28 of file GEdge.h.

Referenced by length(), and setLength().

◆ _tooSmall

bool GEdge::_tooSmall
private

Definition at line 29 of file GEdge.h.

Referenced by isMeshDegenerated(), and setTooSmall().

◆ _u_lc

std::vector<double> GEdge::_u_lc
private

Definition at line 32 of file GEdge.h.

Referenced by prescribedMeshSizeAtParam(), and setMeshSizeParametric().

◆ _v0

◆ _v1

◆ coeffTransfinite

double GEdge::coeffTransfinite

◆ compoundCurve

GEdge* GEdge::compoundCurve

Definition at line 47 of file GEdge.h.

◆ extrude

ExtrudeParams* GEdge::extrude

Definition at line 257 of file GEdge.h.

Referenced by copyMesh(), extrudeMesh(), Mesh2DWithBoundaryLayers(), and MeshExtrudedCurve().

◆ lines

◆ masterOrientation

int GEdge::masterOrientation

Definition at line 40 of file GEdge.h.

Referenced by meshGEdge::operator()(), and setMeshMaster().

◆ meshAttributes

◆ meshSize

double GEdge::meshSize

Definition at line 252 of file GEdge.h.

Referenced by QuadqsContextUpdater::QuadqsContextUpdater().

◆ meshSizeFactor

double GEdge::meshSizeFactor

Definition at line 252 of file GEdge.h.

Referenced by QuadqsContextUpdater::QuadqsContextUpdater().

◆ meshStatistics

◆ method

◆ minimumMeshSegments

int GEdge::minimumMeshSegments

◆ nbPointsTransfinite

int GEdge::nbPointsTransfinite

◆ reverseMesh

bool GEdge::reverseMesh

◆ status

◆ stl_vertices_xyz

std::vector<SPoint3> GEdge::stl_vertices_xyz

Definition at line 50 of file GEdge.h.

Referenced by storeSTLAsMesh().

◆ typeTransfinite

int GEdge::typeTransfinite

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