-- File: Geom_Point.cdl -- Created: Wed Mar 10 10:01:33 1993 -- Author: JCV -- -- Copyright: Matra Datavision 1993 deferred class Point from Geom inherits Geometry from Geom ---Purpose : The abstract class Point describes the common -- behavior of geometric points in 3D space. -- The Geom package also provides the concrete class -- Geom_CartesianPoint. uses Pnt from gp is Coord (me; X, Y, Z : out Real) ---Purpose : returns the Coordinates of . is deferred; Pnt (me) returns Pnt ---Purpose : returns a non transient copy of is deferred; X (me) returns Real ---Purpose : returns the X coordinate of . is deferred; Y (me) returns Real ---Purpose : returns the Y coordinate of . is deferred; Z (me) returns Real ---Purpose : returns the Z coordinate of . is deferred; Distance (me; Other : Point) returns Real; ---Purpose : Computes the distance between and . SquareDistance (me; Other : Point) returns Real; ---Purpose : Computes the square distance between and . end;