| 1 | -- File: InteriorPointTool.cdl |
| 2 | -- Created: Thu Oct 1 12:05:40 1992 |
| 3 | -- Author: Jacques GOUSSARD |
| 4 | -- <jag@sdsun2> |
| 5 | ---Copyright: Matra Datavision 1992 |
| 6 | |
| 7 | |
| 8 | class InteriorPointTool from IntSurf |
| 9 | |
| 10 | ---Purpose: This class provides a tool on the "interior point" |
| 11 | -- that can be used to instantiates the Walking |
| 12 | -- algorithmes (see package IntWalk). |
| 13 | |
| 14 | uses Pnt from gp, |
| 15 | Vec from gp, |
| 16 | Dir2d from gp, |
| 17 | InteriorPoint from IntSurf |
| 18 | |
| 19 | |
| 20 | is |
| 21 | |
| 22 | |
| 23 | Value3d(myclass; PStart: InteriorPoint from IntSurf) |
| 24 | |
| 25 | ---Purpose: Returns the 3d coordinates of the starting point. |
| 26 | |
| 27 | returns Pnt from gp; |
| 28 | |
| 29 | ---C++: inline |
| 30 | |
| 31 | |
| 32 | Value2d(myclass; PStart: InteriorPoint from IntSurf; |
| 33 | U, V: out Real from Standard); |
| 34 | |
| 35 | ---Purpose: Returns the <U,V> parameters which are associated |
| 36 | -- with <P> |
| 37 | -- it's the parameters which start the marching algorithm |
| 38 | |
| 39 | ---C++: inline |
| 40 | |
| 41 | |
| 42 | Direction3d(myclass; PStart: InteriorPoint from IntSurf) |
| 43 | |
| 44 | ---Purpose: returns the tangent at the intersectin in 3d space |
| 45 | -- associated to <P> |
| 46 | |
| 47 | returns Vec from gp; |
| 48 | |
| 49 | ---C++: inline |
| 50 | |
| 51 | |
| 52 | Direction2d(myclass; PStart: InteriorPoint from IntSurf) |
| 53 | |
| 54 | ---Purpose: returns the tangent at the intersectin in the |
| 55 | -- parametric space of the parametrized surface.This tangent |
| 56 | -- is associated to the value2d |
| 57 | |
| 58 | returns Dir2d from gp; |
| 59 | |
| 60 | ---C++: inline |
| 61 | |
| 62 | |
| 63 | end InteriorPointTool; |