Open CASCADE Technology 7.8.2.dev
IntCurveSurface_HInter Class Reference

#include <IntCurveSurface_HInter.hxx>

Inheritance diagram for IntCurveSurface_HInter:

Public Member Functions

 IntCurveSurface_HInter ()
 Empty Constructor.
 
void Perform (const Handle< Adaptor3d_Curve > &Curve, const Handle< Adaptor3d_Surface > &Surface)
 Compute the Intersection between the curve and the surface.
 
void Perform (const Handle< Adaptor3d_Curve > &Curve, const IntCurveSurface_ThePolygonOfHInter &Polygon, const Handle< Adaptor3d_Surface > &Surface)
 Compute the Intersection between the curve and the surface. The Curve is already sampled and its polygon : <Polygon> is given.
 
void Perform (const Handle< Adaptor3d_Curve > &Curve, const IntCurveSurface_ThePolygonOfHInter &ThePolygon, const Handle< Adaptor3d_Surface > &Surface, const IntCurveSurface_ThePolyhedronOfHInter &Polyhedron)
 Compute the Intersection between the curve and the surface. The Curve is already sampled and its polygon : <Polygon> is given. The Surface is also sampled and <Polyhedron> is given.
 
void Perform (const Handle< Adaptor3d_Curve > &Curve, const IntCurveSurface_ThePolygonOfHInter &ThePolygon, const Handle< Adaptor3d_Surface > &Surface, const IntCurveSurface_ThePolyhedronOfHInter &Polyhedron, Bnd_BoundSortBox &BndBSB)
 Compute the Intersection between the curve and the surface. The Curve is already sampled and its polygon : <Polygon> is given. The Surface is also sampled and <Polyhedron> is given.
 
void Perform (const Handle< Adaptor3d_Curve > &Curve, const Handle< Adaptor3d_Surface > &Surface, const IntCurveSurface_ThePolyhedronOfHInter &Polyhedron)
 Compute the Intersection between the curve and the surface. The Surface is already sampled and its polyhedron : <Polyhedron> is given.
 
- Public Member Functions inherited from IntCurveSurface_Intersection
Standard_Boolean IsDone () const
 returns the <done> field.
 
Standard_Integer NbPoints () const
 returns the number of IntersectionPoint if IsDone returns True. else NotDone is raised.
 
const IntCurveSurface_IntersectionPointPoint (const Standard_Integer Index) const
 returns the IntersectionPoint of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbPoints>
 
Standard_Integer NbSegments () const
 returns the number of IntersectionSegment if IsDone returns True. else NotDone is raised.
 
const IntCurveSurface_IntersectionSegmentSegment (const Standard_Integer Index) const
 returns the IntersectionSegment of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbSegment>
 
Standard_Boolean IsParallel () const
 Returns true if curve is parallel or belongs surface This case is recognized only for some pairs of analytical curves and surfaces (plane - line, ...)
 
void Dump () const
 Dump all the fields.
 

Protected Member Functions

void Perform (const Handle< Adaptor3d_Curve > &Curve, const Handle< Adaptor3d_Surface > &Surface, const Standard_Real U0, const Standard_Real V0, const Standard_Real U1, const Standard_Real V1)
 Compute the Intersection between the curve and the surface.
 
void InternalPerformCurveQuadric (const Handle< Adaptor3d_Curve > &Curve, const Handle< Adaptor3d_Surface > &Surface)
 
void InternalPerform (const Handle< Adaptor3d_Curve > &Curve, const IntCurveSurface_ThePolygonOfHInter &Polygon, const Handle< Adaptor3d_Surface > &Surface, const IntCurveSurface_ThePolyhedronOfHInter &Polyhedron, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2)
 
void InternalPerform (const Handle< Adaptor3d_Curve > &Curve, const IntCurveSurface_ThePolygonOfHInter &Polygon, const Handle< Adaptor3d_Surface > &Surface, const IntCurveSurface_ThePolyhedronOfHInter &Polyhedron, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2, Bnd_BoundSortBox &BSB)
 
void InternalPerform (const Handle< Adaptor3d_Curve > &Curve, const IntCurveSurface_ThePolygonOfHInter &Polygon, const Handle< Adaptor3d_Surface > &Surface, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2)
 
void PerformConicSurf (const gp_Lin &Line, const Handle< Adaptor3d_Curve > &Curve, const Handle< Adaptor3d_Surface > &Surface, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2)
 
void PerformConicSurf (const gp_Circ &Circle, const Handle< Adaptor3d_Curve > &Curve, const Handle< Adaptor3d_Surface > &Surface, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2)
 
