Open CASCADE Technology
6.5.4
|
Describes functions to build a loft. This is a shell or a
solid passing through a set of sections in a given
sequence. Usually sections are wires, but the first and
the last sections may be vertices (punctual sections).
#include <BRepOffsetAPI_ThruSections.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | BRepOffsetAPI_ThruSections (const Standard_Boolean isSolid=Standard_False, const Standard_Boolean ruled=Standard_False, const Standard_Real pres3d=1.0e-06) |
Initializes an algorithm for building a shell or a solid passing through a set of sections, where: | |
void | Init (const Standard_Boolean isSolid=Standard_False, const Standard_Boolean ruled=Standard_False, const Standard_Real pres3d=1.0e-06) |
Initializes this algorithm for building a shell or a solid passing through a set of sections, where: | |
void | AddWire (const TopoDS_Wire &wire) |
Adds the wire wire to the set of sections through which the shell or solid is built. Use the Build function to construct the shape. | |
void | AddVertex (const TopoDS_Vertex &aVertex) |
Adds the vertex Vertex (punctual section) to the set of sections through which the shell or solid is built. A vertex may be added to the set of sections only as first or last section. At least one wire must be added to the set of sections by the method AddWire. Use the Build function to construct the shape. | |
void | CheckCompatibility (const Standard_Boolean check=Standard_True) |
void | SetSmoothing (const Standard_Boolean UseSmoothing) |
Define the approximation algorithm | |
void | SetParType (const Approx_ParametrizationType ParType) |
Define the type of parametrization used in the approximation | |
void | SetContinuity (const GeomAbs_Shape C) |
Define the Continuity used in the approximation | |
void | SetCriteriumWeight (const Standard_Real W1, const Standard_Real W2, const Standard_Real W3) |
define the Weights associed to the criterium used in the optimization. if Wi <= 0 | |
void | SetMaxDegree (const Standard_Integer MaxDeg) |
Define the maximal U degree of result surface | |
Approx_ParametrizationType | ParType () const |
returns the type of parametrization used in the approximation | |
GeomAbs_Shape | Continuity () const |
returns the Continuity used in the approximation | |
Standard_Integer | MaxDegree () const |
returns the maximal U degree of result surface | |
Standard_Boolean | UseSmoothing () const |
Define the approximation algorithm | |
void | CriteriumWeight (Standard_Real &W1, Standard_Real &W2, Standard_Real &W3) const |
returns the Weights associed to the criterium used in the optimization. | |
virtual void | Build () |
This is called by Shape(). It does nothing but may be redefined. | |
const TopoDS_Shape & | FirstShape () const |
Returns the TopoDS Shape of the bottom of the loft if solid | |
const TopoDS_Shape & | LastShape () const |
Returns the TopoDS Shape of the top of the loft if solid | |
TopoDS_Shape | GeneratedFace (const TopoDS_Shape &Edge) const |
if Ruled Returns the Face generated by each edge except the last wire if smoothed Returns the Face generated by each edge of the first wire |
DEFINE_STANDARD_ALLOC BRepOffsetAPI_ThruSections::BRepOffsetAPI_ThruSections | ( | const Standard_Boolean | isSolid = Standard_False , |
const Standard_Boolean | ruled = Standard_False , |
||
const Standard_Real | pres3d = 1.0e-06 |
||
) |
void BRepOffsetAPI_ThruSections::AddVertex | ( | const TopoDS_Vertex & | aVertex | ) |
virtual void BRepOffsetAPI_ThruSections::Build | ( | ) | [virtual] |
Reimplemented from BRepBuilderAPI_MakeShape.
void BRepOffsetAPI_ThruSections::CriteriumWeight | ( | Standard_Real & | W1, |
Standard_Real & | W2, | ||
Standard_Real & | W3 | ||
) | const |
TopoDS_Shape BRepOffsetAPI_ThruSections::GeneratedFace | ( | const TopoDS_Shape & | Edge | ) | const |
void BRepOffsetAPI_ThruSections::Init | ( | const Standard_Boolean | isSolid = Standard_False , |
const Standard_Boolean | ruled = Standard_False , |
||
const Standard_Real | pres3d = 1.0e-06 |
||
) |
void BRepOffsetAPI_ThruSections::SetCriteriumWeight | ( | const Standard_Real | W1, |
const Standard_Real | W2, | ||
const Standard_Real | W3 | ||
) |
void BRepOffsetAPI_ThruSections::SetSmoothing | ( | const Standard_Boolean | UseSmoothing | ) |