OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKGeomAlgo
IntPolyh


IntPolyh_Intersection Class Reference

#include <IntPolyh_Intersection.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT IntPolyh_Intersection (const Handle(Adaptor3d_HSurface)&S1, const Handle(Adaptor3d_HSurface)&S2)
 Constructor


.
Standard_EXPORT IntPolyh_Intersection (const Handle(Adaptor3d_HSurface)&S1, const Standard_Integer NbSU1, const Standard_Integer NbSV1, const Handle(Adaptor3d_HSurface)&S2, const Standard_Integer NbSU2, const Standard_Integer NbSV2)
 NbSU1 ... NbSV2 are used to compute the initial
samples of the iso parametric meshes on the
surfaces.
.
Standard_EXPORT IntPolyh_Intersection (const Handle(Adaptor3d_HSurface)&S1, const TColStd_Array1OfReal &anUpars1, const TColStd_Array1OfReal &aVpars1, const Handle(Adaptor3d_HSurface)&S2, const TColStd_Array1OfReal &anUpars2, const TColStd_Array1OfReal &aVpars2)
 D1, D2 are used to compute the initial
samples of the iso parametric meshes on the
surfaces.
.
Standard_EXPORT void Perform ()
 Compute the intersection.
.
Standard_EXPORT void Perform (const TColStd_Array1OfReal &Upars1, const TColStd_Array1OfReal &Vpars1, const TColStd_Array1OfReal &Upars2, const TColStd_Array1OfReal &Vpars2)
 Compute the intersection.
.
Standard_EXPORT Standard_Boolean IsDone () const
Standard_EXPORT Standard_Integer NbSectionLines () const
Standard_EXPORT Standard_Integer NbPointsInLine (const Standard_Integer IndexLine) const
Standard_EXPORT void GetLinePoint (const Standard_Integer IndexLine, const Standard_Integer IndexPoint, Standard_Real &x, Standard_Real &y, Standard_Real &z, Standard_Real &u1, Standard_Real &v1, Standard_Real &u2, Standard_Real &v2, Standard_Real &incidence) const
Standard_EXPORT Standard_Integer NbTangentZones () const
Standard_EXPORT Standard_Integer NbPointsInTangentZone (const Standard_Integer IndexLine) const
Standard_EXPORT void GetTangentZonePoint (const Standard_Integer IndexLine, const Standard_Integer IndexPoint, Standard_Real &x, Standard_Real &y, Standard_Real &z, Standard_Real &u1, Standard_Real &v1, Standard_Real &u2, Standard_Real &v2) const

Private Member Functions

Standard_EXPORT Standard_Boolean PerformMaillage (const Standard_Boolean isFirstFwd, const Standard_Boolean isSecondFwd, IntPolyh_PMaillageAffinage &MaillageS)
 Computes MaillageAffinage
.
Standard_EXPORT Standard_Boolean PerformMaillage (IntPolyh_PMaillageAffinage &MaillageS)
 The method PerformMaillage(..) is used to compute MaillageAffinage. It is
called four times (two times for each surface) for creation of inscribed
and circumscribed mesh for each surface.
.
Standard_EXPORT Standard_Boolean PerformMaillage (const Standard_Boolean isFirstFwd, const Standard_Boolean isSecondFwd, const TColStd_Array1OfReal &Upars1, const TColStd_Array1OfReal &Vpars1, const TColStd_Array1OfReal &Upars2, const TColStd_Array1OfReal &Vpars2, IntPolyh_PMaillageAffinage &MaillageS)
 Computes MaillageAffinage
.
Standard_EXPORT Standard_Boolean PerformMaillage (const TColStd_Array1OfReal &Upars1, const TColStd_Array1OfReal &Vpars1, const TColStd_Array1OfReal &Upars2, const TColStd_Array1OfReal &Vpars2, IntPolyh_PMaillageAffinage &MaillageS)
 The method PerformMaillage(..) is used to compute MaillageAffinage. It is
called four times (two times for each surface) for creation of inscribed
and circumscribed mesh for each surface.
.
Standard_EXPORT void MergeCouples (IntPolyh_ArrayOfCouples &anArrayFF, IntPolyh_ArrayOfCouples &anArrayFR, IntPolyh_ArrayOfCouples &anArrayRF, IntPolyh_ArrayOfCouples &anArrayRR) const
 This method analyzes arrays to find same couples. If some
are detected it leaves the couple in only one array
deleting from others.
.
Standard_EXPORT Standard_Boolean PerformStd (IntPolyh_PMaillageAffinage &MaillageS, Standard_Integer &NbCouples)
 Process default interference
