Version: 8.3.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

VISCOUS_3D::_OffsetPlane::_OffsetPlane ( )

Member Function Documentation

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, Abs(), and VISCOUS_3D::getEdgeDir().

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

Computes intersection point of two _lines.

References _lines, _plane, Abs(), and NbLines().

int VISCOUS_3D::_OffsetPlane::NbLines ( ) const

Referenced by GetCommonPoint().

Field Documentation

int VISCOUS_3D::_OffsetPlane::_faceIndex

Referenced by ComputeIntersectionLine().

int VISCOUS_3D::_OffsetPlane::_faceIndexNext[2]

Referenced by ComputeIntersectionLine().

bool VISCOUS_3D::_OffsetPlane::_isLineOK[2]

Referenced by ComputeIntersectionLine().

gp_Lin VISCOUS_3D::_OffsetPlane::_lines[2]
gp_Pln VISCOUS_3D::_OffsetPlane::_plane