2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
keep_out.h File Reference
#include <units/length.h>
#include <optional>
#include <vector>
#include "types.h"

Go to the source code of this file.

Namespaces

namespace  path_planning
 

Enumerations

enum class  path_planning::Orientation { path_planning::Colinear , path_planning::Clockwise , path_planning::Counterclockwise }
 

Functions

Orientation path_planning::GetOrientation (const ArmPathPoint &point1, const ArmPathPoint &point2, const ArmPathPoint &point3)
 
bool path_planning::OnSegment (const ArmPathPoint &p, const ArmPathPoint &q, const ArmPathPoint &r)
 
bool path_planning::SegmentsIntersect (const LineSegment &segment1, const LineSegment &segment2)
 
std::optional< ArmPathPointpath_planning::Intersection (const LineSegment &segment1, const LineSegment &segment2)
 
std::vector< LineSegmentpath_planning::PolygonSegments (const Polygon &polygon)
 
units::inch_t path_planning::SegmentLength (const LineSegment &segment)
 
ArmPath path_planning::KeepOut (const ArmPath &initialPath, const Polygon &avoidancePolygon)