mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
56 lines
2.3 KiB
Plaintext
Executable File
56 lines
2.3 KiB
Plaintext
Executable File
-- Created on: 1992-03-05
|
|
-- Created by: Herve LEGRAND
|
|
-- Copyright (c) 1992-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 generic class SurfaceTool from LProp (Surface as any)
|
|
|
|
uses Pnt from gp,
|
|
Vec from gp
|
|
|
|
is
|
|
|
|
Value(myclass; S : Surface; U, V : Real; P : out Pnt);
|
|
---Purpose: Computes the point <P> of parameter <U> and <V> on the
|
|
-- Surface <C>.
|
|
|
|
D1 (myclass; S : Surface; U, V : Real; P : out Pnt; D1U, D1V : out Vec);
|
|
---Purpose: Computes the point <P> and first derivative <D1*> of
|
|
-- parameter <U> and <V> on the Surface <C>.
|
|
|
|
D2 (myclass; S : Surface; U, V : Real;
|
|
P : out Pnt; D1U, D1V, D2U, D2V, DUV : out Vec);
|
|
---Purpose: Computes the point <P>, the first derivative <D1*> and second
|
|
-- derivative <D2*> of parameter <U> and <V> on the Surface <C>.
|
|
|
|
DN (myclass; S : Surface; U, V : Real; IU, IV : Integer)
|
|
returns Vec;
|
|
|
|
Continuity(myclass; S : Surface) returns Integer;
|
|
---Purpose: returns the order of continuity of the Surface <C>.
|
|
-- returns 1 : first derivative only is computable
|
|
-- returns 2 : first and second derivative only are computable.
|
|
|
|
Bounds(myclass; S : Surface; U1, V1, U2, V2 : out Real);
|
|
---Purpose: returns the bounds of the Surface.
|
|
|
|
end SurfaceTool;
|
|
|
|
|