.
Standard_EXPORT Standard_Boolean PerformAdv (IntPolyh_PMaillageAffinage &MaillageFF, IntPolyh_PMaillageAffinage &MaillageFR, IntPolyh_PMaillageAffinage &MaillageRF, IntPolyh_PMaillageAffinage &MaillageRR, Standard_Integer &NbCouples)
 Process advanced interference
.
Standard_EXPORT Standard_Boolean PerformStd (const TColStd_Array1OfReal &Upars1, const TColStd_Array1OfReal &Vpars1, const TColStd_Array1OfReal &Upars2, const TColStd_Array1OfReal &Vpars2, IntPolyh_PMaillageAffinage &MaillageS, Standard_Integer &NbCouples)
 Process default interference
.
Standard_EXPORT Standard_Boolean PerformAdv (const TColStd_Array1OfReal &Upars1, const TColStd_Array1OfReal &Vpars1, const TColStd_Array1OfReal &Upars2, const TColStd_Array1OfReal &Vpars2, IntPolyh_PMaillageAffinage &MaillageFF, IntPolyh_PMaillageAffinage &MaillageFR, IntPolyh_PMaillageAffinage &MaillageRF, IntPolyh_PMaillageAffinage &MaillageRR, Standard_Integer &NbCouples)
 Process advanced interference
.

Private Attributes

Standard_Boolean done
Standard_Integer nbsectionlines
Standard_Integer nbtangentzones
IntPolyh_ArrayOfSectionLines TSectionLines
IntPolyh_ArrayOfTangentZones TTangentZones
Standard_Integer myNbSU1
Standard_Integer myNbSV1
Standard_Integer myNbSU2
Standard_Integer myNbSV2
Handle_Adaptor3d_HSurface mySurf1
Handle_Adaptor3d_HSurface mySurf2


Constructor & Destructor Documentation

Standard_EXPORT IntPolyh_Intersection::IntPolyh_Intersection (  const Handle(Adaptor3d_HSurface)&  S1,
const Handle(Adaptor3d_HSurface)&  S2
) 
 

Standard_EXPORT IntPolyh_Intersection::IntPolyh_Intersection (  const Handle(Adaptor3d_HSurface)&  S1,
const Standard_Integer  NbSU1,
const Standard_Integer  NbSV1,
const Handle(Adaptor3d_HSurface)&  S2,
const Standard_Integer  NbSU2,
const Standard_Integer  NbSV2
) 
 

Standard_EXPORT IntPolyh_Intersection::IntPolyh_Intersection (  const Handle(Adaptor3d_HSurface)&  S1,
const TColStd_Array1OfReal &  anUpars1,
const TColStd_Array1OfReal &  aVpars1,
const Handle(Adaptor3d_HSurface)&  S2,
const TColStd_Array1OfReal &  anUpars2,
const TColStd_Array1OfReal &  aVpars2
) 
 


Member Function Documentation

Standard_EXPORT void IntPolyh_Intersection::GetLinePoint (  const Standard_Integer  IndexLine,
const Standard_Integer  IndexPoint,
Standard_Real &  x,
Standard_Real &  y,
Standard_Real &  z,
Standard_Real &  u1,
Standard_Real &  v1,
Standard_Real &  u2,
Standard_Real &  v2,
Standard_Real &  incidence
)  const
 

Standard_EXPORT void IntPolyh_Intersection::GetTangentZonePoint (  const Standard_Integer  IndexLine,
const Standard_Integer  IndexPoint,
Standard_Real &  x,
Standard_Real &  y,
Standard_Real &  z,
Standard_Real &  u1,
Standard_Real &  v1,
Standard_Real &  u2,
Standard_Real &  v2
)  const
 

Standard_EXPORT Standard_Boolean IntPolyh_Intersection::IsDone (   )  const
 

Standard_EXPORT void IntPolyh_Intersection::MergeCouples (  IntPolyh_ArrayOfCouples &  anArrayFF,
IntPolyh_ArrayOfCouples &  anArrayFR,
IntPolyh_ArrayOfCouples &  anArrayRF,
IntPolyh_ArrayOfCouples &  anArrayRR
)  const [private]
 

Standard_EXPORT Standard_Integer IntPolyh_Intersection::NbPointsInLine (  const Standard_Integer  IndexLine  )  const
 

Standard_EXPORT Standard_Integer IntPolyh_Intersection::NbPointsInTangentZone (  const Standard_Integer  IndexLine  )  const
 

Standard_EXPORT Standard_Integer IntPolyh_Intersection::NbSectionLines (   )  const
 

Standard_EXPORT Standard_Integer IntPolyh_Intersection::NbTangentZones (   )  const
 

void IntPolyh_Intersection::operator delete (  void *  anAddress  )  [inline]
 

