Open CASCADE Technology
7.7.0
|
#include <HLRBRep_EdgeBuilder.hxx>
Public Member Functions | |
HLRBRep_EdgeBuilder (HLRBRep_VertexList &VList) | |
Creates an EdgeBuilder algorithm. <VList> describes the edge and the interferences. AreaLimits are created from the vertices. Builds(IN) is automatically called. More... | |
void | InitAreas () |
Initialize an iteration on the areas. More... | |
void | NextArea () |
Set the current area to the next area. More... | |
void | PreviousArea () |
Set the current area to the previous area. More... | |
Standard_Boolean | HasArea () const |
Returns True if there is a current area. More... | |
TopAbs_State | AreaState () const |
Returns the state of the current area. More... | |
TopAbs_State | AreaEdgeState () const |
Returns the edge state of the current area. More... | |
Handle< HLRBRep_AreaLimit > | LeftLimit () const |
Returns the AreaLimit beginning the current area. This is a NULL handle when the area is infinite on the left. More... | |
Handle< HLRBRep_AreaLimit > | RightLimit () const |
Returns the AreaLimit ending the current area. This is a NULL handle when the area is infinite on the right. More... | |
void | Builds (const TopAbs_State ToBuild) |
Reinitialize the results iteration to the parts with State <ToBuild>. If this method is not called after construction the default is <ToBuild> = IN. More... | |
Standard_Boolean | MoreEdges () const |
Returns True if there are more new edges to build. More... | |
void | NextEdge () |
Proceeds to the next edge to build. Skip all remaining vertices on the current edge. More... | |
Standard_Boolean | MoreVertices () const |
True if there are more vertices in the current new edge. More... | |
void | NextVertex () |
Proceeds to the next vertex of the current edge. More... | |
const HLRAlgo_Intersection & | Current () const |
Returns the current vertex of the current edge. More... | |
Standard_Boolean | IsBoundary () const |
Returns True if the current vertex comes from the boundary of the edge. More... | |
Standard_Boolean | IsInterference () const |
Returns True if the current vertex was an interference. More... | |
TopAbs_Orientation | Orientation () const |
Returns the new orientation of the current vertex. More... | |
void | Destroy () |
~HLRBRep_EdgeBuilder () | |
HLRBRep_EdgeBuilder::HLRBRep_EdgeBuilder | ( | HLRBRep_VertexList & | VList | ) |
Creates an EdgeBuilder algorithm. <VList> describes the edge and the interferences. AreaLimits are created from the vertices. Builds(IN) is automatically called.
|
inline |
TopAbs_State HLRBRep_EdgeBuilder::AreaEdgeState | ( | ) | const |
Returns the edge state of the current area.
TopAbs_State HLRBRep_EdgeBuilder::AreaState | ( | ) | const |
Returns the state of the current area.
void HLRBRep_EdgeBuilder::Builds | ( | const TopAbs_State | ToBuild | ) |
Reinitialize the results iteration to the parts with State <ToBuild>. If this method is not called after construction the default is <ToBuild> = IN.
const HLRAlgo_Intersection& HLRBRep_EdgeBuilder::Current | ( | ) | const |
Returns the current vertex of the current edge.
void HLRBRep_EdgeBuilder::Destroy | ( | ) |
Standard_Boolean HLRBRep_EdgeBuilder::HasArea | ( | ) | const |
Returns True if there is a current area.
void HLRBRep_EdgeBuilder::InitAreas | ( | ) |
Initialize an iteration on the areas.
Standard_Boolean HLRBRep_EdgeBuilder::IsBoundary | ( | ) | const |
Returns True if the current vertex comes from the boundary of the edge.
Standard_Boolean HLRBRep_EdgeBuilder::IsInterference | ( | ) | const |
Returns True if the current vertex was an interference.
Handle< HLRBRep_AreaLimit > HLRBRep_EdgeBuilder::LeftLimit | ( | ) | const |
Returns the AreaLimit beginning the current area. This is a NULL handle when the area is infinite on the left.
Standard_Boolean HLRBRep_EdgeBuilder::MoreEdges | ( | ) | const |
Returns True if there are more new edges to build.
Standard_Boolean HLRBRep_EdgeBuilder::MoreVertices | ( | ) | const |
True if there are more vertices in the current new edge.
void HLRBRep_EdgeBuilder::NextArea | ( | ) |
Set the current area to the next area.
void HLRBRep_EdgeBuilder::NextEdge | ( | ) |
Proceeds to the next edge to build. Skip all remaining vertices on the current edge.
void HLRBRep_EdgeBuilder::NextVertex | ( | ) |
Proceeds to the next vertex of the current edge.
TopAbs_Orientation HLRBRep_EdgeBuilder::Orientation | ( | ) | const |
Returns the new orientation of the current vertex.
void HLRBRep_EdgeBuilder::PreviousArea | ( | ) |
Set the current area to the previous area.
Handle< HLRBRep_AreaLimit > HLRBRep_EdgeBuilder::RightLimit | ( | ) | const |
Returns the AreaLimit ending the current area. This is a NULL handle when the area is infinite on the right.