Home
last modified time | relevance | path

Searched refs:angleVector (Results 1 – 25 of 57) sorted by relevance

123

/dports/cad/librecad/LibreCAD-2.2.0-rc2/librecad/src/lib/engine/
H A Drs_vector.cpp239 RS_Vector RS_Vector::rotate(const RS_Vector& angleVector) { in rotate() argument
240 double x0 = x * angleVector.x - y * angleVector.y; in rotate()
241 y = x * angleVector.y + y * angleVector.x; in rotate()
255 *this = center + (*this-center).rotate(angleVector); in rotate()
711 RS_Vector angleVector(ang); in rotate() local
714 vp.rotate(angleVector); in rotate()
722 void RS_VectorSolutions::rotate(const RS_Vector& angleVector) { in rotate() argument
725 vp.rotate(angleVector); in rotate()
734 const RS_Vector angleVector(ang); in rotate() local
737 vp.rotate(center,angleVector); in rotate()
[all …]
H A Drs_dimlinear.cpp264 RS_Vector angleVector(angle); in rotate() local
265 RS_Dimension::rotate(center, angleVector); in rotate()
267 edata.extensionPoint1.rotate(center, angleVector); in rotate()
268 edata.extensionPoint2.rotate(center, angleVector); in rotate()
274 void RS_DimLinear::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
275 RS_Dimension::rotate(center, angleVector); in rotate()
277 edata.extensionPoint1.rotate(center, angleVector); in rotate()
278 edata.extensionPoint2.rotate(center, angleVector); in rotate()
279 edata.angle = RS_Math::correctAngle(edata.angle+angleVector.angle()); in rotate()
H A Drs_constructionline.cpp251 RS_Vector angleVector(angle); in rotate() local
252 data.point1.rotate(center, angleVector); in rotate()
253 data.point2.rotate(center, angleVector); in rotate()
257 void RS_ConstructionLine::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
258 data.point1.rotate(center, angleVector); in rotate()
259 data.point2.rotate(center, angleVector); in rotate()
H A Drs_image.cpp347 RS_Vector angleVector(angle); in rotate() local
348 data.insertionPoint.rotate(center, angleVector); in rotate()
349 data.uVector.rotate(angleVector); in rotate()
350 data.vVector.rotate(angleVector); in rotate()
354 void RS_Image::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
355 data.insertionPoint.rotate(center, angleVector); in rotate()
356 data.uVector.rotate(angleVector); in rotate()
357 data.vVector.rotate(angleVector); in rotate()
H A Drs_text.cpp447 RS_Vector angleVector(angle); in rotate() local
448 RS_EntityContainer::rotate(center, angleVector); in rotate()
449 data.insertionPoint.rotate(center, angleVector); in rotate()
450 data.secondPoint.rotate(center, angleVector); in rotate()
454 void RS_Text::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
455 RS_EntityContainer::rotate(center, angleVector); in rotate()
456 data.insertionPoint.rotate(center, angleVector); in rotate()
457 data.secondPoint.rotate(center, angleVector); in rotate()
458 data.angle = RS_Math::correctAngle(data.angle+angleVector.angle()); in rotate()
H A Drs_vector.h78 RS_Vector rotate(const RS_Vector& angleVector);
80 RS_Vector rotate(const RS_Vector& center, const RS_Vector& angleVector);
189 void rotate(const RS_Vector& angleVector);
191 void rotate(const RS_Vector& center, const RS_Vector& angleVector);
H A Drs_mtext.cpp587 RS_Vector angleVector(angle); in rotate() local
588 RS_EntityContainer::rotate(center, angleVector); in rotate()
589 data.insertionPoint.rotate(center, angleVector); in rotate()
593 void RS_MText::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
594 RS_EntityContainer::rotate(center, angleVector); in rotate()
595 data.insertionPoint.rotate(center, angleVector); in rotate()
596 data.angle = RS_Math::correctAngle(data.angle+angleVector.angle()); in rotate()
H A Drs_dimdiametric.cpp162 void RS_DimDiametric::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
163 RS_Dimension::rotate(center, angleVector); in rotate()
165 edata.definitionPoint.rotate(center, angleVector); in rotate()
H A Drs_dimension.cpp867 RS_Vector angleVector(angle); in rotate() local
868 data.definitionPoint.rotate(center, angleVector); in rotate()
869 data.middleOfText.rotate(center, angleVector); in rotate()
873 void RS_Dimension::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
874 data.definitionPoint.rotate(center, angleVector); in rotate()
875 data.middleOfText.rotate(center, angleVector); in rotate()
876 data.angle = RS_Math::correctAngle(data.angle+angleVector.angle()); in rotate()
H A Drs_dimangular.cpp400 void RS_DimAngular::rotate(const RS_Vector& center, const RS_Vector& angleVector) in rotate() argument
402 RS_Dimension::rotate( center, angleVector); in rotate()
404 edata.definitionPoint1.rotate( center, angleVector); in rotate()
405 edata.definitionPoint2.rotate( center, angleVector); in rotate()
406 edata.definitionPoint3.rotate( center, angleVector); in rotate()
407 edata.definitionPoint4.rotate( center, angleVector); in rotate()
H A Drs_dimaligned.cpp255 void RS_DimAligned::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
256 RS_Dimension::rotate(center, angleVector); in rotate()
257 edata.extensionPoint1.rotate(center, angleVector); in rotate()
258 edata.extensionPoint2.rotate(center, angleVector); in rotate()
H A Drs_dimradial.cpp269 void RS_DimRadial::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
270 RS_Dimension::rotate(center, angleVector); in rotate()
272 edata.definitionPoint.rotate(center, angleVector); in rotate()
H A Drs_leader.cpp169 void RS_Leader::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
170 RS_EntityContainer::rotate(center, angleVector); in rotate()
H A Drs_ellipse.cpp926 RS_Vector angleVector(false); in createInscribeQuadrilateral() local
968 angleVector.set(majorP.x/dx,-majorP.y/dx); in createInscribeQuadrilateral()
1004 angleVector.y *= -1.; in createInscribeQuadrilateral()
1005 rotate(ellipseCenter,angleVector); in createInscribeQuadrilateral()
1149 RS_Vector angleVector(angle); in rotate() local
1150 data.center.rotate(center, angleVector); in rotate()
1151 data.majorP.rotate(angleVector); in rotate()
1156 data.center.rotate(center, angleVector); in rotate()
1157 data.majorP.rotate(angleVector); in rotate()
1169 data.center.rotate(angleVector); in rotate()
[all …]
H A Drs_point.cpp177 void RS_Point::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
178 data.pos.rotate(center, angleVector); in rotate()
H A Drs_solid.cpp407 RS_Vector angleVector(angle); in rotate() local
410 data.corner[i].rotate( center, angleVector); in rotate()
416 void RS_Solid::rotate(const RS_Vector& center, const RS_Vector& angleVector) in rotate() argument
420 data.corner[i].rotate( center, angleVector); in rotate()
H A Drs_insert.cpp353 void RS_Insert::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
358 data.insertionPoint.rotate(center, angleVector); in rotate()
359 data.angle = RS_Math::correctAngle(data.angle+angleVector.angle()); in rotate()
H A Drs_polyline.cpp665 void RS_Polyline::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
666 RS_EntityContainer::rotate(center, angleVector); in rotate()
667 data.startpoint.rotate(center, angleVector); in rotate()
668 data.endpoint.rotate(center, angleVector); in rotate()
H A Drs_spline.cpp320 void RS_Spline::rotate(const RS_Vector& center, const RS_Vector& angleVector) { in rotate() argument
321 RS_EntityContainer::rotate(center, angleVector); in rotate()
323 vp.rotate(center, angleVector); in rotate()
H A Drs_dimradial.h101 void rotate(const RS_Vector& center, const RS_Vector& angleVector) override;
H A Drs_dimdiametric.h100 void rotate(const RS_Vector& center, const RS_Vector& angleVector) override;
H A Drs_leader.h95 void rotate(const RS_Vector& center, const RS_Vector& angleVector) override;
H A Drs_dimaligned.h102 void rotate(const RS_Vector& center, const RS_Vector& angleVector) override;
/dports/cad/librecad/LibreCAD-2.2.0-rc2/librecad/src/lib/gui/
H A Drs_painter.cpp97 const RS_Vector angleVector(-angle); in createEllipse() local
104 vp.rotate(angleVector); in createEllipse()
127 vp.rotate(angleVector); in createEllipse()
135 vp.rotate(angleVector); in createEllipse()
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/share/extensions/
H A Dhpgl_encoder.py325 angleVector = DirectedLineSegment(self.vData[2][1], pointFour).angle\
328 if angleVector > math.pi:
329 angleVector -= math.pi * 2
330 elif angleVector < - math.pi:
331 angleVector += math.pi * 2
333 if angleVector >= 0:
335 while angle < angleStart + angleVector:
341 while angle > angleStart + angleVector:

123