void* IntPolyh_Intersection::operator new (  size_t  size  )  [inline]
 

void* IntPolyh_Intersection::operator new (  size_t  ,
void *  anAddress
)  [inline]
 

Standard_EXPORT void IntPolyh_Intersection::Perform (  const TColStd_Array1OfReal &  Upars1,
const TColStd_Array1OfReal &  Vpars1,
const TColStd_Array1OfReal &  Upars2,
const TColStd_Array1OfReal &  Vpars2
) 
 

Standard_EXPORT void IntPolyh_Intersection::Perform (   ) 
 

Standard_EXPORT Standard_Boolean IntPolyh_Intersection::PerformAdv (  const TColStd_Array1OfReal &  Upars1,
const TColStd_Array1OfReal &  Vpars1,
const TColStd_Array1OfReal &  Upars2,
const TColStd_Array1OfReal &  Vpars2,
IntPolyh_PMaillageAffinage &  MaillageFF,
IntPolyh_PMaillageAffinage &  MaillageFR,
IntPolyh_PMaillageAffinage &  MaillageRF,
IntPolyh_PMaillageAffinage &  MaillageRR,
Standard_Integer &  NbCouples
)  [private]
 

Standard_EXPORT Standard_Boolean IntPolyh_Intersection::PerformAdv (  IntPolyh_PMaillageAffinage &  MaillageFF,
IntPolyh_PMaillageAffinage &  MaillageFR,
IntPolyh_PMaillageAffinage &  MaillageRF,
IntPolyh_PMaillageAffinage &  MaillageRR,
Standard_Integer &  NbCouples
)  [private]
 

Standard_EXPORT Standard_Boolean IntPolyh_Intersection::PerformMaillage (  const TColStd_Array1OfReal &  Upars1,
const TColStd_Array1OfReal &  Vpars1,
const TColStd_Array1OfReal &  Upars2,
const TColStd_Array1OfReal &  Vpars2,
IntPolyh_PMaillageAffinage &  MaillageS
)  [private]
 

Standard_EXPORT Standard_Boolean IntPolyh_Intersection::PerformMaillage (  const Standard_Boolean  isFirstFwd,
const Standard_Boolean  isSecondFwd,
const TColStd_Array1OfReal &  Upars1,
const TColStd_Array1OfReal &  Vpars1,
const TColStd_Array1OfReal &  Upars2,
const TColStd_Array1OfReal &  Vpars2,
IntPolyh_PMaillageAffinage &  MaillageS
)  [private]
 

Standard_EXPORT Standard_Boolean IntPolyh_Intersection::PerformMaillage (  IntPolyh_PMaillageAffinage &  MaillageS  )  [private]
 

Standard_EXPORT Standard_Boolean IntPolyh_Intersection::PerformMaillage (  const Standard_Boolean  isFirstFwd,
const Standard_Boolean  isSecondFwd,
IntPolyh_PMaillageAffinage &  MaillageS
)  [private]
 

Standard_EXPORT Standard_Boolean IntPolyh_Intersection::PerformStd (  const TColStd_Array1OfReal &  Upars1,
const TColStd_Array1OfReal &  Vpars1,
const TColStd_Array1OfReal &  Upars2,
const TColStd_Array1OfReal &  Vpars2,
IntPolyh_PMaillageAffinage &  MaillageS,
Standard_Integer &  NbCouples
)  [private]
 

Standard_EXPORT Standard_Boolean IntPolyh_Intersection::PerformStd (  IntPolyh_PMaillageAffinage &  MaillageS,
Standard_Integer &  NbCouples
)  [private]
 


Field Documentation

Standard_Boolean IntPolyh_Intersection::done [private]
 

Standard_Integer IntPolyh_Intersection::myNbSU1 [private]
 

Standard_Integer IntPolyh_Intersection::myNbSU2 [private]
 

Standard_Integer IntPolyh_Intersection::myNbSV1 [private]
 

Standard_Integer IntPolyh_Intersection::myNbSV2 [private]
 

Handle_Adaptor3d_HSurface IntPolyh_Intersection::mySurf1 [private]
 

Handle_Adaptor3d_HSurface IntPolyh_Intersection::mySurf2 [private]
 

Standard_Integer IntPolyh_Intersection::nbsectionlines [private]
 

Standard_Integer IntPolyh_Intersection::nbtangentzones [private]
 

IntPolyh_ArrayOfSectionLines IntPolyh_Intersection::TSectionLines [private]
 

IntPolyh_ArrayOfTangentZones IntPolyh_Intersection::TTangentZones [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:42:17 2008 for OpenCASCADE by  doxygen 1.4.1