Drake
drake::maliput::multilane::test Namespace Reference

Classes

class  ArcOffsetMatcher
 Wraps an ArcOffset comparison into a MatcherInterface. More...
 
class  EndLaneSpecMatcher
 Wraps a EndLane::Spec comparison into a MatcherInterface. More...
 
class  EndReferenceSpecMatcher
 Wraps a EndReference::Spec comparison into a MatcherInterface. More...
 
class  HBoundsMatcher
 Wraps api::HBounds comparison into a MatcherInterface. More...
 
class  LaneLayoutMatcher
 Wraps a LineOffset comparison into a MatcherInterface. More...
 
class  LineOffsetMatcher
 Wraps a LineOffset comparison into a MatcherInterface. More...
 
class  StartLaneSpecMatcher
 Wraps a StartLane::Spec comparison into a MatcherInterface. More...
 
class  StartReferenceSpecMatcher
 Wraps a StartReference::Spec comparison into a MatcherInterface. More...
 

Functions

double BruteForcePathLengthIntegral (const RoadCurve &rc, double p_0, double p_1, double r, double h, int k_order, double *maximum_step)
 
double AdaptiveBruteForcePathLengthIntegral (const RoadCurve &rc, double p_0, double p_1, double r, double h, double tolerance, int *k_order_hint)
 
::testing::AssertionResult IsEndpointXyClose (const EndpointXy &xy1, const EndpointXy &xy2, double linear_tolerance, double angular_tolerance)
 
::testing::AssertionResult IsEndpointZClose (const EndpointZ &z1, const EndpointZ &z2, double linear_tolerance, double angular_tolerance)
 
::testing::AssertionResult IsEndpointClose (const Endpoint &p1, const Endpoint &p2, double linear_tolerance, double angular_tolerance)
 
::testing::AssertionResult IsArcOffsetClose (const ArcOffset &arc_offset1, const ArcOffset &arc_offset2, double linear_tolerance, double angular_tolerance)
 
::testing::AssertionResult IsCubicPolynomialClose (const CubicPolynomial &cubic1, const CubicPolynomial &cubic2, double tolerance)
 
Matcher< const api::HBounds & > Matches (const api::HBounds &elevation_bounds, double tolerance)
 
Matcher< const ArcOffset & > Matches (const ArcOffset &arc_offset, double linear_tolerance, double angular_tolerance)
 
Matcher< const LineOffset & > Matches (const LineOffset &line_offset, double tolerance)
 
Matcher< const LaneLayout & > Matches (const LaneLayout &lane_layout, double tolerance)
 
Matcher< const StartReference::Spec & > Matches (const StartReference::Spec &start_reference, double linear_tolerance, double angular_tolerance)
 
Matcher< const StartLane::Spec & > Matches (const StartLane::Spec &start_lane, double linear_tolerance, double angular_tolerance)
 
Matcher< const EndReference::Spec & > Matches (const EndReference::Spec &end_reference, double linear_tolerance, double angular_tolerance)
 
Matcher< const EndLane::Spec & > Matches (const EndLane::Spec &end_lane, double linear_tolerance, double angular_tolerance)
 

Function Documentation

◆ AdaptiveBruteForcePathLengthIntegral()

double AdaptiveBruteForcePathLengthIntegral ( const RoadCurve rc,
double  p_0,
double  p_1,
double  r,
double  h,
double  tolerance,
int k_order_hint 
)

◆ BruteForcePathLengthIntegral()

double BruteForcePathLengthIntegral ( const RoadCurve rc,
double  p_0,
double  p_1,
double  r,
double  h,
int  k_order,
double maximum_step 
)

◆ IsArcOffsetClose()

testing::AssertionResult IsArcOffsetClose ( const ArcOffset arc_offset1,
const ArcOffset arc_offset2,
double  linear_tolerance,
double  angular_tolerance 
)

◆ IsCubicPolynomialClose()

testing::AssertionResult IsCubicPolynomialClose ( const CubicPolynomial cubic1,
const CubicPolynomial cubic2,
double  tolerance 
)

◆ IsEndpointClose()

testing::AssertionResult IsEndpointClose ( const Endpoint p1,
const Endpoint p2,
double  linear_tolerance,
double  angular_tolerance 
)

◆ IsEndpointXyClose()

testing::AssertionResult IsEndpointXyClose ( const EndpointXy xy1,
const EndpointXy xy2,
double  linear_tolerance,
double  angular_tolerance 
)

◆ IsEndpointZClose()

testing::AssertionResult IsEndpointZClose ( const EndpointZ z1,
const EndpointZ z2,
double  linear_tolerance,
double  angular_tolerance 
)

◆ Matches() [1/8]

Matcher< const api::HBounds & > Matches ( const api::HBounds elevation_bounds,
double  tolerance 
)
Returns
A Matcher<const api::HBounds&> of type HBoundsMatcher.

◆ Matches() [2/8]

Matcher< const ArcOffset & > Matches ( const ArcOffset arc_offset,
double  linear_tolerance,
double  angular_tolerance 
)
Returns
A Matcher<const ArcOffset&> of type ArcOffsetMatcher.

◆ Matches() [3/8]

Matcher< const LineOffset & > Matches ( const LineOffset line_offset,
double  tolerance 
)
Returns
A Matcher<const LineOffset&> of type LineOffsetMatcher.

◆ Matches() [4/8]

Matcher< const LaneLayout & > Matches ( const LaneLayout lane_layout,
double  tolerance 
)
Returns
A Matcher<const LaneLayout&> of type LaneLayoutMatcher.

◆ Matches() [5/8]

Matcher< const StartReference::Spec & > Matches ( const StartReference::Spec start_reference,
double  linear_tolerance,
double  angular_tolerance 
)
Returns
A Matcher<const StartReference::Spec&> of type StartReferenceSpecMatcher.

◆ Matches() [6/8]

Matcher< const StartLane::Spec & > Matches ( const StartLane::Spec start_reference,
double  linear_tolerance,
double  angular_tolerance 
)
Returns
A Matcher<const StartLane::Spec&> of type StartLaneSpecMatcher.

◆ Matches() [7/8]

Matcher< const EndReference::Spec & > Matches ( const EndReference::Spec end_reference,
double  linear_tolerance,
double  angular_tolerance 
)
Returns
A Matcher<const EndReference::Spec&> of type EndReferenceSpecMatcher.

◆ Matches() [8/8]

Matcher< const EndLane::Spec & > Matches ( const EndLane::Spec end_lane,
double  linear_tolerance,
double  angular_tolerance 
)
Returns
A Matcher<const EndLane::Spec&> of type EndLaneSpecMatcher.