Searched refs:rPoint0 (Results 1 – 2 of 2) sorted by relevance
97 bool lcl_clip2d(B2DTuple& rPoint0, B2DTuple& rPoint1, const B2DRectangle& rRectangle) in lcl_clip2d() argument100 B2DTuple aDirection = rPoint1 - rPoint0; in lcl_clip2d()102 if( aDirection.getX()==0 && aDirection.getY()==0 && rRectangle.isInside(rPoint0) ) in lcl_clip2d()115 if( lcl_CLIPt(aDirection.getX(), rRectangle.getMinX() - rPoint0.getX(), fTE, fTL) ) in lcl_clip2d()124 rPoint1.setX( rPoint0.getX() + fTL * aDirection.getX() ); in lcl_clip2d()125 rPoint1.setY( rPoint0.getY() + fTL * aDirection.getY() ); in lcl_clip2d()130 rPoint0.setX( rPoint0.getX() + fTE * aDirection.getX() ); in lcl_clip2d()131 rPoint0.setY( rPoint0.getY() + fTE * aDirection.getY() ); in lcl_clip2d()143 B2DTuple aP0(rPoint0.PositionX,rPoint0.PositionY); in lcl_clip2d_()147 rPoint0.PositionX = aP0.getX(); in lcl_clip2d_()[all …]
2393 const B2DPoint& rPoint0( rPoly.getB2DPoint(i % nCount) ); in isRectangle() local2398 int nCurrVerticalEdgeType( lcl_sgn( rPoint1.getY() - rPoint0.getY() ) ); in isRectangle()2402 int nCurrHorizontalEdgeType( lcl_sgn(rPoint1.getX() - rPoint0.getX()) ); in isRectangle()
Completed in 27 milliseconds