mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024321: Use List collection instead of NCollection_Set for collection of Handle(Graphic3d_ClipPlane)
- The NCollection_Sequence (Graphic3d_SequenceOfHClipPlane) is used for handling ordered lists of clipping planes instead of NCollection_Set (Graphic3d_SetOfHClipPlane).
This commit is contained in:
@@ -2497,7 +2497,7 @@ Standard_Integer Graphic3d_Structure::GetZLayer () const
|
||||
//function : SetClipPlanes
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void Graphic3d_Structure::SetClipPlanes (const Graphic3d_SetOfHClipPlane& thePlanes)
|
||||
void Graphic3d_Structure::SetClipPlanes (const Graphic3d_SequenceOfHClipPlane& thePlanes)
|
||||
{
|
||||
MyCStructure.ClipPlanes = thePlanes;
|
||||
MyGraphicDriver->SetClipPlanes (MyCStructure);
|
||||
@@ -2507,7 +2507,7 @@ void Graphic3d_Structure::SetClipPlanes (const Graphic3d_SetOfHClipPlane& thePla
|
||||
//function : GetClipPlanes
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
const Graphic3d_SetOfHClipPlane& Graphic3d_Structure::GetClipPlanes() const
|
||||
const Graphic3d_SequenceOfHClipPlane& Graphic3d_Structure::GetClipPlanes() const
|
||||
{
|
||||
return MyCStructure.ClipPlanes;
|
||||
}
|
||||
|
Reference in New Issue
Block a user