mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 07:57:31 +08: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.
123 lines
3.1 KiB
Plaintext
123 lines
3.1 KiB
Plaintext
-- Created on: 1993-10-29
|
|
-- Created by: Jean Marc LACHAUME
|
|
-- 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 PointOnElement from HatchGen
|
|
|
|
|
|
inherits IntersectionPoint from HatchGen
|
|
|
|
|
|
uses
|
|
IntersectionType from HatchGen ,
|
|
IntersectionPoint from IntRes2d ,
|
|
Orientation from TopAbs
|
|
|
|
|
|
is
|
|
|
|
|
|
Create
|
|
|
|
---Purpose; Creates an empty point on element
|
|
|
|
---Category: PointOnElement
|
|
|
|
returns PointOnElement from HatchGen ;
|
|
|
|
|
|
Create (Point : PointOnElement from HatchGen)
|
|
|
|
---Purpose: Creates a point from an other.
|
|
|
|
---Category: PointOnElement
|
|
|
|
returns PointOnElement from HatchGen ;
|
|
|
|
|
|
Create (Point : IntersectionPoint from IntRes2d)
|
|
|
|
---Purpose: Creates a point from an intersection point.
|
|
|
|
---Category: PointOnElement
|
|
|
|
returns PointOnElement from HatchGen ;
|
|
|
|
|
|
SetIntersectionType (me : in out ; Type : IntersectionType from HatchGen)
|
|
|
|
---Purpose: Sets the intersection type at this point.
|
|
|
|
---Category: PointOnElement
|
|
---C++: inline
|
|
is static ;
|
|
|
|
|
|
IntersectionType (me)
|
|
|
|
---Purpose: Returns the intersection type at this point.
|
|
|
|
---Category: PointOnElement
|
|
|
|
---C++: inline
|
|
returns IntersectionType from HatchGen
|
|
is static ;
|
|
|
|
|
|
IsIdentical (me; Point : PointOnElement from HatchGen ;
|
|
Confusion : Real from Standard)
|
|
|
|
---Purpose: Tests if the point is identical to an other.
|
|
-- That is to say :
|
|
-- P1.myIndex = P2.myIndex
|
|
-- Abs (P1.myParam - P2.myParam) <= Confusion
|
|
-- P1.myPosit = P2.myPosit
|
|
-- P1.myBefore = P2.myBefore
|
|
-- P1.myAfter = P2.myAfter
|
|
-- P1.mySegBeg = P2.mySegBeg
|
|
-- P1.mySegEnd = P2.mySegEnd
|
|
-- P1.myType = P2.myType
|
|
|
|
---Category: PointOnElement
|
|
|
|
returns Boolean from Standard
|
|
is static ;
|
|
|
|
|
|
IsDifferent (me; Point : PointOnElement from HatchGen ;
|
|
Confusion : Real from Standard)
|
|
|
|
|
|
---Purpose: Tests if the point is different from an other.
|
|
|
|
---Category: PointOnElement
|
|
|
|
returns Boolean from Standard
|
|
is static ;
|
|
|
|
|
|
Dump (me; Index : Integer from Standard = 0)
|
|
|
|
---Purpose: Dump of the point on element.
|
|
|
|
is static ;
|
|
|
|
|
|
fields
|
|
|
|
myType : IntersectionType from HatchGen is protected ;
|
|
|
|
end PointOnElement from HatchGen ;
|