Open CASCADE Technology  7.3.0
Public Member Functions

ShapeFix_WireVertex Class Reference

Fixing disconnected edges in the wire Fixes vertices in the wire on the basis of pre-analysis made by ShapeAnalysis_WireVertex (given as argument). The Wire has formerly been loaded in a ShapeExtend_WireData. More...

#include <ShapeFix_WireVertex.hxx>

Public Member Functions

 ShapeFix_WireVertex ()
 
void Init (const TopoDS_Wire &wire, const Standard_Real preci)
 Loads the wire, ininializes internal analyzer (ShapeAnalysis_WireVertex) with the given precision, and performs analysis. More...
 
void Init (const Handle< ShapeExtend_WireData > &sbwd, const Standard_Real preci)
 Loads the wire, ininializes internal analyzer (ShapeAnalysis_WireVertex) with the given precision, and performs analysis. More...
 
void Init (const ShapeAnalysis_WireVertex &sawv)
 Loads all the data on wire, already analysed by ShapeAnalysis_WireVertex. More...
 
const ShapeAnalysis_WireVertexAnalyzer () const
 returns internal analyzer More...
 
const Handle< ShapeExtend_WireData > & WireData () const
 returns data on wire (fixed) More...
 
TopoDS_Wire Wire () const
 returns resulting wire (fixed) More...
 
Standard_Integer FixSame ()
 Fixes "Same" or "Close" status (same vertex may be set, without changing parameters) Returns the count of fixed vertices, 0 if none. More...
 
Standard_Integer Fix ()
 Fixes all statuses except "Disjoined", i.e. the cases in which a common value has been set, with or without changing parameters Returns the count of fixed vertices, 0 if none. More...
 

Detailed Description

Fixing disconnected edges in the wire Fixes vertices in the wire on the basis of pre-analysis made by ShapeAnalysis_WireVertex (given as argument). The Wire has formerly been loaded in a ShapeExtend_WireData.

Constructor & Destructor Documentation

◆ ShapeFix_WireVertex()

ShapeFix_WireVertex::ShapeFix_WireVertex ( )

Member Function Documentation

◆ Analyzer()

const ShapeAnalysis_WireVertex& ShapeFix_WireVertex::Analyzer ( ) const

returns internal analyzer

◆ Fix()

Standard_Integer ShapeFix_WireVertex::Fix ( )

Fixes all statuses except "Disjoined", i.e. the cases in which a common value has been set, with or without changing parameters Returns the count of fixed vertices, 0 if none.

◆ FixSame()

Standard_Integer ShapeFix_WireVertex::FixSame ( )

Fixes "Same" or "Close" status (same vertex may be set, without changing parameters) Returns the count of fixed vertices, 0 if none.

◆ Init() [1/3]

void ShapeFix_WireVertex::Init ( const TopoDS_Wire wire,
const Standard_Real  preci 
)

Loads the wire, ininializes internal analyzer (ShapeAnalysis_WireVertex) with the given precision, and performs analysis.

◆ Init() [2/3]

void ShapeFix_WireVertex::Init ( const Handle< ShapeExtend_WireData > &  sbwd,
const Standard_Real  preci 
)

Loads the wire, ininializes internal analyzer (ShapeAnalysis_WireVertex) with the given precision, and performs analysis.

◆ Init() [3/3]

void ShapeFix_WireVertex::Init ( const ShapeAnalysis_WireVertex sawv)

Loads all the data on wire, already analysed by ShapeAnalysis_WireVertex.

◆ Wire()

TopoDS_Wire ShapeFix_WireVertex::Wire ( ) const

returns resulting wire (fixed)

◆ WireData()

const Handle< ShapeExtend_WireData >& ShapeFix_WireVertex::WireData ( ) const

returns data on wire (fixed)


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