MCPcopy Create free account
hub / github.com/cinder/Cinder / include

Method include

src/cinder/Rect.cpp:310–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308
309template<typename T>
310void RectT<T>::include( const Vec2T &point )
311{
312 if( x1 > point.x ) x1 = point.x;
313 if( x2 < point.x ) x2 = point.x;
314 if( y1 > point.y ) y1 = point.y;
315 if( y2 < point.y ) y2 = point.y;
316}
317
318template<typename T>
319void RectT<T>::include( const std::vector<Vec2T> &points )

Callers 12

setupMethod · 0.45
populateMonitorsMethod · 0.45
getSpanningAreaMethod · 0.45
calcBoundingBoxMethod · 0.45
calcBoundingBoxMethod · 0.45
updatePathSubdivisionMethod · 0.45
calcBoundingBoxMethod · 0.45
rFunction · 0.45
rFunction · 0.45
rFunction · 0.45

Calls 2

includeFunction · 0.85
sizeMethod · 0.45

Tested by 2

setupMethod · 0.36
populateMonitorsMethod · 0.36