Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgPointSetUtil.h File Reference


Detailed Description

Utility functions for SgPointSet.

Definition in file SgPointSetUtil.h.

#include <iosfwd>
#include <string>
#include "SgPointSet.h"

Go to the source code of this file.

Namespaces

namespace  SgPointSetUtil

Classes

class  SgWritePointSet
 Write all points in set. More...
class  SgWritePointSetID
 Write center point and size of set. More...
class  SgReadPointSet
 Read all points in set. More...

Functions

std::ostream & operator<< (std::ostream &out, const SgWritePointSet &write)
std::ostream & operator<< (std::ostream &out, const SgPointSet &set)
std::ostream & operator<< (std::ostream &stream, const SgWritePointSetID &w)
std::istream & operator>> (std::istream &in, const SgReadPointSet &Read)
std::istream & operator>> (std::istream &in, SgPointSet &pointSet)
void SgPointSetUtil::Rotate (int rotation, SgPointSet &pointSet, int boardSize)
 Rotate coordinates - see SgPointUtil::Rotate.


Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const SgWritePointSetID w 
)

Definition at line 67 of file SgPointSetUtil.cpp.

References SgPointSet::Center(), SgPointSet::IsEmpty(), SgWritePointSetID::Points(), and SgPointSet::Size().

std::ostream& operator<< ( std::ostream &  out,
const SgPointSet set 
)

Definition at line 60 of file SgPointSetUtil.cpp.

std::ostream& operator<< ( std::ostream &  out,
const SgWritePointSet write 
)

Definition at line 55 of file SgPointSetUtil.cpp.

References SgWritePointSet::Write().

std::istream& operator>> ( std::istream &  in,
SgPointSet pointSet 
)

Definition at line 114 of file SgPointSetUtil.cpp.

std::istream& operator>> ( std::istream &  in,
const SgReadPointSet Read 
)

Definition at line 109 of file SgPointSetUtil.cpp.

References SgReadPointSet::Read().


17 Jun 2010 Doxygen 1.4.7