|
Public Member Functions |
Standard_EXPORT | TopOpeBRepDS_HDataStructure () |
Standard_EXPORT void | AddAncestors (const TopoDS_Shape &S) |
Standard_EXPORT 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.
.
|
Standard_EXPORT void | Complete () |
| perform post processing of the DS.
|
Standard_EXPORT void | ChkIntg () |
| Check l'integrité de la DS
.
|
Standard_EXPORT const TopOpeBRepDS_DataStructure & | DS () const |
Standard_EXPORT TopOpeBRepDS_DataStructure & | ChangeDS () |
Standard_EXPORT Standard_Integer | NbSurfaces () const |
Standard_EXPORT Standard_Integer | NbCurves () const |
Standard_EXPORT Standard_Integer | NbPoints () const |
Standard_EXPORT const TopOpeBRepDS_Surface & | Surface (const Standard_Integer I) const |
| Returns the surface of index .
.
|
Standard_EXPORT TopOpeBRepDS_CurveIterator | SurfaceCurves (const Standard_Integer I) const |
| Returns an iterator on the curves on the surface
.
.
|
Standard_EXPORT const TopOpeBRepDS_Curve & | Curve (const Standard_Integer I) const |
| Returns the Curve of index .
.
|
Standard_EXPORT TopOpeBRepDS_Curve & | ChangeCurve (const Standard_Integer I) |
| Returns the Curve of index .
.
|
Standard_EXPORT TopOpeBRepDS_PointIterator | CurvePoints (const Standard_Integer I) const |
| Returns an iterator on the points on the curve
.
.
|
Standard_EXPORT const TopOpeBRepDS_Point & | Point (const Standard_Integer I) const |
| Returns the point of index .
.
|
Standard_EXPORT Standard_Integer | NbShapes () const |
Standard_EXPORT const TopoDS_Shape & | Shape (const Standard_Integer I, const Standard_Boolean FindKeep=Standard_True) const |
| Returns the shape of index in the DS
.
|
Standard_EXPORT 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
.
|
Standard_EXPORT Standard_Boolean | HasGeometry (const TopoDS_Shape &S) const |
| Returns True if <s> has new geometries.
.
|
Standard_EXPORT 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
.
|
Standard_EXPORT 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.
.
|
Standard_EXPORT TopTools_ListIteratorOfListOfShape | SameDomain (const TopoDS_Shape &S) const |
| Returns an iterator on the SameDomain shapes attached
to the shape <s>.
.
|
Standard_EXPORT TopOpeBRepDS_Config | SameDomainOrientation (const TopoDS_Shape &S) const |
| Returns orientation of shape <s> compared with its
reference shape
.
|
Standard_EXPORT Standard_Integer | SameDomainReference (const TopoDS_Shape &S) const |
| Returns orientation of shape <s> compared with its
reference shape
.
|
Standard_EXPORT TopOpeBRepDS_SurfaceIterator | SolidSurfaces (const TopoDS_Shape &S) const |
| Returns an iterator on the surfaces attached to the
solid <s>.
.
|
Standard_EXPORT TopOpeBRepDS_SurfaceIterator | SolidSurfaces (const Standard_Integer I) const |
| Returns an iterator on the surfaces attached to the
solid .
.
|
Standard_EXPORT TopOpeBRepDS_CurveIterator | FaceCurves (const TopoDS_Shape &F) const |
| Returns an iterator on the curves attached to the
face <f>.
.
|
Standard_EXPORT TopOpeBRepDS_CurveIterator | FaceCurves (const Standard_Integer I) const |
| Returns an iterator on the curves attached to the
face .
.
|
Standard_EXPORT TopOpeBRepDS_PointIterator | EdgePoints (const TopoDS_Shape &E) const |
| Returns an iterator on the points attached to the
edge <e>.
.
|
Standard_EXPORT Standard_Integer | MakeCurve (const TopOpeBRepDS_Curve &C1, TopOpeBRepDS_Curve &C2) |
Standard_EXPORT void | RemoveCurve (const Standard_Integer iC) |
Standard_EXPORT void | RemoveShape (const Standard_Integer iS) |
Standard_EXPORT Standard_Integer | NbGeometry (const TopOpeBRepDS_Kind K) const |
Standard_EXPORT Standard_Integer | NbTopology (const TopOpeBRepDS_Kind K) const |
Standard_EXPORT Standard_Integer | NbTopology () const |
Standard_EXPORT Standard_Boolean | EdgesSameParameter () const |
| returns True if all the edges stored as shapes in the DS
are SameParameter, otherwise False.
|
Standard_EXPORT void | SortOnParameter (const TopOpeBRepDS_ListOfInterference &L1, TopOpeBRepDS_ListOfInterference &L2) const |
Standard_EXPORT void | SortOnParameter (TopOpeBRepDS_ListOfInterference &L) const |
Standard_EXPORT void | MinMaxOnParameter (const TopOpeBRepDS_ListOfInterference &L, Standard_Real &Min, Standard_Real &Max) const |
Standard_EXPORT 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.
.
|
Standard_EXPORT 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().
.
|
Standard_EXPORT void | StoreInterference (const Handle(TopOpeBRepDS_Interference)&I, TopOpeBRepDS_ListOfInterference &LI, const TCollection_AsciiString &str="") |
| Add interference to list .
.
|
Standard_EXPORT void | StoreInterference (const Handle(TopOpeBRepDS_Interference)&I, const TopoDS_Shape &S, const TCollection_AsciiString &str="") |
| Add interference to list of interference of shape <s>.
.
|
Standard_EXPORT void | StoreInterference (const Handle(TopOpeBRepDS_Interference)&I, const Standard_Integer IS, const TCollection_AsciiString &str="") |
| Add interference to list of interference of shape <is>.
.
|
Standard_EXPORT void | StoreInterferences (const TopOpeBRepDS_ListOfInterference &LI, const TopoDS_Shape &S, const TCollection_AsciiString &str="") |
Standard_EXPORT void | StoreInterferences (const TopOpeBRepDS_ListOfInterference &LI, const Standard_Integer IS, const TCollection_AsciiString &str="") |
Standard_EXPORT void | ClearStoreInterferences (const TopOpeBRepDS_ListOfInterference &LI, const TopoDS_Shape &S, const TCollection_AsciiString &str="") |
Standard_EXPORT void | ClearStoreInterferences (const TopOpeBRepDS_ListOfInterference &LI, const Standard_Integer IS, const TCollection_AsciiString &str="") |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes |
TopOpeBRepDS_DataStructure | myDS |
Standard_Boolean | myEdgesSameParameter |
TCollection_AsciiString | myAscii |