Thunderbots Project
Loading...
Searching...
No Matches
tbots_geometry.h
1#pragma once
2
3#include "proto/geometry.pb.h"
4#include "software/geom/angle.h"
5#include "software/geom/angular_velocity.h"
6#include "software/geom/circle.h"
7#include "software/geom/point.h"
8#include "software/geom/polygon.h"
9#include "software/geom/segment.h"
10#include "software/geom/stadium.h"
11
19std::unique_ptr<TbotsProto::Point> createPointProto(const Point& point);
20std::unique_ptr<TbotsProto::Angle> createAngleProto(const Angle& angle);
21std::unique_ptr<TbotsProto::AngularVelocity> createAngularVelocityProto(
22 const AngularVelocity& angular_velocity);
23std::unique_ptr<TbotsProto::Vector> createVectorProto(const Vector& vector);
24std::unique_ptr<TbotsProto::Polygon> createPolygonProto(const Polygon& polygon);
25std::unique_ptr<TbotsProto::Circle> createCircleProto(const Circle& polygon);
26std::unique_ptr<TbotsProto::Segment> createSegmentProto(const Segment& segment);
27std::unique_ptr<TbotsProto::Stadium> createStadiumProto(const Stadium& stadium);
28
36Point createPoint(const TbotsProto::Point& point);
37Angle createAngle(const TbotsProto::Angle& angle);
38AngularVelocity createAngularVelocity(
39 const TbotsProto::AngularVelocity& angular_velocity);
40Vector createVector(const TbotsProto::Vector& vector);
41Polygon createPolygon(const TbotsProto::Polygon& polygon);
42Circle createCircle(const TbotsProto::Circle& circle);
43Segment createSegment(const TbotsProto::Segment& segment);
44Stadium createStadium(const TbotsProto::Stadium& stadium);
Definition angle.h:15
Definition circle.h:10
Definition point.h:14
Definition polygon.h:12
Definition segment.h:7
Definition stadium.h:12
Definition vector.h:12