Board 0.9.6
Namespaces | Functions
Point.cpp File Reference

@copyright This source code is part of the Board project, a C++ library whose purpose is to allow simple drawings in EPS, FIG or SVG files. Copyright (C) 2007 Sebastien Fourey https://foureys.users.greyc.fr/ More...

#include <board/Point.h>
#include <iomanip>
#include <limits>
#include <BoardConfig.h>
#include <board/Tools.h>

Namespaces

namespace  LibBoard
 

Functions

Point LibBoard::mix (const Point &a, const Point &b, double t)
 Return an interpolated point between two points at 'time' t.
 
bool LibBoard::orthogonal (const Point &a, const Point &b)
 Check if two vectors are orthogonals.
 
std::ostream & operator<< (std::ostream &out, const LibBoard::Point &p)
 
std::ostream & operator<< (std::ostream &out, const std::vector< LibBoard::Point > &v)
 

Detailed Description

@copyright This source code is part of the Board project, a C++ library whose purpose is to allow simple drawings in EPS, FIG or SVG files. Copyright (C) 2007 Sebastien Fourey https://foureys.users.greyc.fr/

Author
Sebastien Fourey (GREYC)
Date
Dec 2015

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Function Documentation

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream &  out,
const LibBoard::Point p 
)

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream &  out,
const std::vector< LibBoard::Point > &  v 
)