#include <path_component.h>
Public Member Functions | |
| LinearPathComponent () | |
| LinearPathComponent (Point ap1, Point ap2) | |
| Point | Solve (Scalar time) const |
| std::vector< Point > | CreatePolyline () const |
| std::vector< Point > | Extrema () const |
| bool | operator== (const LinearPathComponent &other) const |
| std::optional< Vector2 > | GetStartDirection () const |
| std::optional< Vector2 > | GetEndDirection () const |
Public Attributes | |
| Point | p1 |
| Point | p2 |
Definition at line 27 of file path_component.h.
|
inline |
Definition at line 31 of file path_component.h.
Definition at line 33 of file path_component.h.
| std::vector< Point > impeller::LinearPathComponent::CreatePolyline | ( | ) | const |
| std::vector< Point > impeller::LinearPathComponent::Extrema | ( | ) | const |
| std::optional< Vector2 > impeller::LinearPathComponent::GetEndDirection | ( | ) | const |
Definition at line 77 of file path_component.cc.
Referenced by impeller::PathComponentEndDirectionVisitor::operator()().
| std::optional< Vector2 > impeller::LinearPathComponent::GetStartDirection | ( | ) | const |
Definition at line 70 of file path_component.cc.
Referenced by impeller::PathComponentStartDirectionVisitor::operator()().
|
inline |
Definition at line 55 of file path_component.cc.
References impeller::LinearSolve(), p1, p2, impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
| Point impeller::LinearPathComponent::p1 |
Definition at line 28 of file path_component.h.
Referenced by Extrema(), GetEndDirection(), impeller::Path::GetMinMaxCoveragePoints(), GetStartDirection(), operator==(), Solve(), and impeller::testing::TEST().
| Point impeller::LinearPathComponent::p2 |
Definition at line 29 of file path_component.h.
Referenced by CreatePolyline(), Extrema(), GetEndDirection(), impeller::Path::GetMinMaxCoveragePoints(), GetStartDirection(), operator==(), Solve(), and impeller::testing::TEST().