mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-14 04:04:13 +08:00
197 lines
3.4 KiB
Plaintext
Executable File
197 lines
3.4 KiB
Plaintext
Executable File
-- Created on: 1992-04-13
|
|
-- Created by: Jacques GOUSSARD
|
|
-- 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.
|
|
|
|
|
|
|
|
class Quadric from IntSurf
|
|
|
|
---Purpose:
|
|
|
|
|
|
uses Ax3 from gp,
|
|
Pnt from gp,
|
|
Vec from gp,
|
|
Dir from gp,
|
|
Lin from gp,
|
|
Pln from gp,
|
|
Cylinder from gp,
|
|
Sphere from gp,
|
|
Cone from gp,
|
|
SurfaceType from GeomAbs
|
|
|
|
is
|
|
|
|
Create
|
|
|
|
returns Quadric from IntSurf;
|
|
|
|
|
|
Create(P: Pln from gp)
|
|
|
|
returns Quadric from IntSurf;
|
|
|
|
|
|
Create(C: Cylinder from gp)
|
|
|
|
returns Quadric from IntSurf;
|
|
|
|
|
|
Create(S: Sphere from gp)
|
|
|
|
returns Quadric from IntSurf;
|
|
|
|
|
|
Create(C: Cone from gp)
|
|
|
|
returns Quadric from IntSurf;
|
|
|
|
|
|
SetValue(me: in out; P: Pln from gp)
|
|
|
|
is static;
|
|
|
|
|
|
SetValue(me: in out; C: Cylinder from gp)
|
|
|
|
is static;
|
|
|
|
|
|
SetValue(me: in out; S: Sphere from gp)
|
|
|
|
is static;
|
|
|
|
|
|
SetValue(me: in out; C: Cone from gp)
|
|
|
|
is static;
|
|
|
|
|
|
Distance(me; P: Pnt from gp)
|
|
|
|
returns Real from Standard
|
|
|
|
is static;
|
|
|
|
|
|
Gradient(me; P: Pnt from gp)
|
|
|
|
returns Vec from gp
|
|
|
|
is static;
|
|
|
|
|
|
ValAndGrad(me; P: Pnt from gp; Dist: out Real from Standard;
|
|
Grad: out Vec from gp)
|
|
|
|
is static;
|
|
|
|
|
|
TypeQuadric(me)
|
|
|
|
returns SurfaceType from GeomAbs
|
|
---C++: inline
|
|
|
|
is static;
|
|
|
|
|
|
Plane(me)
|
|
|
|
returns Pln from gp
|
|
---C++: inline
|
|
|
|
is static;
|
|
|
|
|
|
Sphere(me)
|
|
|
|
returns Sphere from gp
|
|
---C++: inline
|
|
|
|
is static;
|
|
|
|
|
|
Cylinder(me)
|
|
|
|
returns Cylinder from gp
|
|
---C++: inline
|
|
|
|
is static;
|
|
|
|
|
|
Cone(me)
|
|
|
|
returns Cone from gp
|
|
---C++: inline
|
|
|
|
is static;
|
|
|
|
|
|
|
|
Value(me; U,V: Real)
|
|
|
|
returns Pnt from gp
|
|
|
|
is static;
|
|
|
|
|
|
D1(me; U,V: Real; P: out Pnt; D1U,D1V: out Vec from gp)
|
|
|
|
is static;
|
|
|
|
|
|
DN(me; U,V: Real; Nu,Nv: Integer)
|
|
|
|
returns Vec from gp
|
|
|
|
is static;
|
|
|
|
|
|
Normale(me; U,V: Real)
|
|
|
|
returns Vec from gp
|
|
|
|
is static;
|
|
|
|
|
|
Parameters(me; P: Pnt from gp; U,V: out Real)
|
|
|
|
is static;
|
|
|
|
|
|
Normale(me; P: Pnt from gp)
|
|
|
|
returns Vec from gp
|
|
|
|
is static;
|
|
|
|
|
|
fields
|
|
|
|
ax3 : Ax3 from gp;
|
|
lin : Lin from gp;
|
|
prm1 : Real from Standard;
|
|
prm2 : Real from Standard;
|
|
prm3 : Real from Standard;
|
|
prm4 : Real from Standard;
|
|
ax3direc : Boolean from Standard;
|
|
typ : SurfaceType from GeomAbs;
|
|
|
|
end Quadric;
|