Open CASCADE Technology 7.8.0
|
Constructs a Offset Wire to a spine (wire or face). Offset direction will be to outer region in case of positive offset value and to inner region in case of negative offset value. Inner/Outer region for open wire is defined by the following rule: when we go along the wire (taking into account of edges orientation) then outer region will be on the right side, inner region will be on the left side. In case of closed wire, inner region will always be inside the wire (at that, edges orientation is not taken into account). The Wire or the Face must be planar and oriented correctly. More...
#include <BRepFill_OffsetWire.hxx>
Constructs a Offset Wire to a spine (wire or face). Offset direction will be to outer region in case of positive offset value and to inner region in case of negative offset value. Inner/Outer region for open wire is defined by the following rule: when we go along the wire (taking into account of edges orientation) then outer region will be on the right side, inner region will be on the left side. In case of closed wire, inner region will always be inside the wire (at that, edges orientation is not taken into account). The Wire or the Face must be planar and oriented correctly.
BRepFill_OffsetWire::BRepFill_OffsetWire | ( | ) |
BRepFill_OffsetWire::BRepFill_OffsetWire | ( | const TopoDS_Face & | Spine, |
const GeomAbs_JoinType | Join = GeomAbs_Arc , |
||
const Standard_Boolean | IsOpenResult = Standard_False |
||
) |
const TopTools_ListOfShape & BRepFill_OffsetWire::GeneratedShapes | ( | const TopoDS_Shape & | SpineShape | ) |
Returns the shapes created from a subshape <SpineShape> of the spine. Returns the last computed Offset.
void BRepFill_OffsetWire::Init | ( | const TopoDS_Face & | Spine, |
const GeomAbs_JoinType | Join = GeomAbs_Arc , |
||
const Standard_Boolean | IsOpenResult = Standard_False |
||
) |
Initialize the evaluation of Offsetting.
Standard_Boolean BRepFill_OffsetWire::IsDone | ( | ) | const |
GeomAbs_JoinType BRepFill_OffsetWire::JoinType | ( | ) | const |
void BRepFill_OffsetWire::Perform | ( | const Standard_Real | Offset, |
const Standard_Real | Alt = 0.0 |
||
) |
Performs an OffsetWire at an altitude <Alt> from the face ( According to the orientation of the face)
void BRepFill_OffsetWire::PerformWithBiLo | ( | const TopoDS_Face & | WSP, |
const Standard_Real | Offset, | ||
const BRepMAT2d_BisectingLocus & | Locus, | ||
BRepMAT2d_LinkTopoBilo & | Link, | ||
const GeomAbs_JoinType | Join = GeomAbs_Arc , |
||
const Standard_Real | Alt = 0.0 |
||
) |
Performs an OffsetWire.
const TopoDS_Shape & BRepFill_OffsetWire::Shape | ( | ) | const |
returns the generated shape.
const TopoDS_Face & BRepFill_OffsetWire::Spine | ( | ) | const |