Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

HxCorbaPolyline2d.idl

Go to the documentation of this file.
00001 
00002 /*
00003  *  Copyright (c) 2000, University of Amsterdam, The Netherlands.
00004  *  All rights reserved.
00005  *
00006  *  Author(s):
00007  *  Marc Navarro            (mnavarro@wins.uva.nl)
00008  */
00009 
00010 #ifndef HxCorbaPolyline2d_idl
00011 #define HxCorbaPolyline2d_idl
00012 
00013 module HxCorba
00014 {
00015     struct PointR2
00016     {
00017         double x;
00018         double y;
00019     };
00020 
00021     typedef sequence<PointR2> PointR2Seq;
00022     
00023     interface Polyline2dData
00024     {
00025         boolean     getClosed();
00026         long        getNrPoints();
00027         PointR2     getPoint(in long i);
00028         
00029         PointR2Seq  getPoints();
00030     };
00031     
00032    
00033     interface Polyline2d : Polyline2dData
00034     {
00035     };
00036 
00037 
00038     interface PolylineFactory
00039     {
00040         Polyline2d  importPolyline(in Polyline2dData data);
00041         Polyline2d  createPolyline(in PointR2Seq points, in boolean closed);
00042     };
00043 };
00044 
00045 #endif //HxCorbaPolyline2d_idl

Generated on Tue Jan 8 13:55:44 2002 for IDLReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001