Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Aug 12, 2024
1 parent 8eaa2c2 commit 00fc2b9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Core/include/Acts/Surfaces/SurfaceConcept.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,19 @@ concept SurfaceConcept = requires(S s, const S cs, S s2, const S cs2,
};

template <typename S>
concept RegularSurfaceConcept = SurfaceConcept<S> &&
requires(S s, const S cs, GeometryContext gctx,
BoundaryTolerance tolerance) {
{ cs.normal(gctx, Vector2{}) } -> std::same_as<Vector3>;
concept RegularSurfaceConcept =
SurfaceConcept<S> && requires(S s, const S cs, GeometryContext gctx,
BoundaryTolerance tolerance) {
{ cs.normal(gctx, Vector2{}) } -> std::same_as<Vector3>;

{ cs.normal(gctx, Vector3{}) } -> std::same_as<Vector3>;

{
cs.globalToLocal(gctx, Vector3{}, Vector3{}, std::declval<double>())
} -> std::same_as<Result<Vector2>>;

{ cs.localToGlobal(gctx, Vector2{}) } -> std::same_as<Vector3>;
{ cs.localToGlobal(gctx, Vector2{}) } -> std::same_as<Vector3>;

{ cs.isOnSurface(gctx, Vector3{}, tolerance) } -> std::same_as<bool>;
};
{ cs.isOnSurface(gctx, Vector3{}, tolerance) } -> std::same_as<bool>;
};
} // namespace Acts

0 comments on commit 00fc2b9

Please sign in to comment.