1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00
occt/src/HLRBRep/HLRBRep_EdgeBuilder.cdl
abv d5f74e42d6 0024624: Lost word in license statement in source files
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.
2014-02-20 16:15:17 +04:00

178 lines
5.4 KiB
Plaintext

-- Created on: 1997-04-17
-- Created by: Christophe MARION
-- Copyright (c) 1997-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.
class EdgeBuilder from HLRBRep
uses
Integer from Standard,
State from TopAbs,
Orientation from TopAbs,
Intersection from HLRAlgo,
AreaLimit from HLRBRep,
VertexList from HLRBRep
raises
NoMoreObject from Standard,
NoSuchObject from Standard,
DomainError from Standard
is
Create (VList : in out VertexList from HLRBRep)
returns EdgeBuilder from HLRBRep
---Purpose: Creates an EdgeBuilder algorithm. <VList>
-- describes the edge and the interferences.
-- AreaLimits are created from the vertices.
-- Builds(IN) is automatically called.
raises
DomainError from Standard; -- when the VertexList is incoherent
InitAreas(me : in out)
---Purpose: Initialize an iteration on the areas.
---Category: Area
is static;
NextArea(me : in out)
---Purpose: Set the current area to the next area.
---Category: Area
raises
NoSuchObject from Standard -- when there is no next area
is static;
PreviousArea(me : in out)
---Purpose: Set the current area to the previous area.
---Category: Area
raises
NoSuchObject from Standard -- when there is no previous area
is static;
HasArea(me) returns Boolean from Standard
---Purpose: Returns True if there is a current area.
---Category: Area
is static;
AreaState(me) returns State from TopAbs
---Purpose: Returns the state of the current area.
---Category: Area
is static;
AreaEdgeState(me) returns State from TopAbs
---Purpose: Returns the edge state of the current area.
---Category: Area
is static;
LeftLimit(me) returns AreaLimit from HLRBRep
---Purpose: Returns the AreaLimit beginning the current area.
-- This is a NULL handle when the area is infinite on
-- the left.
--
---Category: Area
is static;
RightLimit(me) returns AreaLimit from HLRBRep
---Purpose: Returns the AreaLimit ending the current area.
-- This is a NULL handle when the area is infinite on
-- the right.
--
---Category: Area
is static;
Builds(me : in out; ToBuild : State from TopAbs)
---Purpose: Reinitialize the results iteration to the parts
-- with State <ToBuild>. If this method is not called
-- after construction the default is <ToBuild> = IN.
--
---Category: Edge
raises
DomainError from Standard -- when <ToBuild> is UNKNOWN
is static;
MoreEdges(me) returns Boolean from Standard
---Purpose: Returns True if there are more new edges to build.
is static;
NextEdge(me : in out)
---Purpose: Proceeds to the next edge to build. Skip all
-- remaining vertices on the current edge.
--
---Category: Edge
raises
NoMoreObject from Standard -- when MoreEdges would return False.
is static;
MoreVertices(me) returns Boolean from Standard
---Purpose: True if there are more vertices in the current new
-- edge.
--
---Category: Vertex
raises
NoSuchObject from Standard -- when there is no current Edge
is static;
NextVertex(me : in out)
---Purpose: Proceeds to the next vertex of the current edge.
--
---Category: Vertex
raises
NoSuchObject from Standard -- when there is no current edge
is static;
Current(me) returns Intersection from HLRAlgo
---Purpose: Returns the current vertex of the current edge.
---Category: Vertex
---C++: return const &
raises
NoSuchObject from Standard -- when there is no current vertex
is static;
IsBoundary(me) returns Boolean from Standard
---Purpose: Returns True if the current vertex comes from the
-- boundary of the edge.
--
---Category: Vertex
raises
NoSuchObject from Standard -- when there is no current vertex
is static;
IsInterference(me) returns Boolean from Standard
---Purpose: Returns True if the current vertex was an
-- interference.
--
---Category: Vertex
raises
NoSuchObject from Standard -- when there is no current vertex
is static;
Orientation(me) returns Orientation from TopAbs
---Purpose: Returns the new orientation of the current vertex.
--
---Category: Vertex
raises
NoSuchObject from Standard -- when there is no current vertex
is static;
Destroy(me : in out);
---C++: alias ~
fields
toBuild : State from TopAbs;
myLimits : AreaLimit from HLRBRep;
left : AreaLimit from HLRBRep;
right : AreaLimit from HLRBRep;
current : Integer from Standard;
end EdgeBuilder;