Integration of OCCT 6.5.0 from SVN
[occt.git] / src / Geom / Geom_Point.cdl
CommitLineData
7fd59977 1-- File: Geom_Point.cdl
2-- Created: Wed Mar 10 10:01:33 1993
3-- Author: JCV
4-- <fid@phylox>
5-- Copyright: Matra Datavision 1993
6
7
8deferred class Point from Geom inherits Geometry from Geom
9
10
11
12 ---Purpose : The abstract class Point describes the common
13 -- behavior of geometric points in 3D space.
14 -- The Geom package also provides the concrete class
15 -- Geom_CartesianPoint.
16
17uses Pnt from gp
18
19is
20
21
22 Coord (me; X, Y, Z : out Real)
23 ---Purpose : returns the Coordinates of <me>.
24 is deferred;
25
26
27 Pnt (me) returns Pnt
28 ---Purpose : returns a non transient copy of <me>
29 is deferred;
30
31
32 X (me) returns Real
33 ---Purpose : returns the X coordinate of <me>.
34 is deferred;
35
36
37 Y (me) returns Real
38 ---Purpose : returns the Y coordinate of <me>.
39 is deferred;
40
41
42 Z (me) returns Real
43 ---Purpose : returns the Z coordinate of <me>.
44 is deferred;
45
46
47 Distance (me; Other : Point) returns Real;
48 ---Purpose : Computes the distance between <me> and <Other>.
49
50
51 SquareDistance (me; Other : Point) returns Real;
52 ---Purpose : Computes the square distance between <me> and <Other>.
53
54end;
55