mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-26 10:19:45 +03:00
192 lines
4.5 KiB
Plaintext
Executable File
192 lines
4.5 KiB
Plaintext
Executable File
-- Created on: 1993-10-29
|
|
-- Created by: Jean Marc LACHAUME
|
|
-- Copyright (c) 1993-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.
|
|
|
|
|
|
deferred class IntersectionPoint from HatchGen
|
|
|
|
uses
|
|
Orientation from TopAbs ,
|
|
State from TopAbs ,
|
|
IntersectionPoint from IntRes2d
|
|
|
|
is
|
|
|
|
|
|
Initialize
|
|
|
|
---Purpose: Creates an empty intersection point.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
is protected ;
|
|
|
|
|
|
SetIndex (me : in out ; Index : Integer from Standard)
|
|
|
|
---Purpose: Sets the index of the supporting curve.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
is static ;
|
|
|
|
|
|
Index (me)
|
|
|
|
---Purpose: Returns the index of the supporting curve.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
returns Integer from Standard
|
|
is static ;
|
|
|
|
|
|
SetParameter (me : in out ; Parameter : Real from Standard)
|
|
|
|
---Purpose: Sets the parameter on the curve.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
is static ;
|
|
|
|
|
|
Parameter (me)
|
|
|
|
---Purpose: Returns the parameter on the curve.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
returns Real from Standard
|
|
is static ;
|
|
|
|
|
|
SetPosition (me : in out ; Position : Orientation from TopAbs)
|
|
|
|
---Purpose: Sets the position of the point on the curve.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
is static ;
|
|
|
|
|
|
Position (me)
|
|
|
|
---Purpose: Returns the position of the point on the curve.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
returns Orientation from TopAbs
|
|
is static ;
|
|
|
|
|
|
SetStateBefore (me : in out ; State : State from TopAbs)
|
|
|
|
---Purpose: Sets the transition state before the intersection.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
is static ;
|
|
|
|
|
|
StateBefore (me)
|
|
|
|
---Purpose: Returns the transition state before the intersection.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
returns State from TopAbs
|
|
is static ;
|
|
|
|
|
|
SetStateAfter (me : in out ; State : State from TopAbs)
|
|
|
|
---Purpose: Sets the transition state after the intersection.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
is static ;
|
|
|
|
|
|
StateAfter (me)
|
|
|
|
---Purpose: Returns the transition state after of the intersection.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
returns State from TopAbs
|
|
is static ;
|
|
|
|
|
|
SetSegmentBeginning (me : in out ; State : Boolean from Standard = Standard_True)
|
|
|
|
---Purpose: Sets the flag that the point is the beginning of a segment.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
is static ;
|
|
|
|
|
|
SegmentBeginning (me)
|
|
|
|
---Purpose: Returns the flag that the point is the beginning of a segment.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
returns Boolean from Standard
|
|
is static ;
|
|
|
|
|
|
SetSegmentEnd (me : in out ; State : Boolean from Standard = Standard_True)
|
|
|
|
---Purpose: Sets the flag that the point is the end of a segment.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
is static ;
|
|
|
|
|
|
SegmentEnd (me)
|
|
|
|
---Purpose: Returns the flag that the point is the end of a segment.
|
|
|
|
---Category: IntersectionPoint
|
|
|
|
returns Boolean from Standard
|
|
is static ;
|
|
|
|
|
|
Dump (me; Index : Integer from Standard = 0)
|
|
|
|
---Purpose: Dump of the point on element.
|
|
|
|
is deferred ;
|
|
|
|
|
|
fields
|
|
|
|
myIndex : Integer from Standard is protected ;
|
|
myParam : Real from Standard is protected ;
|
|
myPosit : Orientation from TopAbs is protected ;
|
|
myBefore : State from TopAbs is protected ;
|
|
myAfter : State from TopAbs is protected ;
|
|
mySegBeg : Boolean from Standard is protected ;
|
|
mySegEnd : Boolean from Standard is protected ;
|
|
|
|
end IntersectionPoint from HatchGen ;
|