acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
line_type< NUMBER > Class Template Reference

Public Types

using LINE_TYPE = line_type < NUMBER >
using UNIT_TYPE = NUMBER

Public Member Functions

 line_type (const line_type &line)
bool contains (const ::point_type< NUMBER > &point, ::f32 epsilon=0.001f)
line_type & offset (const ::point_type< NUMBER > &point)
void expand_bounding_box (::point_type< UNIT_TYPE > &top_left, ::point_type< UNIT_TYPE > &bottom_right)

Public Attributes

::point_type< UNIT_TYPE > m_p1
::point_type< UNIT_TYPE > m_p2

The documentation for this class was generated from the following files:
  • prototype/geometry2d/_.h
  • prototype/geometry2d/line.h