Files
OCCT/src/TopOpeBRepDS/TopOpeBRepDS_ShapeShapeInterference.cdl
bugmaster b311480ed5 0023024: Update headers of OCCT files
Added appropriate copyright and license information in source files
2012-03-21 19:43:04 +04:00

92 lines
3.0 KiB
Plaintext
Executable File

-- Created on: 1994-08-30
-- Created by: Jean Yves LEBEY
-- Copyright (c) 1994-1999 Matra Datavision
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
--
-- The content of this file is subject to the Open CASCADE Technology Public
-- License Version 6.5 (the "License"). You may not use the content of this file
-- except in compliance with the License. Please obtain a copy of the License
-- at http://www.opencascade.org and read it completely before using this file.
--
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
--
-- The Original Code and all software distributed under the License is
-- distributed on an "AS IS" basis, without warranty of any kind, and the
-- Initial Developer hereby disclaims all such warranties, including without
-- limitation, any warranties of merchantability, fitness for a particular
-- purpose or non-infringement. Please see the License for the specific terms
-- and conditions governing the rights and limitations under the License.
class ShapeShapeInterference from TopOpeBRepDS
inherits Interference from TopOpeBRepDS
---Purpose:
uses
Transition from TopOpeBRepDS,
Kind from TopOpeBRepDS,
Config from TopOpeBRepDS,
OStream from Standard
is
Create(T : Transition from TopOpeBRepDS;
ST : Kind from TopOpeBRepDS;
S : Integer from Standard;
GT : Kind from TopOpeBRepDS;
G : Integer from Standard;
GBound : Boolean from Standard;
C : Config from TopOpeBRepDS)
---Purpose: a shape interfers on shape <G> with shape <S>.
-- examples :
-- create a ShapeShapeInterference describing :
-- vertex V of edge E1 found on edge E2 :
-- ST,S,GT,G = TopOpeBRepDS_EDGE,E2,TopOpeBRepDS_VERTEX,V
--
-- create a ShapeShapeInterference describing
-- vertex V of edge E found on face F :
-- ST,S,GT,G = TopOpeBRepDS_FACE,F,TopOpeBRepDS_VERTEX,V
--
-- <GBound> indicates if shape <G> is a bound of shape <S>.
--
-- <SCC> :
-- UNSH_GEOMETRY :
-- <S> and <Ancestor> have any types,
-- <S> and <Ancestor> don't share the same geometry
-- SAME_ORIENTED :
-- <S> and <Ancestor> have identical types,
-- <S> and <Ancestor> orientations are IDENTICAL.
-- DIFF_ORIENTED :
-- <S> and <Ancestor> have identical types,
-- <S> and <Ancestor> orientations are DIFFERENT.
--
returns mutable ShapeShapeInterference from TopOpeBRepDS;
Config(me) returns Config from TopOpeBRepDS
is static;
GBound(me) returns Boolean from Standard
is static;
SetGBound(me : mutable; b : Boolean from Standard)
is static;
Dump(me; OS : in out OStream from Standard) returns OStream
is redefined;
---C++: return &
fields
myGBound : Boolean from Standard;
myC : Config from TopOpeBRepDS;
end ShapeShapeInterference from TopOpeBRepDS;