Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
bentleyottmann::SweepLineTestingPeer Struct Reference

Public Member Functions

 SweepLineTestingPeer (SweepLine *sl)
 
void verifySweepLine (int32_t y) const
 
void insertSegment (int i, const Segment &s)
 
size_t size () const
 
const std::vector< Segment > & sweepLine () const
 

Public Attributes

SweepLine *const fSL
 

Detailed Description

Definition at line 15 of file SweepLineTest.cpp.

Constructor & Destructor Documentation

◆ SweepLineTestingPeer()

bentleyottmann::SweepLineTestingPeer::SweepLineTestingPeer ( SweepLine sl)
inline

Definition at line 16 of file SweepLineTest.cpp.

16: fSL{sl} {}

Member Function Documentation

◆ insertSegment()

void bentleyottmann::SweepLineTestingPeer::insertSegment ( int  i,
const Segment s 
)
inline

Definition at line 20 of file SweepLineTest.cpp.

20 {
21 auto& v = fSL->fSweepLine;
22 v.insert(v.begin() + i, s);
23 }
struct MyStruct s

◆ size()

size_t bentleyottmann::SweepLineTestingPeer::size ( ) const
inline

Definition at line 24 of file SweepLineTest.cpp.

24 {
25 return fSL->fSweepLine.size();
26 }

◆ sweepLine()

const std::vector< Segment > & bentleyottmann::SweepLineTestingPeer::sweepLine ( ) const
inline

Definition at line 28 of file SweepLineTest.cpp.

28 {
29 return fSL->fSweepLine;
30 }

◆ verifySweepLine()

void bentleyottmann::SweepLineTestingPeer::verifySweepLine ( int32_t  y) const
inline

Definition at line 17 of file SweepLineTest.cpp.

17 {
18 fSL->verify(y);
19 }
double y

Member Data Documentation

◆ fSL

SweepLine* const bentleyottmann::SweepLineTestingPeer::fSL

Definition at line 32 of file SweepLineTest.cpp.


The documentation for this struct was generated from the following file: