Files
OCCT/src/TopOpeBRep/TopOpeBRep_VPointInterClassifier.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

61 lines
2.2 KiB
Plaintext

-- Created on: 1993-11-17
-- Created by: Jean Yves LEBEY
-- Copyright (c) 1993-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 VPointInterClassifier from TopOpeBRep
uses
State from TopAbs,
Shape from TopoDS,
VPointInter from TopOpeBRep,
FaceClassifier from BRepClass,
PointClassifier from TopOpeBRep
is
Create returns VPointInterClassifier from TopOpeBRep;
VPointPosition(me : in out; F : Shape from TopoDS;
VP : in out VPointInter from TopOpeBRep;
ShapeIndex : Integer from Standard;
PC : in out PointClassifier from TopOpeBRep;
AssumeINON : Boolean from Standard; Tol : Real)
---Purpose: compute position of VPoint <VP> regarding with face <F>.
-- <ShapeIndex> (= 1,2) indicates which (u,v) point of <VP> is used.
-- when state is ON, set VP.EdgeON() with the edge containing <VP>
-- and associated parameter.
-- returns state of VP on ShapeIndex.
returns State from TopAbs is static;
Edge(me)
---Purpose: returns the edge containing the VPoint <VP> used in the
-- last VPointPosition() call. Edge is defined if the state previously
-- computed is ON, else Edge is a null shape.
---C++: return const &
returns Shape from TopoDS is static;
EdgeParameter(me)
---Purpose: returns the parameter of the VPoint <VP> on Edge()
returns Real from Standard is static;
fields
mySlowFaceClassifier : FaceClassifier from BRepClass;
myState : State from TopAbs;
myNullShape : Shape from TopoDS; -- dummy, needed by Edge()
end VPointInterClassifier from TopOpeBRep;