OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BRepAlgo_NormalProjection Class Reference

    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_ShapeProjection () const
     returns the result
    const TopoDS_ShapeAncestor (const TopoDS_Edge &E) const
     For a resulting edge, returns the corresponding initial edge.
    const TopoDS_ShapeCouple (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.

    Detailed Description

    This class makes the projection of a wire on a shape.

    Constructor & Destructor Documentation

    ◆ BRepAlgo_NormalProjection() [1/2]

    BRepAlgo_NormalProjection::BRepAlgo_NormalProjection ( )

    ◆ BRepAlgo_NormalProjection() [2/2]

    BRepAlgo_NormalProjection::BRepAlgo_NormalProjection ( const TopoDS_Shape & S)

    Member Function Documentation

    ◆ Add()

    void BRepAlgo_NormalProjection::Add ( const TopoDS_Shape & ToProj)

    Add an edge or a wire to the list of shape to project.

    ◆ Ancestor()

    const TopoDS_Shape & BRepAlgo_NormalProjection::Ancestor ( const TopoDS_Edge & E) const

    For a resulting edge, returns the corresponding initial edge.

    ◆ Build()

    void BRepAlgo_NormalProjection::Build ( )

    Builds the result as a compound.

    ◆ BuildWire()

    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.

    ◆ Compute3d()

    void BRepAlgo_NormalProjection::Compute3d ( const bool With3d = true)

    if With3d = false the 3dcurve is not computed the initial 3dcurve is kept to build the resulting edges.

    ◆ Couple()

    const TopoDS_Shape & BRepAlgo_NormalProjection::Couple ( const TopoDS_Edge & E) const

    For a projected edge, returns the corresponding initial face.

    ◆ Generated()

    const NCollection_List< TopoDS_Shape > & BRepAlgo_NormalProjection::Generated ( const TopoDS_Shape & S)

    Returns the list of shapes generated from the shape .

    ◆ Init()

    void BRepAlgo_NormalProjection::Init ( const TopoDS_Shape & S)

    ◆ IsDone()

    bool BRepAlgo_NormalProjection::IsDone ( ) const

    ◆ IsElementary()

    bool BRepAlgo_NormalProjection::IsElementary ( const Adaptor3d_Curve & C) const

    ◆ Projection()

    const TopoDS_Shape & BRepAlgo_NormalProjection::Projection ( ) const

    returns the result

    ◆ SetDefaultParams()

    void BRepAlgo_NormalProjection::SetDefaultParams ( )

    Set the parameters used for computation in their default values.

    ◆ SetLimit()

    void BRepAlgo_NormalProjection::SetLimit ( const bool FaceBoundaries = true)

    Manage limitation of projected edges.

    ◆ SetMaxDistance()

    void BRepAlgo_NormalProjection::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.

    ◆ SetParams()

    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.


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