Open CASCADE Technology  6.9.0
Public Member Functions

BRepFill_TrimSurfaceTool Class Reference

Compute the Pcurves and the 3d curves resulting of the trimming of a face by an extruded surface. More...

#include <BRepFill_TrimSurfaceTool.hxx>

Public Member Functions

 BRepFill_TrimSurfaceTool (const Handle< Geom2d_Curve > &Bis, const TopoDS_Face &Face1, const TopoDS_Face &Face2, const TopoDS_Edge &Edge1, const TopoDS_Edge &Edge2, const Standard_Boolean Inv1, const Standard_Boolean Inv2)
 
void IntersectWith (const TopoDS_Edge &EdgeOnF1, const TopoDS_Edge &EdgeOnF2, TColgp_SequenceOfPnt &Points) const
 Intersect <Bis> with the projection of the edges <EdgeOnFi> and returns the intersecting parameters on Bis and on the edges P.X() : Parameter on Bis P.Y() : Parameter on EdgeOnF1 P.Z() : Parameter on EdgeOnF2 raises if <Edge> is not a edge of Face1 or Face2. More...
 
Standard_Boolean IsOnFace (const gp_Pnt2d &Point) const
 returns True if the Line (P, DZ) intersect the Faces More...
 
Standard_Real ProjOn (const gp_Pnt2d &Point, const TopoDS_Edge &Edge) const
 returns the parameter of the point <Point> on the Edge <Edge>, assuming that the point is on the edge. More...
 
void Project (const Standard_Real U1, const Standard_Real U2, Handle< Geom_Curve > &Curve, Handle< Geom2d_Curve > &PCurve1, Handle< Geom2d_Curve > &PCurve2, GeomAbs_Shape &myCont) const
 

Detailed Description

Compute the Pcurves and the 3d curves resulting of the trimming of a face by an extruded surface.

Constructor & Destructor Documentation

BRepFill_TrimSurfaceTool::BRepFill_TrimSurfaceTool ( const Handle< Geom2d_Curve > &  Bis,
const TopoDS_Face Face1,
const TopoDS_Face Face2,
const TopoDS_Edge Edge1,
const TopoDS_Edge Edge2,
const Standard_Boolean  Inv1,
const Standard_Boolean  Inv2 
)

Member Function Documentation

void BRepFill_TrimSurfaceTool::IntersectWith ( const TopoDS_Edge EdgeOnF1,
const TopoDS_Edge EdgeOnF2,
TColgp_SequenceOfPnt Points 
) const

Intersect <Bis> with the projection of the edges <EdgeOnFi> and returns the intersecting parameters on Bis and on the edges P.X() : Parameter on Bis P.Y() : Parameter on EdgeOnF1 P.Z() : Parameter on EdgeOnF2 raises if <Edge> is not a edge of Face1 or Face2.

Standard_Boolean BRepFill_TrimSurfaceTool::IsOnFace ( const gp_Pnt2d Point) const

returns True if the Line (P, DZ) intersect the Faces

void BRepFill_TrimSurfaceTool::Project ( const Standard_Real  U1,
const Standard_Real  U2,
Handle< Geom_Curve > &  Curve,
Handle< Geom2d_Curve > &  PCurve1,
Handle< Geom2d_Curve > &  PCurve2,
GeomAbs_Shape myCont 
) const
Standard_Real BRepFill_TrimSurfaceTool::ProjOn ( const gp_Pnt2d Point,
const TopoDS_Edge Edge 
) const

returns the parameter of the point <Point> on the Edge <Edge>, assuming that the point is on the edge.


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