mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
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.
121 lines
4.1 KiB
Plaintext
121 lines
4.1 KiB
Plaintext
-- Created on: 1993-04-07
|
|
-- Created by: Laurent BUCHARD
|
|
-- 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.
|
|
|
|
deferred class Intersection from IntCurveSurface
|
|
|
|
---Level: Public
|
|
|
|
uses
|
|
IntersectionPoint from IntCurveSurface,
|
|
IntersectionSegment from IntCurveSurface,
|
|
SequenceOfPnt from IntCurveSurface,
|
|
SequenceOfSeg from IntCurveSurface
|
|
|
|
|
|
raises NotDone from StdFail,
|
|
OutOfRange from Standard
|
|
|
|
|
|
is
|
|
|
|
Initialize
|
|
---Purpose: Empty Constructor;
|
|
is protected;
|
|
|
|
IsDone(me)
|
|
---Purpose: returns the <done> field.
|
|
returns Boolean from Standard is static;
|
|
|
|
NbPoints(me)
|
|
---Purpose: returns the number of IntersectionPoint
|
|
-- if IsDone returns True.
|
|
-- else NotDone is raised.
|
|
returns Integer from Standard
|
|
raises NotDone from StdFail
|
|
is static;
|
|
|
|
Point(me; Index: Integer from Standard)
|
|
---Purpose: returns the IntersectionPoint of range <Index>
|
|
-- raises NotDone if the computation has failed or if
|
|
-- the computation has not been done
|
|
-- raises OutOfRange if Index is not in the range <1..NbPoints>
|
|
---C++: return const &
|
|
returns IntersectionPoint from IntCurveSurface
|
|
raises NotDone from StdFail,
|
|
OutOfRange from Standard
|
|
is static;
|
|
|
|
NbSegments(me)
|
|
---Purpose: returns the number of IntersectionSegment
|
|
-- if IsDone returns True.
|
|
-- else NotDone is raised.
|
|
returns Integer from Standard
|
|
raises NotDone from StdFail
|
|
is static;
|
|
|
|
Segment(me; Index: Integer from Standard)
|
|
---Purpose: returns the IntersectionSegment of range <Index>
|
|
-- raises NotDone if the computation has failed or if
|
|
-- the computation has not been done
|
|
-- raises OutOfRange if Index is not in the range <1..NbSegment>
|
|
---C++: return const &
|
|
returns IntersectionSegment from IntCurveSurface
|
|
raises NotDone from StdFail,
|
|
OutOfRange from Standard
|
|
is static;
|
|
|
|
SetValues(me:in out; Inter: Intersection from IntCurveSurface)
|
|
---Purpose: Internal method
|
|
-- copy the <Inter> fields to <me>
|
|
is static protected;
|
|
|
|
Append(me:in out; Inter: Intersection from IntCurveSurface;
|
|
FirstParamOnCurve: Real from Standard;
|
|
LastParamOnCurve : Real from Standard)
|
|
---Purpose: Internal method
|
|
-- Append the IntersectionPoints and
|
|
-- IntersectionSegments of <Inter> to <me>.
|
|
is static protected;
|
|
|
|
Append(me:in out; Pt: IntersectionPoint from IntCurveSurface)
|
|
---Purpose: Internal method
|
|
-- Append the IntersectionPoints of <Inter> to <me>
|
|
is static protected;
|
|
|
|
Append(me:in out; Seg: IntersectionSegment from IntCurveSurface)
|
|
---Purpose: Internal method
|
|
-- Append the IntersectionPoints of <Inter> to <me>
|
|
is static protected;
|
|
|
|
ResetFields(me:in out)
|
|
---Purpose: Internal method
|
|
-- Reset all the fields of <me>
|
|
-- Clear the sequences of IntersectionPoints and Segments
|
|
-- Set the field <done> to Standard_False.
|
|
is static protected;
|
|
|
|
Dump(me)
|
|
---Purpose: Dump all the fields.
|
|
is static;
|
|
|
|
|
|
fields
|
|
done : Boolean from Standard is protected;
|
|
lpnt : SequenceOfPnt from IntCurveSurface;
|
|
lseg : SequenceOfSeg from IntCurveSurface;
|
|
end Intersection;
|
|
|