-- 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 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 -- 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 -- 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 fields to 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 to . is static protected; Append(me:in out; Pt: IntersectionPoint from IntCurveSurface) ---Purpose: Internal method -- Append the IntersectionPoints of to is static protected; Append(me:in out; Seg: IntersectionSegment from IntCurveSurface) ---Purpose: Internal method -- Append the IntersectionPoints of to is static protected; ResetFields(me:in out) ---Purpose: Internal method -- Reset all the fields of -- Clear the sequences of IntersectionPoints and Segments -- Set the field 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;