#include <CGAL/SimpleCartesian/VectorS2.h>
Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const DirectionS2< FT > & |
d |
|
) |
| |
Definition at line 230 of file DirectionS2.h.
References IO::ASCII, IO::BINARY, d, IO::mode, v, write(), VectorS2< FT >::x(), and VectorS2< FT >::y().
235 return os << v.
x() <<
' ' << v.
y();
241 return os <<
"DirectionS2(" << v.
x() <<
", " << v.
y() <<
')';
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
void write(std::ostream &os, const T &t, const io_Read_write &)
VectorS2< FT > vector() const
std::istream& operator>> |
( |
std::istream & |
is, |
|
|
DirectionS2< FT > & |
p |
|
) |
| |
Definition at line 250 of file DirectionS2.h.
References IO::ASCII, IO::BINARY, IO::mode, read(), x, and y.
262 std::cerr << std::endl <<
"Stream must be in ascii or binary mode" << std::endl;
void int int REAL REAL * y
void read(std::istream &is, T &t, const io_Read_write &)