VISCOUS_2D::_PolyLine Struct Reference

Poly line composed of _Segment's of one EDGE. It's used to detect intersection of inflated layers by intersecting _Segment's in 2D. More...

Public Types

typedef vector< _LayerEdge >::iterator TEdgeIterator
 
typedef vector< _Segment >::iterator TSegIterator
 

Public Member Functions

size_t FirstLEdge () const
 
bool IsAdjacent (const _Segment &seg, const _LayerEdge *LE=0) const
 
bool IsCommonEdgeShared (const _PolyLine &other)
 Return true if _LayerEdge at a common VERTEX between EDGEs with and w/o layer is common to the both _PolyLine's. If this is true, nodes of this _LayerEdge are inflated along a _PolyLine w/o layer, else the nodes are inflated along _normal2D of _LayerEdge of EDGE with layer. More...
 
bool IsConcave () const
 Return true if the EDGE of this _PolyLine is concave. More...
 

Detailed Description

Poly line composed of _Segment's of one EDGE. It's used to detect intersection of inflated layers by intersecting _Segment's in 2D.

Member Typedef Documentation

◆ TEdgeIterator

typedef vector< _LayerEdge >::iterator VISCOUS_2D::_PolyLine::TEdgeIterator

◆ TSegIterator

typedef vector< _Segment >::iterator VISCOUS_2D::_PolyLine::TSegIterator

Member Function Documentation

◆ FirstLEdge()

size_t VISCOUS_2D::_PolyLine::FirstLEdge ( ) const

◆ IsAdjacent()

bool VISCOUS_2D::_PolyLine::IsAdjacent ( const _Segment seg,
const _LayerEdge LE = 0 
) const

◆ IsCommonEdgeShared()

bool _PolyLine::IsCommonEdgeShared ( const _PolyLine other)

Return true if _LayerEdge at a common VERTEX between EDGEs with and w/o layer is common to the both _PolyLine's. If this is true, nodes of this _LayerEdge are inflated along a _PolyLine w/o layer, else the nodes are inflated along _normal2D of _LayerEdge of EDGE with layer.

◆ IsConcave()

bool _PolyLine::IsConcave ( ) const

Return true if the EDGE of this _PolyLine is concave.

References draftgeoutils.general::v1().


The documentation for this struct was generated from the following file:
  • Sources/FreeCAD/src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_ViscousLayers2D.cpp