Version: 9.12.0
VISCOUS_2D::_SegmentIntersection Struct Reference

Intersector of _Segment's. More...

Public Member Functions

 _SegmentIntersection ()
 
bool Compute (const _Segment &seg1, const _Segment &seg2, bool seg2IsRay=false)
 
bool Compute (const _Segment &seg1, const gp_Ax2d &ray)
 

Data Fields

gp_XY _vec1
 
gp_XY _vec2
 
gp_XY _vec21
 
double _D
 
double _param1
 
double _param2
 

Detailed Description

Intersector of _Segment's.

Constructor & Destructor Documentation

◆ _SegmentIntersection()

VISCOUS_2D::_SegmentIntersection::_SegmentIntersection ( )

Member Function Documentation

◆ Compute() [1/2]

◆ Compute() [2/2]

bool VISCOUS_2D::_SegmentIntersection::Compute ( const _Segment seg1,
const gp_Ax2d &  ray 
)

Field Documentation

◆ _D

double VISCOUS_2D::_SegmentIntersection::_D

◆ _param1

◆ _param2

◆ _vec1

gp_XY VISCOUS_2D::_SegmentIntersection::_vec1

◆ _vec2

gp_XY VISCOUS_2D::_SegmentIntersection::_vec2

◆ _vec21

gp_XY VISCOUS_2D::_SegmentIntersection::_vec21