Version: 9.12.0
VISCOUS_3D::_OffsetPlane Struct Reference

Offset plane used in getNormalByOffset() More...

Public Member Functions

 _OffsetPlane ()
 
void ComputeIntersectionLine (_OffsetPlane &pln, const TopoDS_Edge &E, const TopoDS_Vertex &V)
 Compute line of intersection of 2 planes. More...
 
gp_XYZ GetCommonPoint (bool &isFound, const TopoDS_Vertex &V) const
 Computes intersection point of two _lines. More...
 
int NbLines () const
 

Data Fields

gp_Pln _plane
 
int _faceIndex
 
int _faceIndexNext [2]
 
gp_Lin _lines [2]
 
bool _isLineOK [2]
 

Detailed Description

Offset plane used in getNormalByOffset()

Constructor & Destructor Documentation

◆ _OffsetPlane()

VISCOUS_3D::_OffsetPlane::_OffsetPlane ( )

Member Function Documentation

◆ ComputeIntersectionLine()

void _OffsetPlane::ComputeIntersectionLine ( _OffsetPlane pln,
const TopoDS_Edge &  E,
const TopoDS_Vertex &  V 
)

Compute line of intersection of 2 planes.

References _faceIndex, _faceIndexNext, _isLineOK, _lines, _plane, SMESH_Algo::EdgeLength(), and VISCOUS_3D::getEdgeDir().

◆ GetCommonPoint()

gp_XYZ _OffsetPlane::GetCommonPoint ( bool &  isFound,
const TopoDS_Vertex &  V 
) const

Computes intersection point of two _lines.

◆ NbLines()

int VISCOUS_3D::_OffsetPlane::NbLines ( ) const

Field Documentation

◆ _faceIndex

int VISCOUS_3D::_OffsetPlane::_faceIndex

Referenced by ComputeIntersectionLine().

◆ _faceIndexNext

int VISCOUS_3D::_OffsetPlane::_faceIndexNext[2]

Referenced by ComputeIntersectionLine().

◆ _isLineOK

bool VISCOUS_3D::_OffsetPlane::_isLineOK[2]

Referenced by ComputeIntersectionLine().

◆ _lines

gp_Lin VISCOUS_3D::_OffsetPlane::_lines[2]

Referenced by ComputeIntersectionLine().

◆ _plane

gp_Pln VISCOUS_3D::_OffsetPlane::_plane

Referenced by ComputeIntersectionLine().