Open CASCADE Technology 6.6.0
Public Member Functions
IntPatch_ImpImpIntersection Class Reference

Implementation of the intersection between two
quadric patches : Plane, Cone, Cylinder or Sphere.

#include <IntPatch_ImpImpIntersection.hxx>

Public Member Functions

 IntPatch_ImpImpIntersection ()
 IntPatch_ImpImpIntersection (const Handle< Adaptor3d_HSurface > &S1, const Handle< Adaptor3d_TopolTool > &D1, const Handle< Adaptor3d_HSurface > &S2, const Handle< Adaptor3d_TopolTool > &D2, const Standard_Real TolArc, const Standard_Real TolTang)
void Perform (const Handle< Adaptor3d_HSurface > &S1, const Handle< Adaptor3d_TopolTool > &D1, const Handle< Adaptor3d_HSurface > &S2, const Handle< Adaptor3d_TopolTool > &D2, const Standard_Real TolArc, const Standard_Real TolTang)
Standard_Boolean IsDone () const
 Returns True if the calculus was succesfull.

Standard_Boolean IsEmpty () const
 Returns true if the is no intersection.

Standard_Boolean TangentFaces () const
 Returns True if the two patches are considered as
entierly tangent, i-e every restriction arc of one
patch is inside the geometric base of the otehr patch.

Standard_Boolean OppositeFaces () const
 Returns True when the TangentFaces returns True and the
normal vectors evaluated at a point on the first and the
second surface are opposite.
The exception DomainError is raised if TangentFaces
returns False.

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.


Constructor & Destructor Documentation

IntPatch_ImpImpIntersection::IntPatch_ImpImpIntersection ( )
IntPatch_ImpImpIntersection::IntPatch_ImpImpIntersection ( const Handle< Adaptor3d_HSurface > &  S1,
const Handle< Adaptor3d_TopolTool > &  D1,
const Handle< Adaptor3d_HSurface > &  S2,
const Handle< Adaptor3d_TopolTool > &  D2,
const Standard_Real  TolArc,
const Standard_Real  TolTang 
)

Member Function Documentation

Standard_Boolean IntPatch_ImpImpIntersection::IsDone ( ) const
Standard_Boolean IntPatch_ImpImpIntersection::IsEmpty ( ) const
const Handle_IntPatch_Line& IntPatch_ImpImpIntersection::Line ( const Standard_Integer  Index) const
Standard_Integer IntPatch_ImpImpIntersection::NbLines ( ) const
Standard_Integer IntPatch_ImpImpIntersection::NbPnts ( ) const
Standard_Boolean IntPatch_ImpImpIntersection::OppositeFaces ( ) const
void IntPatch_ImpImpIntersection::Perform ( const Handle< Adaptor3d_HSurface > &  S1,
const Handle< Adaptor3d_TopolTool > &  D1,
const Handle< Adaptor3d_HSurface > &  S2,
const Handle< Adaptor3d_TopolTool > &  D2,
const Standard_Real  TolArc,
const Standard_Real  TolTang 
)
const IntPatch_Point& IntPatch_ImpImpIntersection::Point ( const Standard_Integer  Index) const
Standard_Boolean IntPatch_ImpImpIntersection::TangentFaces ( ) const

The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines