Home
last modified time | relevance | path

Searched refs:GetCenter (Results 1 – 25 of 1325) sorted by relevance

12345678910>>...53

/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/tools/
H A Dplacement_tool.cpp412 return ( left.second.GetCenter().x < right.second.GetCenter().x ); in AlignCenterX()
423 return aVal.second.GetCenter().x; in AlignCenterX()
429 int difference = targetX - i.second.GetCenter().x; in AlignCenterX()
457 return ( left.second.GetCenter().y < right.second.GetCenter().y ); in AlignCenterY()
468 return aVal.second.GetCenter().y; in AlignCenterY()
474 int difference = targetY - i.second.GetCenter().y; in AlignCenterY()
594 return ( left.second.GetCenter().x < right.second.GetCenter().x ); in doDistributeCentersHorizontally()
613 int difference = targetX - i.second.GetCenter().x; in doDistributeCentersHorizontally()
657 return ( left.second.GetCenter().y < right.second.GetCenter().y ); in DistributeVertically()
721 return ( left.second.GetCenter().y < right.second.GetCenter().y ); in doDistributeCentersVertically()
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Core/Common/test/
H A DitkSymmetricEllipsoidInteriorExteriorSpatialFunctionTest.cxx111 … << "center location = (" << spatialFunc->GetCenter()[0] << ", " << spatialFunc->GetCenter()[0] in itkSymmetricEllipsoidInteriorExteriorSpatialFunctionTest()
112 << ", " << spatialFunc->GetCenter()[2] << ")" << std::endl in itkSymmetricEllipsoidInteriorExteriorSpatialFunctionTest()
121 … << "center location = (" << spatialFunc->GetCenter()[0] << ", " << spatialFunc->GetCenter()[0] in itkSymmetricEllipsoidInteriorExteriorSpatialFunctionTest()
122 << ", " << spatialFunc->GetCenter()[2] << ")" << std::endl in itkSymmetricEllipsoidInteriorExteriorSpatialFunctionTest()
H A DitkEllipsoidInteriorExteriorSpatialFunctionTest.cxx118 … << "center location = (" << spatialFunc->GetCenter()[0] << ", " << spatialFunc->GetCenter()[0] in itkEllipsoidInteriorExteriorSpatialFunctionTest()
119 << ", " << spatialFunc->GetCenter()[2] << ")" << std::endl in itkEllipsoidInteriorExteriorSpatialFunctionTest()
130 … << "center location = (" << spatialFunc->GetCenter()[0] << ", " << spatialFunc->GetCenter()[0] in itkEllipsoidInteriorExteriorSpatialFunctionTest()
131 << ", " << spatialFunc->GetCenter()[2] << ")" << std::endl in itkEllipsoidInteriorExteriorSpatialFunctionTest()
H A DitkFiniteCylinderSpatialFunctionTest.cxx110 … << "center location = (" << spatialFunc->GetCenter()[0] << ", " << spatialFunc->GetCenter()[0] in itkFiniteCylinderSpatialFunctionTest()
111 << ", " << spatialFunc->GetCenter()[2] << ")" << std::endl in itkFiniteCylinderSpatialFunctionTest()
121 … << "center location = (" << spatialFunc->GetCenter()[0] << ", " << spatialFunc->GetCenter()[0] in itkFiniteCylinderSpatialFunctionTest()
122 << ", " << spatialFunc->GetCenter()[2] << ")" << std::endl in itkFiniteCylinderSpatialFunctionTest()
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vgeometry/
H A Dvarc.cpp138 const VPointF center = GetCenter().Rotate(originPoint, degrees); in Rotate()
164 const VPointF center = GetCenter().Flip(axis); in Flip()
190 const VPointF center = GetCenter().Move(length, angle); in Move()
240 QPointF p1 ( GetCenter().x () + d->radius, GetCenter().y () ); in GetP1()
241 QLineF centerP1(static_cast<QPointF>(GetCenter()), p1); in GetP1()
253 QPointF p2 ( GetCenter().x () + d->radius, GetCenter().y () ); in GetP2()
254 QLineF centerP2(static_cast<QPointF>(GetCenter()), p2); in GetP2()
268 return {GetCenter().toQPointF()}; in GetPoints()
310 const QPointF center = static_cast<QPointF>(GetCenter()); in GetPoints()
357 QLineF line(static_cast<QPointF>(GetCenter()), GetP1()); in CutArc()
[all …]
H A Dvellipticalarc.cpp191 const VPointF oldCenter = VAbstractArc::GetCenter(); in Move()
270 VPointF VEllipticalArc::GetCenter() const in GetCenter() function in VEllipticalArc
272 VPointF center = VAbstractArc::GetCenter(); in GetCenter()
286 const QPointF center = VAbstractArc::GetCenter().toQPointF(); in GetPoints()
331 return QLineF(GetCenter().toQPointF(), GetP1()).angle() - GetRotationAngle(); in GetStartAngle()
337 return QLineF(GetCenter().toQPointF(), GetP2()).angle() - GetRotationAngle(); in GetEndAngle()
401 QString name = ELARC_ + QString("%1").arg(this->GetCenter().name()); in CreateName()
450 QLineF radius1(GetCenter().x(), GetCenter().y(), GetCenter().x() + d->radius1, GetCenter().y()); in FindF2()
498 return GetCenter().toQPointF(); in GetP()
510 return GetCenter().toQPointF(); in GetP()
[all …]
/dports/math/vtk6/VTK-6.2.0/Interaction/Widgets/
H A DvtkSphereRepresentation.cxx193 sphere->SetCenter(this->SphereSource->GetCenter()); in GetSphere()
244 double *c = this->SphereSource->GetCenter(); in Scale()
350 double *center = this->SphereSource->GetCenter(); in Translate()
437 this->SphereSource->GetCenter(c); in SetCenter()
445 this->HandleSource->GetCenter(handle); in SetCenter()
467 this->SphereSource->GetCenter(center); in SetRadius()
478 this->HandleSource->GetCenter(h); in SetHandlePosition()
483 this->SphereSource->GetCenter(c); in SetHandlePosition()
503 this->SphereSource->GetCenter(c); in SetHandleDirection()
663 this->SphereSource->GetCenter(c); in BuildRepresentation()
[all …]
H A DvtkSplineRepresentation.cxx282 this->HandleGeometry[handle]->GetCenter(xyz); in GetHandlePosition()
294 return this->HandleGeometry[handle]->GetCenter(); in GetHandlePosition()
344 this->HandleGeometry[i]->GetCenter(ctr); in ProjectPointsToObliquePlane()
361 this->HandleGeometry[i]->GetCenter(ctr); in ProjectPointsToOrthoPlane()
385 this->HandleGeometry[i]->GetCenter(pt); in BuildRepresentation()
474 double* ctr = this->HandleGeometry[i]->GetCenter(); in Translate()
505 ctr = this->HandleGeometry[i]->GetCenter(); in Scale()
534 ctr = this->HandleGeometry[i]->GetCenter(); in Scale()
608 this->HandleGeometry[i]->GetCenter(ctr); in Spin()
761 this->HandleGeometry[0]->GetCenter()); in SizeHandles()
[all …]
/dports/math/vtk9/VTK-9.1.0/Interaction/Widgets/
H A DvtkSphereRepresentation.cxx262 double* c = this->SphereSource->GetCenter(); in Scale()
346 this->SphereSource->GetCenter(c); in WidgetInteraction()
380 double* center = this->SphereSource->GetCenter(); in Translate()
471 this->SphereSource->GetCenter(c); in SetCenter()
479 this->HandleSource->GetCenter(handle); in SetCenter()
504 this->SphereSource->GetCenter(center); in SetRadius()
516 this->HandleSource->GetCenter(h); in SetHandlePosition()
521 this->SphereSource->GetCenter(c); in SetHandlePosition()
547 this->SphereSource->GetCenter(c); in SetHandleDirection()
718 this->SphereSource->GetCenter(c); in BuildRepresentation()
[all …]
/dports/math/vtk8/VTK-8.2.0/Interaction/Widgets/
H A DvtkSphereRepresentation.cxx262 double *c = this->SphereSource->GetCenter(); in Scale()
349 this->SphereSource->GetCenter(c); in WidgetInteraction()
374 double *center = this->SphereSource->GetCenter(); in Translate()
465 this->SphereSource->GetCenter(c); in SetCenter()
473 this->HandleSource->GetCenter(handle); in SetCenter()
499 this->SphereSource->GetCenter(center); in SetRadius()
511 this->HandleSource->GetCenter(h); in SetHandlePosition()
516 this->SphereSource->GetCenter(c); in SetHandlePosition()
543 this->SphereSource->GetCenter(c); in SetHandleDirection()
713 this->SphereSource->GetCenter(c); in BuildRepresentation()
[all …]
H A DvtkCurveRepresentation.cxx220 this->HandleGeometry[handle]->GetCenter(xyz); in GetHandlePosition()
232 return this->HandleGeometry[handle]->GetCenter(); in GetHandlePosition()
282 this->HandleGeometry[i]->GetCenter(ctr); in ProjectPointsToObliquePlane()
299 this->HandleGeometry[i]->GetCenter(ctr); in ProjectPointsToOrthoPlane()
381 double* ctr = this->HandleGeometry[i]->GetCenter(); in Translate()
402 double *prevctr = this->HandleGeometry[0]->GetCenter(); in Scale()
412 ctr = this->HandleGeometry[i]->GetCenter(); in Scale()
441 ctr = this->HandleGeometry[i]->GetCenter(); in Scale()
521 this->HandleGeometry[i]->GetCenter(ctr); in Spin()
594 this->HandleGeometry[0]->GetCenter()); in SizeHandles()
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/libs/kimath/src/geometry/
H A Dshape_arc.cpp234 VECTOR2I center = GetCenter(); in Collide()
263 CIRCLE circ( GetCenter(), GetRadius() ); in IntersectLine()
281 CIRCLE thiscirc( GetCenter(), GetRadius() ); in Intersect()
319 VECTOR2I quad_pt = GetCenter(); in update_bbox()
367 VECTOR2I center = GetCenter(); in Collide()
406 VECTOR2D d( m_start - GetCenter() ); in GetStartAngle()
416 VECTOR2D d( m_end - GetCenter() ); in GetEndAngle()
424 VECTOR2I SHAPE_ARC::GetCenter() const in GetCenter() function in SHAPE_ARC
441 VECTOR2I center = GetCenter(); in GetCentralAngle()
464 VECTOR2I c = GetCenter(); in ConvertToPolyline()
[all …]
H A Dshape_collisions.cpp48 const VECTOR2I delta = aB.GetCenter() - aA.GetCenter(); in Collide()
57 *aLocation = ( aA.GetCenter() + aB.GetCenter() ) / 2; in Collide()
72 const VECTOR2I c = aB.GetCenter(); in Collide()
151 const VECTOR2I c = aA.GetCenter(); in pushoutForce()
182 if( aB.IsClosed() && aB.PointInside( aA.GetCenter() ) ) in Collide()
184 nearest = aA.GetCenter(); in Collide()
247 VECTOR2I np = cs.NearestPoint( aA.GetCenter() ); in Collide()
248 f = ( np - aA.GetCenter() ) + ( np - aA.GetCenter() ).Resize( aA.GetRadius() ); in Collide()
251 cmoved.SetCenter( cmoved.GetCenter() + f ); in Collide()
257 cmoved.SetCenter( cmoved.GetCenter() + f ); in Collide()
[all …]
/dports/math/vtk6/VTK-6.2.0/Wrapping/Tools/
H A Dhints2 vtkAbstractMapper3D GetCenter 307 3
52 vtkDataSet GetCenter 307 3
105 vtkImagePlaneWidget GetCenter 307 3
175 vtkPlaneWidget GetCenter 307 3
197 vtkProp3D GetCenter 307 3
221 vtkSphereRepresentation GetCenter 307 3
222 vtkSphereWidget GetCenter 307 3
253 vtkViewport GetCenter 307 2
262 vtkWarpLens GetCenter 307 2
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/qa/eeschema/
H A Dtest_ee_item.cpp213 schItem->Rotate( m_sheet.GetBodyBoundingBox().GetCenter() ); in BOOST_AUTO_TEST_CASE()
214 schItem->Rotate( m_sheet.GetBodyBoundingBox().GetCenter() ); in BOOST_AUTO_TEST_CASE()
215 schItem->Rotate( m_sheet.GetBodyBoundingBox().GetCenter() ); in BOOST_AUTO_TEST_CASE()
216 schItem->Rotate( m_sheet.GetBodyBoundingBox().GetCenter() ); in BOOST_AUTO_TEST_CASE()
221 libItem->Rotate( m_sheet.GetBodyBoundingBox().GetCenter() ); in BOOST_AUTO_TEST_CASE()
222 libItem->Rotate( m_sheet.GetBodyBoundingBox().GetCenter() ); in BOOST_AUTO_TEST_CASE()
223 libItem->Rotate( m_sheet.GetBodyBoundingBox().GetCenter() ); in BOOST_AUTO_TEST_CASE()
224 libItem->Rotate( m_sheet.GetBodyBoundingBox().GetCenter() ); in BOOST_AUTO_TEST_CASE()
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Core/Transform/include/
H A DitkCenteredRigid2DTransform.hxx111 this->m_Parameters[i + 1] = this->GetCenter()[i]; in GetParameters()
136 const double cx = this->GetCenter()[0]; in ComputeJacobianWithRespectToParameters()
137 const double cy = this->GetCenter()[1]; in ComputeJacobianWithRespectToParameters()
201 inverse->SetCenter( this->GetCenter() ); // inverse have the same center in GetInverse()
226 result->SetCenter( this->GetCenter() ); in CloneTo()
H A DitkCenteredEuler3DTransform.hxx116 this->m_Parameters[3] = this->GetCenter()[0]; in GetParameters()
117 this->m_Parameters[4] = this->GetCenter()[1]; in GetParameters()
118 this->m_Parameters[5] = this->GetCenter()[2]; in GetParameters()
143 const double px = p[0] - this->GetCenter()[0]; in ComputeJacobianWithRespectToParameters()
144 const double py = p[1] - this->GetCenter()[1]; in ComputeJacobianWithRespectToParameters()
145 const double pz = p[2] - this->GetCenter()[2]; in ComputeJacobianWithRespectToParameters()
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/drc/
H A Ddrc_test_provider_hole_to_hole.cpp88 return std::make_shared<SHAPE_CIRCLE>( via->GetCenter(), via->GetDrillValue() / 2 ); in getDrilledHoleShape()
291 if( ( aHole->GetCenter() - otherHole->GetCenter() ).SquaredEuclideanNorm() < epsilon_sq ) in testHoleAgainstHole()
297 reportViolation( drce, (wxPoint) aHole->GetCenter() ); in testHoleAgainstHole()
302 int actual = ( aHole->GetCenter() - otherHole->GetCenter() ).EuclideanNorm(); in testHoleAgainstHole()
322 reportViolation( drce, (wxPoint) aHole->GetCenter() ); in testHoleAgainstHole()
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/
H A Dpcb_shape.cpp64 return wxPoint( GetCenter().x + GetRadius(), GetCenter().y ); in GetFocusPosition()
66 return GetCenter(); in GetFocusPosition()
72 return GetCenter(); in GetFocusPosition()
82 return GetCenter(); in GetFocusPosition()
92 return GetCenter(); in GetFocusPosition()
/dports/math/vtk6/VTK-6.2.0/Rendering/Core/
H A DvtkAbstractMapper3D.h57 double *GetCenter();
58 void GetCenter(double center[3]) in GetCenter() function
60 double *rc = this->GetCenter(); in GetCenter()
/dports/math/vtk9/VTK-9.1.0/Rendering/Core/
H A DvtkAbstractMapper3D.h64 double* GetCenter() VTK_SIZEHINT(3);
65 void GetCenter(double center[3]) in GetCenter() function
67 double* rc = this->GetCenter(); in GetCenter()
/dports/math/vtk8/VTK-8.2.0/Rendering/Core/
H A DvtkAbstractMapper3D.h64 double *GetCenter() VTK_SIZEHINT(3);
65 void GetCenter(double center[3]) in GetCenter() function
67 double *rc = this->GetCenter(); in GetCenter()
/dports/math/vtk8/VTK-8.2.0/Interaction/Style/
H A DvtkInteractorStyleJoystickActor.cxx207 double *obj_center = this->InteractionProp->GetCenter(); in Rotate()
320 double *obj_center = this->InteractionProp->GetCenter(); in Spin()
346 double *center = this->CurrentRenderer->GetCenter(); in Spin()
401 double *obj_center = this->InteractionProp->GetCenter(); in Pan()
458 double *obj_center = this->InteractionProp->GetCenter(); in Dolly()
465 double *center = this->CurrentRenderer->GetCenter(); in Dolly()
512 double *obj_center = this->InteractionProp->GetCenter(); in UniformScale()
519 double *center = this->CurrentRenderer->GetCenter(); in UniformScale()
/dports/math/vtk9/VTK-9.1.0/Interaction/Style/
H A DvtkInteractorStyleJoystickActor.cxx206 double* obj_center = this->InteractionProp->GetCenter(); in Rotate()
308 double* obj_center = this->InteractionProp->GetCenter(); in Spin()
333 double* center = this->CurrentRenderer->GetCenter(); in Spin()
383 double* obj_center = this->InteractionProp->GetCenter(); in Pan()
435 double* obj_center = this->InteractionProp->GetCenter(); in Dolly()
441 double* center = this->CurrentRenderer->GetCenter(); in Dolly()
486 double* obj_center = this->InteractionProp->GetCenter(); in UniformScale()
492 double* center = this->CurrentRenderer->GetCenter(); in UniformScale()
/dports/math/vtk6/VTK-6.2.0/Interaction/Style/
H A DvtkInteractorStyleJoystickActor.cxx207 double *obj_center = this->InteractionProp->GetCenter(); in Rotate()
320 double *obj_center = this->InteractionProp->GetCenter(); in Spin()
346 double *center = this->CurrentRenderer->GetCenter(); in Spin()
401 double *obj_center = this->InteractionProp->GetCenter(); in Pan()
458 double *obj_center = this->InteractionProp->GetCenter(); in Dolly()
465 double *center = this->CurrentRenderer->GetCenter(); in Dolly()
512 double *obj_center = this->InteractionProp->GetCenter(); in UniformScale()
519 double *center = this->CurrentRenderer->GetCenter(); in UniformScale()

12345678910>>...53