Horus Doc || IDL Reference || C++ Binding   Java Binding || Doxygen's quick Index  

HxCorbaPolyline2d.idl

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

Generated on Mon Jan 27 15:09:39 2003 for IDLReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001