Roomba Controller Dashboard 1
A GUI and TCP client application that is used to control a Roomba for Computer Engineering 2880 @ Iowa State
Loading...
Searching...
No Matches
Pose2D.cpp File Reference
#include "Pose2D.hpp"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const Pose2D &d)
 
Rectangle makeRectangleFromLine (const Pose2D &L1, const Pose2D &L2, double width)
 

Function Documentation

◆ makeRectangleFromLine()

Rectangle makeRectangleFromLine ( const Pose2D & L1,
const Pose2D & L2,
double width )

Makes a rectangle from a line

Parameters
L1One bound of the line
L2Another bound of the line
widththe width of the rectangle
Returns
a rectangle with the the line in the middle and a width of the width passed in

Definition at line 248 of file Pose2D.cpp.

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const Pose2D & d )

To string for a pose2D

Parameters
osoutput stream
dthe pose2D to reference
Returns

Definition at line 230 of file Pose2D.cpp.