Home
last modified time | relevance | path

Searched refs:rVec (Results 1 – 25 of 33) sorted by relevance

12

/trunk/main/tools/inc/tools/
H A Dvector2d.hxx43 inline Vector2D( const Vector2D& rVec ) : mfX( rVec.mfX ), mfY( rVec.mfY ) {} in Vector2D() argument
57 …inline void Min(const Vector2D& rVec) { if(rVec.mfX < mfX) mfX = rVec.mfX; if(rVec.mfY < mfY) mfY … in Min() argument
58 …inline void Max(const Vector2D& rVec) { if(rVec.mfX > mfX) mfX = rVec.mfX; if(rVec.mfY > mfY) mfY … in Max() argument
68 …inline Vector2D& operator+=( const Vector2D& rVec ) { mfX += rVec.mfX, mfY += rVec.mfY; return *th… in operator +=() argument
69 …inline Vector2D& operator-=( const Vector2D& rVec ) { mfX -= rVec.mfX, mfY -= rVec.mfY; return *th… in operator -=() argument
74 inline double Scalar( const Vector2D& rVec ) const { return( mfX * rVec.mfX + mfY * rVec.mfY ); } in Scalar()
76 …inline Vector2D& operator/=( const Vector2D& rVec ) { mfX /= rVec.mfX, mfY /= rVec.mfY; return *th… in operator /=() argument
77 …inline Vector2D& operator*=( const Vector2D& rVec ) { mfX *= rVec.mfX, mfY *= rVec.mfY; return *th… in operator *=() argument
86 …inline sal_Bool operator==( const Vector2D& rVec ) const { return( mfX == rVec.mfX && mfY == rVe… in operator ==()
89 …inline Vector2D& operator=( const Vector2D& rVec ) { mfX = rVec.mfX, mfY = rVec.mfY; return *this;… in operator =() argument
[all …]
H A Db3dtrans.hxx210 const basegfx::B3DPoint WorldToEyeCoor(const basegfx::B3DPoint& rVec);
211 const basegfx::B3DPoint EyeToWorldCoor(const basegfx::B3DPoint& rVec);
212 const basegfx::B3DPoint EyeToViewCoor(const basegfx::B3DPoint& rVec);
213 const basegfx::B3DPoint ViewToEyeCoor(const basegfx::B3DPoint& rVec);
214 const basegfx::B3DPoint WorldToViewCoor(const basegfx::B3DPoint& rVec);
215 const basegfx::B3DPoint ViewToWorldCoor(const basegfx::B3DPoint& rVec);
216 const basegfx::B3DPoint DeviceToViewCoor(const basegfx::B3DPoint& rVec);
222 const basegfx::B3DPoint ObjectToEyeCoor(const basegfx::B3DPoint& rVec);
223 const basegfx::B3DPoint EyeToObjectCoor(const basegfx::B3DPoint& rVec);
224 const basegfx::B3DPoint DeviceToEyeCoor(const basegfx::B3DPoint& rVec);
[all …]
/trunk/main/tools/source/generic/
H A Db3dtrans.cxx656 basegfx::B3DPoint aVec(rVec); in WorldToEyeCoor()
663 basegfx::B3DPoint aVec(rVec); in EyeToWorldCoor()
670 basegfx::B3DPoint aVec(rVec); in EyeToViewCoor()
679 basegfx::B3DPoint aVec(rVec); in ViewToEyeCoor()
688 basegfx::B3DPoint aVec(rVec); in WorldToViewCoor()
695 basegfx::B3DPoint aVec(rVec); in ViewToWorldCoor()
702 basegfx::B3DPoint aVec(rVec); in DeviceToViewCoor()
710 basegfx::B3DPoint aVec(rVec); in ViewToDeviceCoor()
718 basegfx::B3DPoint aVec(rVec); in ObjectToWorldCoor()
725 basegfx::B3DPoint aVec(rVec); in WorldToObjectCoor()
[all …]
/trunk/main/basegfx/source/vector/
H A Db2dvector.cxx60 B2DVector& B2DVector::operator=( const B2DTuple& rVec ) in operator =() argument
62 mfX = rVec.getX(); in operator =()
63 mfY = rVec.getY(); in operator =()
84 return((mfX * rVec.mfX) + (mfY * rVec.mfY)); in scalar()
87 double B2DVector::cross( const B2DVector& rVec ) const in cross()
89 return(mfX * rVec.getY() - mfY * rVec.getX()); in cross()
92 double B2DVector::angle( const B2DVector& rVec ) const in angle()
94 return atan2(mfX * rVec.getY() - mfY * rVec.getX(), in angle()
95 mfX * rVec.getX() + mfY * rVec.getY()); in angle()
178 B2DVector aPerpendicular(rVec); in getNormalizedPerpendicular()
[all …]
H A Db2ivector.cxx32 B2IVector& B2IVector::operator=( const ::basegfx::B2ITuple& rVec ) in operator =() argument
34 mnX = rVec.getX(); in operator =()
35 mnY = rVec.getY(); in operator =()
45 double B2IVector::scalar( const B2IVector& rVec ) const in scalar()
47 return((mnX * rVec.mnX) + (mnY * rVec.mnY)); in scalar()
50 double B2IVector::cross( const B2IVector& rVec ) const in cross()
52 return(mnX * rVec.getY() - mnY * rVec.getX()); in cross()
55 double B2IVector::angle( const B2IVector& rVec ) const in angle()
57 return atan2(double( mnX * rVec.getY() - mnY * rVec.getX()), in angle()
58 double( mnX * rVec.getX() + mnY * rVec.getY())); in angle()
[all …]
H A Db3ivector.cxx40 B3IVector operator*( const B3DHomMatrix& rMat, const B3IVector& rVec ) in operator *() argument
42 B3IVector aRes( rVec ); in operator *()
/trunk/main/basegfx/inc/basegfx/point/
H A Db3dhompoint.hxx123 B3DHomPoint(const B3DPoint& rVec) in B3DHomPoint() argument
124 : maTuple(rVec), in B3DHomPoint()
135 : maTuple(rVec.maTuple.getX(), rVec.maTuple.getY(), rVec.maTuple.getZ()), in B3DHomPoint()
136 mfW(rVec.mfW) in B3DHomPoint()
324 fabs(rVec.getX()), in absolute()
325 fabs(rVec.getY()), in absolute()
326 fabs(rVec.getZ())); in absolute()
384 B3DHomPoint aNew(rVec); in operator *()
391 B3DHomPoint aNew(rVec); in operator *()
398 B3DHomPoint aNew(rVec); in operator /()
[all …]
H A Db2dhompoint.hxx119 B2DHomPoint(const B2DPoint& rVec) in B2DHomPoint() argument
120 : maTuple(rVec), in B2DHomPoint()
130 B2DHomPoint(const B2DHomPoint& rVec) in B2DHomPoint() argument
131 : maTuple(rVec.maTuple.getX(), rVec.maTuple.getY()), in B2DHomPoint()
132 mfW(rVec.mfW) in B2DHomPoint()
291 fabs(rVec.getX()), in absolute()
292 fabs(rVec.getY())); in absolute()
347 B2DHomPoint aNew(rVec); in operator *()
354 B2DHomPoint aNew(rVec); in operator *()
367 B2DHomPoint aNew(rVec); in operator /()
[all …]
H A Db3dpoint.hxx77 B3DPoint(const B3DPoint& rVec) in B3DPoint() argument
78 : B3DTuple(rVec) in B3DPoint()
114 B3DPoint& operator=( const ::basegfx::B3DTuple& rVec ) in operator =() argument
116 mfX = rVec.getX(); in operator =()
117 mfY = rVec.getY(); in operator =()
118 mfZ = rVec.getZ(); in operator =()
H A Db3ipoint.hxx77 B3IPoint(const B3IPoint& rVec) in B3IPoint() argument
78 : B3ITuple(rVec) in B3IPoint()
114 B3IPoint& operator=( const ::basegfx::B3ITuple& rVec ) in operator =() argument
116 mnX = rVec.getX(); in operator =()
117 mnY = rVec.getY(); in operator =()
118 mnZ = rVec.getZ(); in operator =()
/trunk/main/svx/source/engine3d/
H A Dsvx3ditems.cxx229 Svx3DLightDirection1Item::Svx3DLightDirection1Item(const basegfx::B3DVector& rVec) in Svx3DLightDirection1Item() argument
230 : SvxB3DVectorItem(SDRATTR_3DSCENE_LIGHTDIRECTION_1, rVec) in Svx3DLightDirection1Item()
233 Svx3DLightDirection2Item::Svx3DLightDirection2Item(const basegfx::B3DVector& rVec) in Svx3DLightDirection2Item() argument
234 : SvxB3DVectorItem(SDRATTR_3DSCENE_LIGHTDIRECTION_2, rVec) in Svx3DLightDirection2Item()
237 Svx3DLightDirection3Item::Svx3DLightDirection3Item(const basegfx::B3DVector& rVec) in Svx3DLightDirection3Item() argument
238 : SvxB3DVectorItem(SDRATTR_3DSCENE_LIGHTDIRECTION_3, rVec) in Svx3DLightDirection3Item()
242 : SvxB3DVectorItem(SDRATTR_3DSCENE_LIGHTDIRECTION_4, rVec) in Svx3DLightDirection4Item()
246 : SvxB3DVectorItem(SDRATTR_3DSCENE_LIGHTDIRECTION_5, rVec) in Svx3DLightDirection5Item()
250 : SvxB3DVectorItem(SDRATTR_3DSCENE_LIGHTDIRECTION_6, rVec) in Svx3DLightDirection6Item()
254 : SvxB3DVectorItem(SDRATTR_3DSCENE_LIGHTDIRECTION_7, rVec) in Svx3DLightDirection7Item()
[all …]
H A Dviewpt3d2.cxx258 basegfx::B3DPoint Viewport3D::DoProjection(const basegfx::B3DPoint& rVec) const in DoProjection()
260 basegfx::B3DPoint aVec(rVec); in DoProjection()
266 if ( aPRP.getZ() == rVec.getZ() ) in DoProjection()
290 basegfx::B3DPoint Viewport3D::MapToDevice(const basegfx::B3DPoint& rVec) const in MapToDevice()
296 aRetval.setX((double)aDeviceRect.Left() + ((rVec.getX() - aViewWin.X) * fWRatio)); in MapToDevice()
297 aRetval.setY((double)aDeviceRect.Bottom() - ((rVec.getY() - aViewWin.Y) * fHRatio)); in MapToDevice()
298 aRetval.setZ(rVec.getZ()); in MapToDevice()
/trunk/main/basegfx/inc/basegfx/vector/
H A Db3ivector.hxx77 B3IVector(const B3IVector& rVec) in B3IVector() argument
78 : B3ITuple(rVec) in B3IVector()
114 B3IVector& operator=( const ::basegfx::B3ITuple& rVec ) in operator =() argument
116 mnX = rVec.getX(); in operator =()
117 mnY = rVec.getY(); in operator =()
118 mnZ = rVec.getZ(); in operator =()
207 double scalar(const B3IVector& rVec) const in scalar()
209 return ((mnX * rVec.mnX) + (mnY * rVec.mnY) + (mnZ * rVec.mnZ)); in scalar()
233 BASEGFX_DLLPUBLIC B3IVector operator*( const B3DHomMatrix& rMat, const B3IVector& rVec );
H A Db3dvector.hxx79 B3DVector(const B3DVector& rVec) in B3DVector() argument
80 : B3DTuple(rVec) in B3DVector()
116 B3DVector& operator=( const ::basegfx::B3DTuple& rVec ) in operator =() argument
118 mfX = rVec.getX(); in operator =()
119 mfY = rVec.getY(); in operator =()
120 mfZ = rVec.getZ(); in operator =()
255 double scalar(const B3DVector& rVec) const in scalar()
257 return ((mfX * rVec.mfX) + (mfY * rVec.mfY) + (mfZ * rVec.mfZ)); in scalar()
312 BASEGFX_DLLPUBLIC B3DVector operator*( const B3DHomMatrix& rMat, const B3DVector& rVec );
H A Db2dvector.hxx75 B2DVector(const B2DVector& rVec) in B2DVector() argument
76 : B2DTuple(rVec) in B2DVector()
84 B2DVector(const ::basegfx::B2IVector& rVec) in B2DVector() argument
85 : B2DTuple(rVec) in B2DVector()
119 B2DVector& operator=( const ::basegfx::B2DTuple& rVec );
156 double scalar( const B2DVector& rVec ) const;
173 double cross( const B2DVector& rVec ) const;
183 double angle( const B2DVector& rVec ) const;
232 BASEGFX_DLLPUBLIC B2DVector getNormalizedPerpendicular( const B2DVector& rVec );
253 BASEGFX_DLLPUBLIC B2DVector operator*( const B2DHomMatrix& rMat, const B2DVector& rVec );
H A Db2ivector.hxx74 B2IVector(const B2IVector& rVec) in B2IVector() argument
75 : B2ITuple(rVec) in B2IVector()
109 B2IVector& operator=( const ::basegfx::B2ITuple& rVec );
132 double scalar( const B2IVector& rVec ) const;
149 double cross( const B2IVector& rVec ) const;
159 double angle( const B2IVector& rVec ) const;
195 BASEGFX_DLLPUBLIC B2IVector getPerpendicular( const B2IVector& rVec );
216 BASEGFX_DLLPUBLIC B2IVector operator*( const B2DHomMatrix& rMat, const B2IVector& rVec );
/trunk/main/svx/inc/svx/
H A Dsvx3ditems.hxx279 …Svx3DLightDirection1Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.57735026918963, 0.5…
284 Svx3DLightDirection2Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
289 Svx3DLightDirection3Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
294 Svx3DLightDirection4Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
299 Svx3DLightDirection5Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
304 Svx3DLightDirection6Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
309 Svx3DLightDirection7Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
314 Svx3DLightDirection8Item(const basegfx::B3DVector& rVec = basegfx::B3DVector(0.0,0.0,1.0));
H A Dviewpt3d.hxx124 basegfx::B3DPoint DoProjection(const basegfx::B3DPoint& rVec) const;
125 basegfx::B3DPoint MapToDevice(const basegfx::B3DPoint& rVec) const;
/trunk/main/basegfx/inc/basegfx/color/
H A Dbcolor.hxx88 BColor(const BColor& rVec) in BColor() argument
89 : B3DTuple(rVec) in BColor()
135 BColor& operator=( const ::basegfx::B3DTuple& rVec ) in operator =() argument
137 mfX = rVec.getX(); in operator =()
138 mfY = rVec.getY(); in operator =()
139 mfZ = rVec.getZ(); in operator =()
/trunk/main/sal/osl/all/
H A Ddebugbase.cxx91 OStringVec const& rVec = StaticDebugBaseAddressFilter::get(); in osl_detail_ObjectRegistry_storeAddresses() local
92 if (rVec.empty()) in osl_detail_ObjectRegistry_storeAddresses()
95 rtl::OString const& rFirst = rVec[0]; in osl_detail_ObjectRegistry_storeAddresses()
99 OStringVec::const_iterator const iEnd( rVec.end() ); in osl_detail_ObjectRegistry_storeAddresses()
100 return std::find_if( rVec.begin(), iEnd, in osl_detail_ObjectRegistry_storeAddresses()
/trunk/main/sc/source/filter/excel/
H A Dxestring.cxx89 sal_uInt16 lclHashVector( const ::std::vector< Type >& rVec, const ValueHasher& rHasher ) in lclHashVector() argument
91 sal_uInt32 nHash = rVec.size(); in lclHashVector()
93 for( CIT aIt = rVec.begin(), aEnd = rVec.end(); aIt != aEnd; ++aIt ) in lclHashVector()
100 inline sal_uInt16 lclHashVector( const ::std::vector< Type >& rVec ) in lclHashVector() argument
102 return lclHashVector( rVec, XclDirectHasher< Type >() ); in lclHashVector()
/trunk/main/basegfx/source/tools/
H A Dcanvastools.cxx452 geometry::RealSize2D size2DFromB2DSize( const ::basegfx::B2DVector& rVec ) in size2DFromB2DSize() argument
454 return geometry::RealSize2D( rVec.getX(), in size2DFromB2DSize()
455 rVec.getY() ); in size2DFromB2DSize()
548 awt::Size awtSizeFromB2ISize( const ::basegfx::B2IVector& rVec ) in awtSizeFromB2ISize() argument
550 return awt::Size( rVec.getX(), in awtSizeFromB2ISize()
551 rVec.getY() ); in awtSizeFromB2ISize()
/trunk/main/vcl/source/helper/
H A Dcanvastools.cxx498 ::Size sizeFromB2DSize( const ::basegfx::B2DVector& rVec ) in sizeFromB2DSize() argument
500 return ::Size( FRound( rVec.getX() ), in sizeFromB2DSize()
501 FRound( rVec.getY() ) ); in sizeFromB2DSize()
518 Size sizeFromB2ISize( const ::basegfx::B2IVector& rVec ) in sizeFromB2ISize() argument
520 return ::Size( rVec.getX(), in sizeFromB2ISize()
521 rVec.getY() ); in sizeFromB2ISize()
/trunk/main/slideshow/source/engine/
H A Dusereventqueue.cxx187 ImpEventVector& rVec( aIter->second ); in handleAnimationEvent() local
189 bRet = !rVec.empty(); in handleAnimationEvent()
192 std::for_each( rVec.begin(), rVec.end(), in handleAnimationEvent()
196 rVec.clear(); in handleAnimationEvent()
/trunk/main/formula/source/core/api/
H A DFormulaCompiler.cxx131 inline void lclPushOpCodeMapEntry( ::std::vector< sheet::FormulaOpCodeMapEntry >& rVec, const Strin… in lclPushOpCodeMapEntry() argument
136 rVec.push_back( aEntry); in lclPushOpCodeMapEntry()
139 void lclPushOpCodeMapEntries( ::std::vector< sheet::FormulaOpCodeMapEntry >& rVec, const String* pT… in lclPushOpCodeMapEntries() argument
142 lclPushOpCodeMapEntry( rVec, pTable, nOpCode ); in lclPushOpCodeMapEntries()
145 void lclPushOpCodeMapEntries( ::std::vector< sheet::FormulaOpCodeMapEntry >& rVec, const String* pT… in lclPushOpCodeMapEntries() argument
148 lclPushOpCodeMapEntry( rVec, pTable, *pnOpCodes ); in lclPushOpCodeMapEntries()

Completed in 120 milliseconds

12