mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-25 12:55:50 +03:00
148 lines
5.7 KiB
Plaintext
Executable File
148 lines
5.7 KiB
Plaintext
Executable File
-- Created on: 1997-08-20
|
|
-- Created by: Guest Design
|
|
-- Copyright (c) 1997-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 ConstraintTools from TPrsStd
|
|
|
|
uses
|
|
|
|
Constraint from TDataXtd,
|
|
InteractiveObject from AIS,
|
|
ExtendedString from TCollection,
|
|
Shape from TopoDS,
|
|
Geometry from Geom
|
|
|
|
is
|
|
|
|
UpdateOnlyValue (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : InteractiveObject from AIS);
|
|
|
|
ComputeDistance (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeParallel (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeTangent (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputePerpendicular (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeConcentric (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeSymmetry (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeMidPoint (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeAngle (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeRadius (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
--ota:
|
|
ComputeMinRadius (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeMaxRadius (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeEqualDistance (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
--end
|
|
ComputeEqualRadius (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeFix (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeDiameter (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeOffset (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputePlacement(myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeCoincident(myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeRound(myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
ComputeOthers (myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS);
|
|
|
|
|
|
ComputeTextAndValue(myclass; aConst : Constraint from TDataXtd;
|
|
aValue : in out Real from Standard;
|
|
aText : in out ExtendedString from TCollection;
|
|
anIsAngle : Boolean from Standard);
|
|
|
|
-- addition for one conical face angle
|
|
ComputeAngleForOneFace(myclass; aConst : Constraint from TDataXtd;
|
|
anAIS : in out InteractiveObject from AIS );
|
|
|
|
GetOneShape(myclass; aConst : Constraint from TDataXtd;
|
|
aShape : in out Shape from TopoDS)
|
|
is private;
|
|
|
|
GetGeom (myclass; aConst : Constraint from TDataXtd;
|
|
aGeom : in out Geometry from Geom)
|
|
is private;
|
|
|
|
GetTwoShapes(myclass; aConst : Constraint from TDataXtd;
|
|
aShape1 : in out Shape from TopoDS;
|
|
aShape2 : in out Shape from TopoDS)
|
|
is private;
|
|
|
|
GetShapesAndGeom(myclass; aConst : Constraint from TDataXtd;
|
|
aShape1 : in out Shape from TopoDS;
|
|
aShape2 : in out Shape from TopoDS;
|
|
aGeom : in out Geometry from Geom)
|
|
is private;
|
|
|
|
GetShapesAndGeom(myclass; aConst : Constraint from TDataXtd;
|
|
aShape1 : in out Shape from TopoDS;
|
|
aShape2 : in out Shape from TopoDS;
|
|
aShape3 : in out Shape from TopoDS;
|
|
aGeom : in out Geometry from Geom)
|
|
is private;
|
|
|
|
--ota --
|
|
GetShapesAndGeom(myclass; aConst : Constraint from TDataXtd;
|
|
aShape1 : in out Shape from TopoDS;
|
|
aShape2 : in out Shape from TopoDS;
|
|
aShape3 : in out Shape from TopoDS;
|
|
aShape4 : in out Shape from TopoDS;
|
|
aGeom : in out Geometry from Geom)
|
|
is private;
|
|
----
|
|
|
|
end ConstraintTools;
|
|
|
|
|
|
|