Open CASCADE Technology
6.9.0
|
#include <TopOpeBRepDS_HDataStructure.hxx>
Public Member Functions | |
TopOpeBRepDS_HDataStructure () | |
void | AddAncestors (const TopoDS_Shape &S) |
void | AddAncestors (const TopoDS_Shape &S, const TopAbs_ShapeEnum T1, const TopAbs_ShapeEnum T2) |
Update the data structure with shapes of type T1 containing a subshape of type T2 which is stored in the DS. Used by the previous one. More... | |
void | Complete () |
perform post processing of the DS. More... | |
void | ChkIntg () |
Check the integrity of the DS. More... | |
const TopOpeBRepDS_DataStructure & | DS () const |
TopOpeBRepDS_DataStructure & | ChangeDS () |
Standard_Integer | NbSurfaces () const |
Standard_Integer | NbCurves () const |
Standard_Integer | NbPoints () const |
const TopOpeBRepDS_Surface & | Surface (const Standard_Integer I) const |
Returns the surface of index . More... | |
TopOpeBRepDS_CurveIterator | SurfaceCurves (const Standard_Integer I) const |
Returns an iterator on the curves on the surface . More... | |
const TopOpeBRepDS_Curve & | Curve (const Standard_Integer I) const |
Returns the Curve of index . More... | |
TopOpeBRepDS_Curve & | ChangeCurve (const Standard_Integer I) |
Returns the Curve of index . More... | |
TopOpeBRepDS_PointIterator | CurvePoints (const Standard_Integer I) const |
Returns an iterator on the points on the curve . More... | |
const TopOpeBRepDS_Point & | Point (const Standard_Integer I) const |
Returns the point of index . More... | |
Standard_Integer | NbShapes () const |
const TopoDS_Shape & | Shape (const Standard_Integer I, const Standard_Boolean FindKeep=Standard_True) const |
Returns the shape of index in the DS. More... | |
Standard_Integer | Shape (const TopoDS_Shape &S, const Standard_Boolean FindKeep=Standard_True) const |
Returns the index of shape <S> in the DS returns 0 if <S> is not in the DS. More... | |
Standard_Boolean | HasGeometry (const TopoDS_Shape &S) const |
Returns True if <S> has new geometries. More... | |
Standard_Boolean | HasShape (const TopoDS_Shape &S, const Standard_Boolean FindKeep=Standard_True) const |
Returns True if <S> has new geometries (SOLID,FACE,EDGE) or if <S> (SHELL,WIRE) has sub-shape (FACE,EDGE) with new geometries. More... | |
Standard_Boolean | HasSameDomain (const TopoDS_Shape &S, const Standard_Boolean FindKeep=Standard_True) const |
Returns True if <S> share a geometrical domain with some other shapes. More... | |
TopTools_ListIteratorOfListOfShape | SameDomain (const TopoDS_Shape &S) const |
Returns an iterator on the SameDomain shapes attached to the shape <S>. More... | |
TopOpeBRepDS_Config | SameDomainOrientation (const TopoDS_Shape &S) const |
Returns orientation of shape <S> compared with its reference shape. More... | |
Standard_Integer | SameDomainReference (const TopoDS_Shape &S) const |
Returns orientation of shape <S> compared with its reference shape. More... | |
TopOpeBRepDS_SurfaceIterator | SolidSurfaces (const TopoDS_Shape &S) const |
Returns an iterator on the surfaces attached to the solid <S>. More... | |
TopOpeBRepDS_SurfaceIterator | SolidSurfaces (const Standard_Integer I) const |
Returns an iterator on the surfaces attached to the solid . More... | |
TopOpeBRepDS_CurveIterator | FaceCurves (const TopoDS_Shape &F) const |
Returns an iterator on the curves attached to the face <F>. More... | |
TopOpeBRepDS_CurveIterator | FaceCurves (const Standard_Integer I) const |
Returns an iterator on the curves attached to the face . More... | |
TopOpeBRepDS_PointIterator | EdgePoints (const TopoDS_Shape &E) const |
Returns an iterator on the points attached to the edge <E>. More... | |
Standard_Integer | MakeCurve (const TopOpeBRepDS_Curve &C1, TopOpeBRepDS_Curve &C2) |
void | RemoveCurve (const Standard_Integer iC) |
void | RemoveShape (const Standard_Integer iS) |
Standard_Integer | NbGeometry (const TopOpeBRepDS_Kind K) const |
Standard_Integer | NbTopology (const TopOpeBRepDS_Kind K) const |
Standard_Integer | NbTopology () const |
Standard_Boolean | EdgesSameParameter () const |
returns True if all the edges stored as shapes in the DS are SameParameter, otherwise False. More... | |
void | SortOnParameter (const TopOpeBRepDS_ListOfInterference &L1, TopOpeBRepDS_ListOfInterference &L2) const |
void | SortOnParameter (TopOpeBRepDS_ListOfInterference &L) const |
void | MinMaxOnParameter (const TopOpeBRepDS_ListOfInterference &L, Standard_Real &Min, Standard_Real &Max) const |
Standard_Boolean | ScanInterfList (TopOpeBRepDS_ListIteratorOfListOfInterference &IT, const TopOpeBRepDS_Point &PDS) const |
Search, among a list of interferences accessed by the iterator <IT>, a geometry <G> whose 3D point is identical to the 3D point of the TheDSPoint <PDS>. returns True if such an interference has been found, False else. if True, iterator It points (by the Value() method) on the first interference accessing an identical 3D point. More... | |
Standard_Boolean | GetGeometry (TopOpeBRepDS_ListIteratorOfListOfInterference &IT, const TopOpeBRepDS_Point &PDS, Standard_Integer &G, TopOpeBRepDS_Kind &K) const |
Get the geometry of a DS point <PDS>. Search for it with ScanInterfList (previous method). if found, set <G,K> to the geometry,kind of the interference found. returns the value of ScanInterfList(). More... | |
void | StoreInterference (const Handle< TopOpeBRepDS_Interference > &I, TopOpeBRepDS_ListOfInterference &LI, const TCollection_AsciiString &str="") |
Add interference to list . More... | |
void | StoreInterference (const Handle< TopOpeBRepDS_Interference > &I, const TopoDS_Shape &S, const TCollection_AsciiString &str="") |
Add interference to list of interference of shape <S>. More... | |
void | StoreInterference (const Handle< TopOpeBRepDS_Interference > &I, const Standard_Integer IS, const TCollection_AsciiString &str="") |
Add interference to list of interference of shape <IS>. More... | |
void | StoreInterferences (const TopOpeBRepDS_ListOfInterference &LI, const TopoDS_Shape &S, const TCollection_AsciiString &str="") |
void | StoreInterferences (const TopOpeBRepDS_ListOfInterference &LI, const Standard_Integer IS, const TCollection_AsciiString &str="") |
void | ClearStoreInterferences (const TopOpeBRepDS_ListOfInterference &LI, const TopoDS_Shape &S, const TCollection_AsciiString &str="") |
void | ClearStoreInterferences (const TopOpeBRepDS_ListOfInterference &LI, const Standard_Integer IS, const TCollection_AsciiString &str="") |
Public Member Functions inherited from MMgt_TShared | |
virtual void | Delete () const |
Memory deallocator for transient classes. More... | |
Public Member Functions inherited from Standard_Transient | |
Standard_Transient () | |
Empty constructor. More... | |
Standard_Transient (const Standard_Transient &) | |
Copy constructor – does nothing. More... | |
Standard_Transient & | operator= (const Standard_Transient &) |
Assignment operator, needed to avoid copying reference counter. More... | |
virtual | ~Standard_Transient () |
Destructor must be virtual. More... | |
virtual const Handle_Standard_Type & | DynamicType () const |
Returns a type information object about this object. More... | |
Standard_Boolean | IsInstance (const Handle_Standard_Type &theType) const |
Returns a true value if this is an instance of Type. More... | |
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
Returns a true value if this is an instance of TypeName. More... | |
Standard_Boolean | IsKind (const Handle_Standard_Type &theType) const |
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
virtual Handle_Standard_Transient | This () const |
Returns a Handle which references this object. Must never be called to objects created in stack. More... | |
Standard_Integer | GetRefCount () const |
Get the reference counter of this object. More... | |
TopOpeBRepDS_HDataStructure::TopOpeBRepDS_HDataStructure | ( | ) |
void TopOpeBRepDS_HDataStructure::AddAncestors | ( | const TopoDS_Shape & | S | ) |
void TopOpeBRepDS_HDataStructure::AddAncestors | ( | const TopoDS_Shape & | S, |
const TopAbs_ShapeEnum | T1, | ||
const TopAbs_ShapeEnum | T2 | ||
) |
Update the data structure with shapes of type T1 containing a subshape of type T2 which is stored in the DS. Used by the previous one.
TopOpeBRepDS_Curve& TopOpeBRepDS_HDataStructure::ChangeCurve | ( | const Standard_Integer | I | ) |
Returns the Curve of index .
TopOpeBRepDS_DataStructure& TopOpeBRepDS_HDataStructure::ChangeDS | ( | ) |
void TopOpeBRepDS_HDataStructure::ChkIntg | ( | ) |
Check the integrity of the DS.
void TopOpeBRepDS_HDataStructure::ClearStoreInterferences | ( | const TopOpeBRepDS_ListOfInterference & | LI, |
const TopoDS_Shape & | S, | ||
const TCollection_AsciiString & | str = "" |
||
) |
void TopOpeBRepDS_HDataStructure::ClearStoreInterferences | ( | const TopOpeBRepDS_ListOfInterference & | LI, |
const Standard_Integer | IS, | ||
const TCollection_AsciiString & | str = "" |
||
) |
void TopOpeBRepDS_HDataStructure::Complete | ( | ) |
perform post processing of the DS.
const TopOpeBRepDS_Curve& TopOpeBRepDS_HDataStructure::Curve | ( | const Standard_Integer | I | ) | const |
Returns the Curve of index .
TopOpeBRepDS_PointIterator TopOpeBRepDS_HDataStructure::CurvePoints | ( | const Standard_Integer | I | ) | const |
Returns an iterator on the points on the curve .
const TopOpeBRepDS_DataStructure& TopOpeBRepDS_HDataStructure::DS | ( | ) | const |
TopOpeBRepDS_PointIterator TopOpeBRepDS_HDataStructure::EdgePoints | ( | const TopoDS_Shape & | E | ) | const |
Returns an iterator on the points attached to the edge <E>.
Standard_Boolean TopOpeBRepDS_HDataStructure::EdgesSameParameter | ( | ) | const |
returns True if all the edges stored as shapes in the DS are SameParameter, otherwise False.
TopOpeBRepDS_CurveIterator TopOpeBRepDS_HDataStructure::FaceCurves | ( | const TopoDS_Shape & | F | ) | const |
Returns an iterator on the curves attached to the face <F>.
TopOpeBRepDS_CurveIterator TopOpeBRepDS_HDataStructure::FaceCurves | ( | const Standard_Integer | I | ) | const |
Returns an iterator on the curves attached to the face .
Standard_Boolean TopOpeBRepDS_HDataStructure::GetGeometry | ( | TopOpeBRepDS_ListIteratorOfListOfInterference & | IT, |
const TopOpeBRepDS_Point & | PDS, | ||
Standard_Integer & | G, | ||
TopOpeBRepDS_Kind & | K | ||
) | const |
Get the geometry of a DS point <PDS>. Search for it with ScanInterfList (previous method). if found, set <G,K> to the geometry,kind of the interference found. returns the value of ScanInterfList().
Standard_Boolean TopOpeBRepDS_HDataStructure::HasGeometry | ( | const TopoDS_Shape & | S | ) | const |
Returns True if <S> has new geometries.
Standard_Boolean TopOpeBRepDS_HDataStructure::HasSameDomain | ( | const TopoDS_Shape & | S, |
const Standard_Boolean | FindKeep = Standard_True |
||
) | const |
Returns True if <S> share a geometrical domain with some other shapes.
Standard_Boolean TopOpeBRepDS_HDataStructure::HasShape | ( | const TopoDS_Shape & | S, |
const Standard_Boolean | FindKeep = Standard_True |
||
) | const |
Returns True if <S> has new geometries (SOLID,FACE,EDGE) or if <S> (SHELL,WIRE) has sub-shape (FACE,EDGE) with new geometries.
Standard_Integer TopOpeBRepDS_HDataStructure::MakeCurve | ( | const TopOpeBRepDS_Curve & | C1, |
TopOpeBRepDS_Curve & | C2 | ||
) |
void TopOpeBRepDS_HDataStructure::MinMaxOnParameter | ( | const TopOpeBRepDS_ListOfInterference & | L, |
Standard_Real & | Min, | ||
Standard_Real & | Max | ||
) | const |
Standard_Integer TopOpeBRepDS_HDataStructure::NbCurves | ( | ) | const |
Standard_Integer TopOpeBRepDS_HDataStructure::NbGeometry | ( | const TopOpeBRepDS_Kind | K | ) | const |
Standard_Integer TopOpeBRepDS_HDataStructure::NbPoints | ( | ) | const |
Standard_Integer TopOpeBRepDS_HDataStructure::NbShapes | ( | ) | const |
Standard_Integer TopOpeBRepDS_HDataStructure::NbSurfaces | ( | ) | const |
Standard_Integer TopOpeBRepDS_HDataStructure::NbTopology | ( | const TopOpeBRepDS_Kind | K | ) | const |
Standard_Integer TopOpeBRepDS_HDataStructure::NbTopology | ( | ) | const |
const TopOpeBRepDS_Point& TopOpeBRepDS_HDataStructure::Point | ( | const Standard_Integer | I | ) | const |
Returns the point of index .
void TopOpeBRepDS_HDataStructure::RemoveCurve | ( | const Standard_Integer | iC | ) |
void TopOpeBRepDS_HDataStructure::RemoveShape | ( | const Standard_Integer | iS | ) |
TopTools_ListIteratorOfListOfShape TopOpeBRepDS_HDataStructure::SameDomain | ( | const TopoDS_Shape & | S | ) | const |
Returns an iterator on the SameDomain shapes attached to the shape <S>.
TopOpeBRepDS_Config TopOpeBRepDS_HDataStructure::SameDomainOrientation | ( | const TopoDS_Shape & | S | ) | const |
Returns orientation of shape <S> compared with its reference shape.
Standard_Integer TopOpeBRepDS_HDataStructure::SameDomainReference | ( | const TopoDS_Shape & | S | ) | const |
Returns orientation of shape <S> compared with its reference shape.
Standard_Boolean TopOpeBRepDS_HDataStructure::ScanInterfList | ( | TopOpeBRepDS_ListIteratorOfListOfInterference & | IT, |
const TopOpeBRepDS_Point & | PDS | ||
) | const |
Search, among a list of interferences accessed by the iterator <IT>, a geometry <G> whose 3D point is identical to the 3D point of the TheDSPoint <PDS>. returns True if such an interference has been found, False else. if True, iterator It points (by the Value() method) on the first interference accessing an identical 3D point.
const TopoDS_Shape& TopOpeBRepDS_HDataStructure::Shape | ( | const Standard_Integer | I, |
const Standard_Boolean | FindKeep = Standard_True |
||
) | const |
Returns the shape of index in the DS.
Standard_Integer TopOpeBRepDS_HDataStructure::Shape | ( | const TopoDS_Shape & | S, |
const Standard_Boolean | FindKeep = Standard_True |
||
) | const |
Returns the index of shape <S> in the DS returns 0 if <S> is not in the DS.
TopOpeBRepDS_SurfaceIterator TopOpeBRepDS_HDataStructure::SolidSurfaces | ( | const TopoDS_Shape & | S | ) | const |
Returns an iterator on the surfaces attached to the solid <S>.
TopOpeBRepDS_SurfaceIterator TopOpeBRepDS_HDataStructure::SolidSurfaces | ( | const Standard_Integer | I | ) | const |
Returns an iterator on the surfaces attached to the solid .
void TopOpeBRepDS_HDataStructure::SortOnParameter | ( | const TopOpeBRepDS_ListOfInterference & | L1, |
TopOpeBRepDS_ListOfInterference & | L2 | ||
) | const |
void TopOpeBRepDS_HDataStructure::SortOnParameter | ( | TopOpeBRepDS_ListOfInterference & | L | ) | const |
void TopOpeBRepDS_HDataStructure::StoreInterference | ( | const Handle< TopOpeBRepDS_Interference > & | I, |
TopOpeBRepDS_ListOfInterference & | LI, | ||
const TCollection_AsciiString & | str = "" |
||
) |
Add interference to list .
void TopOpeBRepDS_HDataStructure::StoreInterference | ( | const Handle< TopOpeBRepDS_Interference > & | I, |
const TopoDS_Shape & | S, | ||
const TCollection_AsciiString & | str = "" |
||
) |
Add interference to list of interference of shape <S>.
void TopOpeBRepDS_HDataStructure::StoreInterference | ( | const Handle< TopOpeBRepDS_Interference > & | I, |
const Standard_Integer | IS, | ||
const TCollection_AsciiString & | str = "" |
||
) |
Add interference to list of interference of shape <IS>.
void TopOpeBRepDS_HDataStructure::StoreInterferences | ( | const TopOpeBRepDS_ListOfInterference & | LI, |
const TopoDS_Shape & | S, | ||
const TCollection_AsciiString & | str = "" |
||
) |
void TopOpeBRepDS_HDataStructure::StoreInterferences | ( | const TopOpeBRepDS_ListOfInterference & | LI, |
const Standard_Integer | IS, | ||
const TCollection_AsciiString & | str = "" |
||
) |
const TopOpeBRepDS_Surface& TopOpeBRepDS_HDataStructure::Surface | ( | const Standard_Integer | I | ) | const |
Returns the surface of index .
TopOpeBRepDS_CurveIterator TopOpeBRepDS_HDataStructure::SurfaceCurves | ( | const Standard_Integer | I | ) | const |
Returns an iterator on the curves on the surface .