![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Divides a all faces in shell with given criteria Shell. More...
#include <ShapeUpgrade_ShapeDivide.hxx>

Public Member Functions | |
| ShapeUpgrade_ShapeDivide () | |
| ShapeUpgrade_ShapeDivide (const TopoDS_Shape &S) | |
| Initialize by a Shape. | |
| void | Init (const TopoDS_Shape &S) |
| Initialize by a Shape. | |
| virtual | ~ShapeUpgrade_ShapeDivide () |
| void | SetPrecision (const double Prec) |
| Defines the spatial precision used for splitting. | |
| void | SetMaxTolerance (const double maxtol) |
| Sets maximal allowed tolerance. | |
| void | SetMinTolerance (const double mintol) |
| Sets minimal allowed tolerance. | |
| void | SetSurfaceSegmentMode (const bool Segment) |
| Purpose sets mode for trimming (segment) surface by wire UV bounds. | |
| virtual bool | Perform (const bool newContext=true) |
| Performs splitting and computes the resulting shape If newContext is True (default), the internal context will be cleared at start, else previous substitutions will be acting. | |
| TopoDS_Shape | Result () const |
| Gives the resulting Shape, or Null shape if not done. | |
| occ::handle< ShapeBuild_ReShape > | GetContext () const |
| Returns context with all the modifications made during last call(s) to Perform() recorded. | |
| void | SetContext (const occ::handle< ShapeBuild_ReShape > &context) |
| Sets context with recorded modifications to be applied during next call(s) to Perform(shape,false) | |
| virtual void | SetMsgRegistrator (const occ::handle< ShapeExtend_BasicMsgRegistrator > &msgreg) |
| Sets message registrator. | |
| occ::handle< ShapeExtend_BasicMsgRegistrator > | MsgRegistrator () const |
| Returns message registrator. | |
| void | SendMsg (const TopoDS_Shape &shape, const Message_Msg &message, const Message_Gravity gravity=Message_Info) const |
| Sends a message to be attached to the shape. Calls corresponding message of message registrator. | |
| bool | Status (const ShapeExtend_Status status) const |
| Queries the status of last call to Perform OK : no splitting was done (or no call to Perform) DONE1: some edges were split DONE2: surface was split FAIL1: some errors occurred. | |
| void | SetSplitFaceTool (const occ::handle< ShapeUpgrade_FaceDivide > &splitFaceTool) |
| Sets the tool for splitting faces. | |
| void | SetEdgeMode (const int aEdgeMode) |
| Sets mode for splitting 3d curves from edges. 0 - only curve 3d from free edges. 1 - only curve 3d from shared edges. 2 - all curve 3d. | |
Protected Member Functions | |
| virtual occ::handle< ShapeUpgrade_FaceDivide > | GetSplitFaceTool () const |
| Returns the tool for splitting faces. | |
| virtual Message_Msg | GetFaceMsg () const |
| virtual Message_Msg | GetWireMsg () const |
| virtual Message_Msg | GetEdgeMsg () const |
| Returns a message describing modification of a shape. | |
Divides a all faces in shell with given criteria Shell.
| ShapeUpgrade_ShapeDivide::ShapeUpgrade_ShapeDivide | ( | ) |
| ShapeUpgrade_ShapeDivide::ShapeUpgrade_ShapeDivide | ( | const TopoDS_Shape & | S | ) |
Initialize by a Shape.
|
virtual |
| occ::handle< ShapeBuild_ReShape > ShapeUpgrade_ShapeDivide::GetContext | ( | ) | const |
Returns context with all the modifications made during last call(s) to Perform() recorded.
|
protectedvirtual |
Returns a message describing modification of a shape.
Reimplemented in ShapeUpgrade_ShapeConvertToBezier.
|
protectedvirtual |
Reimplemented in ShapeUpgrade_ShapeConvertToBezier.
|
protectedvirtual |
Returns the tool for splitting faces.
Reimplemented in ShapeUpgrade_ShapeConvertToBezier, ShapeUpgrade_ShapeDivideArea, and ShapeUpgrade_ShapeDivideContinuity.
|
protectedvirtual |
Reimplemented in ShapeUpgrade_ShapeConvertToBezier.
| void ShapeUpgrade_ShapeDivide::Init | ( | const TopoDS_Shape & | S | ) |
Initialize by a Shape.
| occ::handle< ShapeExtend_BasicMsgRegistrator > ShapeUpgrade_ShapeDivide::MsgRegistrator | ( | ) | const |
Returns message registrator.
Performs splitting and computes the resulting shape If newContext is True (default), the internal context will be cleared at start, else previous substitutions will be acting.
Reimplemented in ShapeUpgrade_ShapeConvertToBezier.
| TopoDS_Shape ShapeUpgrade_ShapeDivide::Result | ( | ) | const |
Gives the resulting Shape, or Null shape if not done.
| void ShapeUpgrade_ShapeDivide::SendMsg | ( | const TopoDS_Shape & | shape, |
| const Message_Msg & | message, | ||
| const Message_Gravity | gravity = Message_Info ) const |
Sends a message to be attached to the shape. Calls corresponding message of message registrator.
| void ShapeUpgrade_ShapeDivide::SetContext | ( | const occ::handle< ShapeBuild_ReShape > & | context | ) |
Sets context with recorded modifications to be applied during next call(s) to Perform(shape,false)
Sets mode for splitting 3d curves from edges. 0 - only curve 3d from free edges. 1 - only curve 3d from shared edges. 2 - all curve 3d.
Sets maximal allowed tolerance.
Sets minimal allowed tolerance.
|
virtual |
Sets message registrator.
Defines the spatial precision used for splitting.
| void ShapeUpgrade_ShapeDivide::SetSplitFaceTool | ( | const occ::handle< ShapeUpgrade_FaceDivide > & | splitFaceTool | ) |
Sets the tool for splitting faces.
Purpose sets mode for trimming (segment) surface by wire UV bounds.
| bool ShapeUpgrade_ShapeDivide::Status | ( | const ShapeExtend_Status | status | ) | const |
Queries the status of last call to Perform OK : no splitting was done (or no call to Perform) DONE1: some edges were split DONE2: surface was split FAIL1: some errors occurred.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |