If a wire is not closed returns only a segment of edges which
length depends on started in exploration edge. If wire has
singularities (for example, loops) WireExplorer can return not all
edges in a wire. it depends on type of singularity.
what is type of singularity?
The wires I obtain from ConnectEdgesToWires(,,,Wires) is a set of open,closed wires.
Is the problem because of this?? how else can I access edges from each wire in "Wires"?Tried TopExplorer also which displays wires but doent access its edges.
please do reply!
For a Handle(TopTools_HSequenceOfShape) such as Wires or ClosedWires ,this is a handle to an array of shapes. The number of shapes in the array is the member function ::Length()
such as
Standard_Integer nbWires =ClosedWires->Length();
and get the wires for example like this...
for(int i=0;iValue(i+1));
..... do something clever
}
Hope this helps
Wed, 03/18/2009 - 09:36
TopExp_Explorer
Wed, 03/18/2009 - 12:12
TopExp_Explorer Ex1,Ex2;
for (Ex1.Init(ResultShape,TopAbs_WIRE); Ex1.More(); Ex1.Next())
{
for (Ex2.Init(Ex1.Current(),TopAbs_EDGE); Ex2.More(); Ex2.Next())
{
TopoDS_Edge l_edge = TopoDS::Edge(Ex2.Current());
}
}
Wed, 03/18/2009 - 19:34
BRepTools_WireExplorer
Wed, 03/18/2009 - 20:20
I use BRepTools_WireExplorer which says :
If a wire is not closed returns only a segment of edges which
length depends on started in exploration edge. If wire has
singularities (for example, loops) WireExplorer can return not all
edges in a wire. it depends on type of singularity.
what is type of singularity?
The wires I obtain from ConnectEdgesToWires(,,,Wires) is a set of open,closed wires.
Is the problem because of this?? how else can I access edges from each wire in "Wires"?Tried TopExplorer also which displays wires but doent access its edges.
please do reply!
Thu, 03/19/2009 - 03:00
For a Handle(TopTools_HSequenceOfShape) such as Wires or ClosedWires ,this is a handle to an array of shapes. The number of shapes in the array is the member function ::Length()
such as
Standard_Integer nbWires =ClosedWires->Length();
and get the wires for example like this...
for(int i=0;iValue(i+1));
..... do something clever
}
Hope this helps
Fri, 08/12/2022 - 13:15
Hi,so how to get the math singularity with the curve