void PerformConicSurf (const gp_Elips &Ellipse, const Handle< Adaptor3d_Curve > &Curve, const Handle< Adaptor3d_Surface > &Surface, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2)
 
void PerformConicSurf (const gp_Parab &Parab, const Handle< Adaptor3d_Curve > &Curve, const Handle< Adaptor3d_Surface > &Surface, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2)
 
void PerformConicSurf (const gp_Hypr &Hyper, const Handle< Adaptor3d_Curve > &Curve, const Handle< Adaptor3d_Surface > &Surface, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2)
 
void AppendIntAna (const Handle< Adaptor3d_Curve > &Curve, const Handle< Adaptor3d_Surface > &Surface, const IntAna_IntConicQuad &InterAna)
 
void AppendPoint (const Handle< Adaptor3d_Curve > &Curve, const Standard_Real w, const Handle< Adaptor3d_Surface > &Surface, const Standard_Real u, const Standard_Real v)
 
void AppendSegment (const Handle< Adaptor3d_Curve > &Curve, const Standard_Real u0, const Standard_Real u1, const Handle< Adaptor3d_Surface > &Surface)
 
- Protected Member Functions inherited from IntCurveSurface_Intersection
 IntCurveSurface_Intersection ()
 Empty Constructor;.
 
 ~IntCurveSurface_Intersection ()
 Destructor is protected, for safe inheritance.
 
void SetValues (const IntCurveSurface_Intersection &Inter)
 Internal method copy the <Inter> fields to <me>
 
void Append (const IntCurveSurface_Intersection &Inter, const Standard_Real FirstParamOnCurve, const Standard_Real LastParamOnCurve)
 Internal method Append the IntersectionPoints and IntersectionSegments of <Inter> to <me>.
 
void Append (const IntCurveSurface_IntersectionPoint &Pt)
 Internal method Append the IntersectionPoints of <Inter> to <me>
 
void Append (const IntCurveSurface_IntersectionSegment &Seg)
 Internal method Append the IntersectionPoints of <Inter> to <me>
 
void ResetFields ()
 Internal method Reset all the fields of <me> Clear the sequences of IntersectionPoints and Segments Set the field <done> to Standard_False.
 

Additional Inherited Members

- Protected Attributes inherited from IntCurveSurface_Intersection
Standard_Boolean done
 
Standard_Boolean myIsParallel
 

Constructor & Destructor Documentation

◆ IntCurveSurface_HInter()

IntCurveSurface_HInter::IntCurveSurface_HInter ( )

Empty Constructor.

Member Function Documentation

◆ AppendIntAna()

void IntCurveSurface_HInter::AppendIntAna ( const Handle< Adaptor3d_Curve > & Curve,
const Handle< Adaptor3d_Surface > & Surface,
const IntAna_IntConicQuad & InterAna )
protected

◆ AppendPoint()

void IntCurveSurface_HInter::AppendPoint ( const Handle< Adaptor3d_Curve > & Curve,
const Standard_Real w,
const Handle< Adaptor3d_Surface > & Surface,
const Standard_Real u,
const Standard_Real v )
protected

◆ AppendSegment()

void IntCurveSurface_HInter::AppendSegment ( const Handle< Adaptor3d_Curve > & Curve,
const Standard_Real u0,
const Standard_Real u1,
const Handle< Adaptor3d_Surface > & Surface )
protected

◆ InternalPerform() [1/3]

void IntCurveSurface_HInter::InternalPerform ( const Handle< Adaptor3d_Curve > & Curve,
const IntCurveSurface_ThePolygonOfHInter & Polygon,
const Handle< Adaptor3d_Surface > & Surface,
const IntCurveSurface_ThePolyhedronOfHInter & Polyhedron,
const Standard_Real U1,
const Standard_Real V1,
const Standard_Real U2,
const Standard_Real V2 )
protected

◆ InternalPerform() [2/3]

void IntCurveSurface_HInter::InternalPerform ( const Handle< Adaptor3d_Curve > & Curve,
const IntCurveSurface_ThePolygonOfHInter & Polygon,
const Handle< Adaptor3d_Surface > & Surface,
const IntCurveSurface_ThePolyhedronOfHInter & Polyhedron,
const Standard_Real U1,
const Standard_Real V1,
const Standard_Real U2,
const Standard_Real V2,
Bnd_BoundSortBox & BSB )
protected

◆ InternalPerform() [3/3]

void IntCurveSurface_HInter::InternalPerform ( const Handle< Adaptor3d_Curve > & Curve,
const IntCurveSurface_ThePolygonOfHInter & Polygon,
const Handle< Adaptor3d_Surface > & Surface,
const Standard_Real U1,
const Standard_Real V1,
const Standard_Real U2,
const Standard_Real V2 )
protected

