mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-03 10:36:44 +08:00
41 lines
688 B
Plaintext
Executable File
41 lines
688 B
Plaintext
Executable File
-- File: GeomInt_LineTool.cdl
|
|
-- Created: Wed Feb 8 09:42:03 1995
|
|
-- Author: Jacques GOUSSARD
|
|
-- <jag@topsn2>
|
|
---Copyright: Matra Datavision 1995
|
|
|
|
|
|
|
|
class LineTool from GeomInt
|
|
|
|
---Purpose:
|
|
|
|
uses Line from IntPatch,
|
|
Point from IntPatch,
|
|
Pnt2d from gp
|
|
|
|
is
|
|
|
|
|
|
NbVertex(myclass; L: Line from IntPatch)
|
|
|
|
returns Integer from Standard;
|
|
|
|
|
|
Vertex(myclass; L:Line from IntPatch; I: Integer from Standard)
|
|
|
|
returns Point from IntPatch;
|
|
---C++: return const&
|
|
|
|
FirstParameter(myclass; L: Line from IntPatch)
|
|
|
|
returns Real from Standard;
|
|
|
|
|
|
LastParameter(myclass; L: Line from IntPatch)
|
|
|
|
returns Real from Standard;
|
|
|
|
|
|
end LineTool;
|