mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-19 01:39:00 +08:00
72 lines
2.3 KiB
Plaintext
Executable File
72 lines
2.3 KiB
Plaintext
Executable File
-- Created on: 1998-06-03
|
|
-- Created by: data exchange team
|
|
-- Copyright (c) 1998-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 EdgeProjAux from ShapeFix inherits TShared from MMgt
|
|
|
|
---Purpose: Project 3D point (vertex) on pcurves to find Vertex Parameter
|
|
-- on parametric representation of an edge
|
|
|
|
uses
|
|
|
|
Curve from Geom2d,
|
|
Face from TopoDS,
|
|
Edge from TopoDS,
|
|
Surface from Geom
|
|
|
|
is
|
|
|
|
Create returns mutable EdgeProjAux from ShapeFix;
|
|
|
|
Create (F: Face from TopoDS; E: Edge from TopoDS)
|
|
returns mutable EdgeProjAux from ShapeFix;
|
|
|
|
Init (me: mutable; F: Face from TopoDS; E: Edge from TopoDS);
|
|
|
|
Compute (me: mutable; preci: Real);
|
|
|
|
IsFirstDone (me) returns Boolean from Standard;
|
|
|
|
IsLastDone (me) returns Boolean from Standard;
|
|
|
|
FirstParam (me) returns Real from Standard;
|
|
|
|
LastParam (me) returns Real from Standard;
|
|
|
|
IsIso (me: mutable; C: Curve from Geom2d) returns Boolean;
|
|
|
|
Init2d (me: mutable; preci: Real) is protected;
|
|
|
|
Init3d (me: mutable; preci: Real) is protected;
|
|
|
|
UpdateParam2d (me: mutable; C: Curve from Geom2d) is protected;
|
|
|
|
fields
|
|
|
|
myFace: Face from TopoDS is protected;
|
|
myEdge: Edge from TopoDS is protected;
|
|
myFirstParam: Real is protected;
|
|
myLastParam: Real is protected;
|
|
myFirstDone: Boolean is protected;
|
|
myLastDone: Boolean is protected;
|
|
|
|
end EdgeProjAux;
|