1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-05 11:24:17 +03:00
occt/src/TopOpeBRepBuild/TopOpeBRepBuild_Loop.cxx

84 lines
2.6 KiB
C++

// Created on: 1995-12-19
// Created by: Jean Yves LEBEY
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#include <Standard_Type.hxx>
#include <TopoDS_Shape.hxx>
#include <TopOpeBRepBuild_BlockIterator.hxx>
#include <TopOpeBRepBuild_Loop.hxx>
IMPLEMENT_STANDARD_RTTIEXT(TopOpeBRepBuild_Loop,Standard_Transient)
//=======================================================================
//function : TopOpeBRepBuild_Loop
//purpose :
//=======================================================================
TopOpeBRepBuild_Loop::TopOpeBRepBuild_Loop
(const TopoDS_Shape& S) :
myIsShape(Standard_True),myShape(S),myBlockIterator(0,0)
{
}
//=======================================================================
//function : TopOpeBRepBuild_Loop
//purpose :
//=======================================================================
TopOpeBRepBuild_Loop::TopOpeBRepBuild_Loop
(const TopOpeBRepBuild_BlockIterator& BI) :
myIsShape(Standard_False),myBlockIterator(BI)
{
}
//=======================================================================
//function : IsShape
//purpose :
//=======================================================================
Standard_Boolean TopOpeBRepBuild_Loop::IsShape() const
{
return myIsShape;
}
//=======================================================================
//function : Shape
//purpose :
//=======================================================================
const TopoDS_Shape& TopOpeBRepBuild_Loop::Shape() const
{
return myShape;
}
//=======================================================================
//function : BlockIterator
//purpose :
//=======================================================================
const TopOpeBRepBuild_BlockIterator& TopOpeBRepBuild_Loop::BlockIterator() const
{
return myBlockIterator;
}
//=======================================================================
//function : Dump
//purpose :
//=======================================================================
void TopOpeBRepBuild_Loop::Dump() const
{
}