![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
This class makes the projection of a wire on a shape. More...
#include <BRepAlgo_NormalProjection.hxx>
Public Member Functions | |
| BRepAlgo_NormalProjection () | |
| BRepAlgo_NormalProjection (const TopoDS_Shape &S) | |
| void | Init (const TopoDS_Shape &S) |
| void | Add (const TopoDS_Shape &ToProj) |
| Add an edge or a wire to the list of shape to project. | |
| void | SetParams (const double Tol3D, const double Tol2D, const GeomAbs_Shape InternalContinuity, const int MaxDegree, const int MaxSeg) |
| Set the parameters used for computation Tol3d is the required tolerance between the 3d projected curve and its 2d representation InternalContinuity is the order of constraints used for approximation. MaxDeg and MaxSeg are the maximum degree and the maximum number of segment for BSpline resulting of an approximation. | |
| void | SetDefaultParams () |
| Set the parameters used for computation in their default values. | |
| void | SetMaxDistance (const double MaxDist) |
| Sets the maximum distance between target shape and shape to project. If this condition is not satisfied then corresponding part of solution is discarded. if MaxDist < 0 then this method does not affect the algorithm. | |
| void | Compute3d (const bool With3d=true) |
| if With3d = false the 3dcurve is not computed the initial 3dcurve is kept to build the resulting edges. | |
| void | SetLimit (const bool FaceBoundaries=true) |
| Manage limitation of projected edges. | |
| void | Build () |
| Builds the result as a compound. | |
| bool | IsDone () const |
| const TopoDS_Shape & | Projection () const |
| returns the result | |
| const TopoDS_Shape & | Ancestor (const TopoDS_Edge &E) const |
| For a resulting edge, returns the corresponding initial edge. | |
| const TopoDS_Shape & | Couple (const TopoDS_Edge &E) const |
| For a projected edge, returns the corresponding initial face. | |
| const NCollection_List< TopoDS_Shape > & | Generated (const TopoDS_Shape &S) |
| Returns the list of shapes generated from the shape | |
| bool | IsElementary (const Adaptor3d_Curve &C) const |
| bool | BuildWire (NCollection_List< TopoDS_Shape > &Liste) const |
| build the result as a list of wire if possible in – a first returns a wire only if there is only a wire. | |
This class makes the projection of a wire on a shape.
| BRepAlgo_NormalProjection::BRepAlgo_NormalProjection | ( | ) |
| BRepAlgo_NormalProjection::BRepAlgo_NormalProjection | ( | const TopoDS_Shape & | S | ) |
| void BRepAlgo_NormalProjection::Add | ( | const TopoDS_Shape & | ToProj | ) |
Add an edge or a wire to the list of shape to project.
| const TopoDS_Shape & BRepAlgo_NormalProjection::Ancestor | ( | const TopoDS_Edge & | E | ) | const |
For a resulting edge, returns the corresponding initial edge.
| void BRepAlgo_NormalProjection::Build | ( | ) |
Builds the result as a compound.
| bool BRepAlgo_NormalProjection::BuildWire | ( | NCollection_List< TopoDS_Shape > & | Liste | ) | const |
build the result as a list of wire if possible in – a first returns a wire only if there is only a wire.
if With3d = false the 3dcurve is not computed the initial 3dcurve is kept to build the resulting edges.
| const TopoDS_Shape & BRepAlgo_NormalProjection::Couple | ( | const TopoDS_Edge & | E | ) | const |
For a projected edge, returns the corresponding initial face.
| const NCollection_List< TopoDS_Shape > & BRepAlgo_NormalProjection::Generated | ( | const TopoDS_Shape & | S | ) |
Returns the list of shapes generated from the shape .
| void BRepAlgo_NormalProjection::Init | ( | const TopoDS_Shape & | S | ) |
| bool BRepAlgo_NormalProjection::IsDone | ( | ) | const |
| bool BRepAlgo_NormalProjection::IsElementary | ( | const Adaptor3d_Curve & | C | ) | const |
| const TopoDS_Shape & BRepAlgo_NormalProjection::Projection | ( | ) | const |
returns the result
| void BRepAlgo_NormalProjection::SetDefaultParams | ( | ) |
Set the parameters used for computation in their default values.
Manage limitation of projected edges.
Sets the maximum distance between target shape and shape to project. If this condition is not satisfied then corresponding part of solution is discarded. if MaxDist < 0 then this method does not affect the algorithm.
| void BRepAlgo_NormalProjection::SetParams | ( | const double | Tol3D, |
| const double | Tol2D, | ||
| const GeomAbs_Shape | InternalContinuity, | ||
| const int | MaxDegree, | ||
| const int | MaxSeg ) |
Set the parameters used for computation Tol3d is the required tolerance between the 3d projected curve and its 2d representation InternalContinuity is the order of constraints used for approximation. MaxDeg and MaxSeg are the maximum degree and the maximum number of segment for BSpline resulting of an approximation.