comp-library

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub luzhiled1333/comp-library

:heavy_check_mark: src/geometry/Z2/constants/ccw-constants.hpp

Depends on

Required by

Verified with

Code

#include "src/cpp-template/header/int-alias.hpp"

namespace luz::Z2::constants::ccw {

  constexpr i32 COUNTER_CLOCKWISE = +1;
  constexpr i32 CLOCKWISE         = -1;
  constexpr i32 ONLINE_BACK       = +2; // c-a-b
  constexpr i32 ONLINE_FRONT      = -2; // a-b-c
  constexpr i32 ON_SEGMENT        = 0;  // a-c-b

} // namespace luz::Z2::constants::ccw
#line 2 "src/cpp-template/header/int-alias.hpp"

#include <cstdint>

namespace luz {

  using i32  = std::int32_t;
  using i64  = std::int64_t;
  using i128 = __int128_t;

  using u32  = std::uint32_t;
  using u64  = std::uint64_t;
  using u128 = __uint128_t;

} // namespace luz
#line 2 "src/geometry/Z2/constants/ccw-constants.hpp"

namespace luz::Z2::constants::ccw {

  constexpr i32 COUNTER_CLOCKWISE = +1;
  constexpr i32 CLOCKWISE         = -1;
  constexpr i32 ONLINE_BACK       = +2; // c-a-b
  constexpr i32 ONLINE_FRONT      = -2; // a-b-c
  constexpr i32 ON_SEGMENT        = 0;  // a-c-b

} // namespace luz::Z2::constants::ccw
Back to top page