◆ InternalPerformCurveQuadric()

void IntCurveSurface_HInter::InternalPerformCurveQuadric ( const Handle< Adaptor3d_Curve > & Curve,
const Handle< Adaptor3d_Surface > & Surface )
protected

◆ Perform() [1/6]

void IntCurveSurface_HInter::Perform ( const Handle< Adaptor3d_Curve > & Curve,
const Handle< Adaptor3d_Surface > & Surface )

Compute the Intersection between the curve and the surface.

◆ Perform() [2/6]

void IntCurveSurface_HInter::Perform ( const Handle< Adaptor3d_Curve > & Curve,
const Handle< Adaptor3d_Surface > & Surface,
const IntCurveSurface_ThePolyhedronOfHInter & Polyhedron )

Compute the Intersection between the curve and the surface. The Surface is already sampled and its polyhedron : <Polyhedron> is given.

◆ Perform() [3/6]

void IntCurveSurface_HInter::Perform ( const Handle< Adaptor3d_Curve > & Curve,
const Handle< Adaptor3d_Surface > & Surface,
const Standard_Real U0,
const Standard_Real V0,
const Standard_Real U1,
const Standard_Real V1 )
protected

Compute the Intersection between the curve and the surface.

◆ Perform() [4/6]

void IntCurveSurface_HInter::Perform ( const Handle< Adaptor3d_Curve > & Curve,
const IntCurveSurface_ThePolygonOfHInter & Polygon,
const Handle< Adaptor3d_Surface > & Surface )

Compute the Intersection between the curve and the surface. The Curve is already sampled and its polygon : <Polygon> is given.

◆ Perform() [5/6]

void IntCurveSurface_HInter::Perform ( const Handle< Adaptor3d_Curve > & Curve,
const IntCurveSurface_ThePolygonOfHInter & ThePolygon,
const Handle< Adaptor3d_Surface > & Surface,
const IntCurveSurface_ThePolyhedronOfHInter & Polyhedron )

Compute the Intersection between the curve and the surface. The Curve is already sampled and its polygon : <Polygon> is given. The Surface is also sampled and <Polyhedron> is given.

◆ Perform() [6/6]

void IntCurveSurface_HInter::Perform ( const Handle< Adaptor3d_Curve > & Curve,
const IntCurveSurface_ThePolygonOfHInter & ThePolygon,
const Handle< Adaptor3d_Surface > & Surface,
const IntCurveSurface_ThePolyhedronOfHInter & Polyhedron,
Bnd_BoundSortBox & BndBSB )

Compute the Intersection between the curve and the surface. The Curve is already sampled and its polygon : <Polygon> is given. The Surface is also sampled and <Polyhedron> is given.

◆ PerformConicSurf() [1/5]

void IntCurveSurface_HInter::PerformConicSurf ( const gp_Circ & Circle,
const Handle< Adaptor3d_Curve > & Curve,
const Handle< Adaptor3d_Surface > & Surface,
const Standard_Real U1,
const Standard_Real V1,
const Standard_Real U2,
const Standard_Real V2 )
protected

◆ PerformConicSurf() [2/5]

void IntCurveSurface_HInter::PerformConicSurf ( const gp_Elips & Ellipse,
const Handle< Adaptor3d_Curve > & Curve,
const Handle< Adaptor3d_Surface > & Surface,
const Standard_Real U1,
const Standard_Real V1,
const Standard_Real U2,
const Standard_Real V2 )
protected

◆ PerformConicSurf() [3/5]

void IntCurveSurface_HInter::PerformConicSurf ( const gp_Hypr & Hyper,
const Handle< Adaptor3d_Curve > & Curve,
const Handle< Adaptor3d_Surface > & Surface,
const Standard_Real U1,
const Standard_Real V1,
const Standard_Real U2,
const Standard_Real V2 )
protected

◆ PerformConicSurf() [4/5]

void IntCurveSurface_HInter::PerformConicSurf ( const gp_Lin & Line,
const Handle< Adaptor3d_Curve > & Curve,
const Handle< Adaptor3d_Surface > & Surface,
const Standard_Real U1,
const Standard_Real V1,
const Standard_Real U2,
const Standard_Real V2 )
protected

◆ PerformConicSurf() [5/5]

void IntCurveSurface_HInter::PerformConicSurf ( const gp_Parab & Parab,
const Handle< Adaptor3d_Curve > & Curve,
const Handle< Adaptor3d_Surface > & Surface,
const Standard_Real U1,
const Standard_Real V1,
const Standard_Real U2,
const Standard_Real V2 )
protected

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