Open CASCADE Technology 7.8.2.dev
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 Handle< Adaptor3d_Surface > &Surf1, const Handle< Adaptor3d_TopolTool > &D1, const Handle< Adaptor3d_Surface > &Surf2, const Handle< Adaptor3d_TopolTool > &D2, const Standard_Real TolArc, const Standard_Real TolTang, const Standard_Real Fleche, const Standard_Real Pas)
 
void SetStartPoint (const Standard_Real U, const Standard_Real V)
 to search for solution from the given point
 
void Perform (const Handle< Adaptor3d_Surface > &Surf1, const Handle< Adaptor3d_TopolTool > &D1, const Handle< Adaptor3d_Surface > &Surf2, const Handle< Adaptor3d_TopolTool > &D2, const Standard_Real TolArc, const Standard_Real TolTang, const Standard_Real Fleche, const Standard_Real Pas)
 
Standard_Boolean IsDone () const
 Returns true if the calculus was successful.
 
Standard_Boolean IsEmpty () const
 Returns true if the is no intersection.
 
Standard_Integer NbPnts () const
 Returns the number of "single" points.
 
const IntPatch_PointPoint (const Standard_Integer Index) const
 Returns the point of range Index. An exception is raised if Index<=0 or Index>NbPnt.
 
Standard_Integer NbLines () const
 Returns the number of intersection lines.
 
const Handle< IntPatch_Line > & Line (const Standard_Integer 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 Handle< Adaptor3d_Surface > & Surf1,
const Handle< Adaptor3d_TopolTool > & D1,
const Handle< Adaptor3d_Surface > & Surf2,
const Handle< Adaptor3d_TopolTool > & D2,
const Standard_Real TolArc,
const Standard_Real TolTang,
const Standard_Real Fleche,
const Standard_Real Pas )

Member Function Documentation

◆ IsDone()

Standard_Boolean IntPatch_ImpPrmIntersection::IsDone ( ) const

Returns true if the calculus was successful.

◆ IsEmpty()

Standard_Boolean IntPatch_ImpPrmIntersection::IsEmpty ( ) const

Returns true if the is no intersection.

◆ Line()

const Handle< IntPatch_Line > & IntPatch_ImpPrmIntersection::Line ( const Standard_Integer Index) const

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

◆ NbLines()

Standard_Integer IntPatch_ImpPrmIntersection::NbLines ( ) const

Returns the number of intersection lines.

◆ NbPnts()

Standard_Integer IntPatch_ImpPrmIntersection::NbPnts ( ) const

Returns the number of "single" points.

◆ Perform()

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

◆ Point()

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

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

◆ SetStartPoint()

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

to search for solution from the given point


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