Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
IntPatch_ImpPrmIntersection Class Reference

Implementation of the intersection between a natural quadric patch : Plane, Cone, Cylinder or Sphere and a bi-parametrised surface. More...

#include <IntPatch_ImpPrmIntersection.hxx>

Public Member Functions

 IntPatch_ImpPrmIntersection ()
 
 IntPatch_ImpPrmIntersection (const occ::handle< Adaptor3d_Surface > &Surf1, const occ::handle< Adaptor3d_TopolTool > &D1, const occ::handle< Adaptor3d_Surface > &Surf2, const occ::handle< Adaptor3d_TopolTool > &D2, const double TolArc, const double TolTang, const double Fleche, const double Pas)
 
void SetStartPoint (const double U, const double V)
 to search for solution from the given point
 
void Perform (const occ::handle< Adaptor3d_Surface > &Surf1, const occ::handle< Adaptor3d_TopolTool > &D1, const occ::handle< Adaptor3d_Surface > &Surf2, const occ::handle< Adaptor3d_TopolTool > &D2, const double TolArc, const double TolTang, const double Fleche, const double Pas)
 
bool IsDone () const
 Returns true if the calculus was successful.
 
bool IsEmpty () const
 Returns true if the is no intersection.
 
int NbPnts () const
 Returns the number of "single" points.
 
const IntPatch_PointPoint (const int Index) const
 Returns the point of range Index. An exception is raised if Index<=0 or Index>NbPnt.
 
int NbLines () const
 Returns the number of intersection lines.
 
const occ::handle< IntPatch_Line > & Line (const int Index) const
 Returns the line of range Index. An exception is raised if Index<=0 or Index>NbLine.
 

Detailed Description

Implementation of the intersection between a natural quadric patch : Plane, Cone, Cylinder or Sphere and a bi-parametrised surface.

Constructor & Destructor Documentation

◆ IntPatch_ImpPrmIntersection() [1/2]

IntPatch_ImpPrmIntersection::IntPatch_ImpPrmIntersection ( )

◆ IntPatch_ImpPrmIntersection() [2/2]

IntPatch_ImpPrmIntersection::IntPatch_ImpPrmIntersection ( const occ::handle< Adaptor3d_Surface > & Surf1,
const occ::handle< Adaptor3d_TopolTool > & D1,
const occ::handle< Adaptor3d_Surface > & Surf2,
const occ::handle< Adaptor3d_TopolTool > & D2,
const double TolArc,
const double TolTang,
const double Fleche,
const double Pas )

Member Function Documentation

◆ IsDone()

bool IntPatch_ImpPrmIntersection::IsDone ( ) const

Returns true if the calculus was successful.

◆ IsEmpty()

bool IntPatch_ImpPrmIntersection::IsEmpty ( ) const

Returns true if the is no intersection.

◆ Line()

const occ::handle< IntPatch_Line > & IntPatch_ImpPrmIntersection::Line ( const int Index) const

Returns the line of range Index. An exception is raised if Index<=0 or Index>NbLine.

◆ NbLines()

int IntPatch_ImpPrmIntersection::NbLines ( ) const

Returns the number of intersection lines.

◆ NbPnts()

int IntPatch_ImpPrmIntersection::NbPnts ( ) const

Returns the number of "single" points.

◆ Perform()

void IntPatch_ImpPrmIntersection::Perform ( const occ::handle< Adaptor3d_Surface > & Surf1,
const occ::handle< Adaptor3d_TopolTool > & D1,
const occ::handle< Adaptor3d_Surface > & Surf2,
const occ::handle< Adaptor3d_TopolTool > & D2,
const double TolArc,
const double TolTang,
const double Fleche,
const double Pas )

◆ Point()

const IntPatch_Point & IntPatch_ImpPrmIntersection::Point ( const int Index) const

Returns the point of range Index. An exception is raised if Index<=0 or Index>NbPnt.

◆ SetStartPoint()

void IntPatch_ImpPrmIntersection::SetStartPoint ( const double U,
const double V )

to search for solution from the given point


The documentation for this class was generated from the following file: