|
KiCad PCB EDA Suite
|
Tests the dimension-as-constraint-member support (issue #2329, item 6 phase 1): a dimension's feature point can be COINCIDENT with a shape point, so solving (or dragging the shape) pulls the dimension along, while its other, unbound endpoint stays put. More...
#include <qa_utils/wx_utils/unit_test_utils.h>#include <algorithm>#include <vector>#include <board.h>#include <footprint.h>#include <geometry/shape_arc.h>#include <geometry/shape_line_chain.h>#include <i18n_utility.h>#include <pcb_dimension.h>#include <pcb_shape.h>#include <properties/property.h>#include <properties/property_mgr.h>#include <trigo.h>#include <constraints/pcb_constraint.h>#include <constraints/board_constraint_adapter.h>#include <constraints/constraint_builder.h>#include "constraint_test_utils.h"Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (DimensionAnchorsPerFamily) | |
| BOOST_AUTO_TEST_CASE (CoincidentDimensionFollowsDraggedShape) | |
| BOOST_AUTO_TEST_CASE (DeletedShapeErrorsDimensionConstraint) | |
| BOOST_AUTO_TEST_CASE (PickerOffersDimensionAnchor) | |
| BOOST_AUTO_TEST_CASE (ApplyCoincidentDimensionFirstMember) | |
| BOOST_AUTO_TEST_CASE (WholeShapeMoveDragsBoundDimension) | |
| BOOST_AUTO_TEST_CASE (LeaderEndIsNotBindable) | |
| BOOST_AUTO_TEST_CASE (RadialDrivingLengthDrivesCircleRadius) | |
| BOOST_AUTO_TEST_CASE (OrthogonalHorizontalDrivingSetsXAxisOnly) | |
| BOOST_AUTO_TEST_CASE (OrthogonalVerticalDrivingSetsYAxisOnly) | |
| BOOST_AUTO_TEST_CASE (RadialBindingRequiresSameArcCenterAndOutline) | |
| BOOST_AUTO_TEST_CASE (RadialBindingRejectsCrossObjectCenterAndOutline) | |
| BOOST_AUTO_TEST_CASE (DimensionBindsRectCornerToCorner) | |
| BOOST_AUTO_TEST_CASE (DimensionBindsPolygonVertices) | |
| BOOST_AUTO_TEST_CASE (DimensionBindingPrefersSinglePolygonOverSplit) | |
| BOOST_AUTO_TEST_CASE (ArcOutlinePolyOffersNoAnchors) | |
| BOOST_AUTO_TEST_CASE (AlignedDrivingLengthDrivesRectWidth) | |
| BOOST_AUTO_TEST_CASE (OrthogonalDrivingLengthDrivesPolygonAxis) | |
| BOOST_AUTO_TEST_CASE (DrivenDimensionRemeasuresAfterRectResize) | |
| BOOST_AUTO_TEST_CASE (HoldingEditedRectResizeFollowsBindings) | |
| BOOST_AUTO_TEST_CASE (StaleVertexBindingDegradesAndGatesDriving) | |
| BOOST_AUTO_TEST_CASE (RadialDrivingGateRequiresSingleMappableTarget) | |
| BOOST_AUTO_TEST_CASE (SwappedRectVertexZeroIsPhysicalTopLeft) | |
| BOOST_AUTO_TEST_CASE (VertexInsertShiftsMembersPastInsertionPoint) | |
| BOOST_AUTO_TEST_CASE (VertexDeleteBelowShiftsMemberDown) | |
| BOOST_AUTO_TEST_CASE (VertexDeleteOfBoundVertexRetiresConstraint) | |
| BOOST_AUTO_TEST_CASE (ChamferRemapOrderNetsOneHigherPastTheCorner) | |
| BOOST_AUTO_TEST_CASE (VertexRemapLeavesOtherShapesAndLowerIndicesAlone) | |
| BOOST_AUTO_TEST_CASE (CardinalRotationRecanonicalizesRectRoles) | |
| BOOST_AUTO_TEST_CASE (NonCardinalRotationKeepsRectVertexBindings) | |
| BOOST_AUTO_TEST_CASE (RoundedRectNonCardinalRotationDegradesToUnmapped) | |
| BOOST_AUTO_TEST_CASE (FootprintParentedBindingGatesDriving) | |
| BOOST_AUTO_TEST_CASE (ValueModeDerivation) | |
| BOOST_AUTO_TEST_CASE (SetValueModeTransitions) | |
| BOOST_AUTO_TEST_CASE (SetValueModeDrivingRejections) | |
| BOOST_AUTO_TEST_CASE (SetValueModeDrivingResolvesGeometry) | |
| BOOST_AUTO_TEST_CASE (ValueModePropertySurface) | |
Tests the dimension-as-constraint-member support (issue #2329, item 6 phase 1): a dimension's feature point can be COINCIDENT with a shape point, so solving (or dragging the shape) pulls the dimension along, while its other, unbound endpoint stays put.
Definition in file test_constraint_dimension.cpp.
| BOOST_AUTO_TEST_CASE | ( | AlignedDrivingLengthDrivesRectWidth | ) |
Definition at line 486 of file test_constraint_dimension.cpp.
References std::abs(), KI_TEST::addRect(), ApplyConstraintImmediately(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), ConstraintShapeAnchors(), END, VECTOR2< T >::EuclideanNorm(), EDA_ITEM::m_Uuid, KI_TEST::MM, CONSTRAINT_DIAGNOSIS::solved, START, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | ApplyCoincidentDimensionFirstMember | ) |
Definition at line 219 of file test_constraint_dimension.cpp.
References KI_TEST::addConstraint(), KI_TEST::addSegment(), ApplyConstraintImmediately(), COINCIDENT, END, EDA_SHAPE::GetEnd(), EDA_ITEM::m_Uuid, KI_TEST::MM, and START.
| BOOST_AUTO_TEST_CASE | ( | ArcOutlinePolyOffersNoAnchors | ) |
Definition at line 462 of file test_constraint_dimension.cpp.
References BOARD::Add(), SHAPE_POLY_SET::AddOutline(), SHAPE_LINE_CHAIN::ArcCount(), chain, ConstraintShapeAnchors(), SHAPE_POLY_SET::COutline(), empty(), EDA_SHAPE::GetPolyShape(), KI_TEST::MM, NearestConstraintAnchor(), and POLY.
| BOOST_AUTO_TEST_CASE | ( | CardinalRotationRecanonicalizesRectRoles | ) |
Definition at line 990 of file test_constraint_dimension.cpp.
References KI_TEST::addRect(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), ConstraintAnchorPosition(), ConstraintShapeAnchors(), DEGREES_T, EDA_SHAPE::GetShape(), EDA_ITEM::m_Uuid, KI_TEST::MM, RECTANGLE, PCB_SHAPE::Rotate(), RotatePoint(), VERTEX, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | ChamferRemapOrderNetsOneHigherPastTheCorner | ) |
Definition at line 883 of file test_constraint_dimension.cpp.
References KI_TEST::addConstraint(), KI_TEST::addPoly(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), COINCIDENT, ConstraintAnchorPosition(), FIXED_POSITION, PCB_CONSTRAINT::GetMembers(), EDA_SHAPE::GetPolyShape(), SHAPE_POLY_SET::InsertVertex(), EDA_ITEM::m_Uuid, KI_TEST::MM, RemapPolygonVertexMembers(), SHAPE_POLY_SET::RemoveVertex(), and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | CoincidentDimensionFollowsDraggedShape | ) |
Definition at line 148 of file test_constraint_dimension.cpp.
References KI_TEST::addConstraint(), KI_TEST::addSegment(), BOOST_REQUIRE(), COINCIDENT, DiagnoseBoardConstraints(), END, EDA_SHAPE::GetEnd(), EDA_ITEM::m_Uuid, KI_TEST::MM, SolveCluster(), and START.
| BOOST_AUTO_TEST_CASE | ( | DeletedShapeErrorsDimensionConstraint | ) |
Definition at line 182 of file test_constraint_dimension.cpp.
References KI_TEST::addConstraint(), KI_TEST::addSegment(), BOOST_CHECK_EQUAL(), COINCIDENT, DiagnoseBoardConstraints(), END, BOARD_CONSTRAINT_DIAGNOSTICS::errored, EDA_ITEM::m_Uuid, KI_TEST::MM, BOARD::Remove(), and START.
| BOOST_AUTO_TEST_CASE | ( | DimensionAnchorsPerFamily | ) |
Definition at line 127 of file test_constraint_dimension.cpp.
References BOARD::Add(), anchor, BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), ConstraintItemAnchors(), END, KI_TEST::MM, PCB_DIMENSION_BASE::SetEnd(), PCB_DIMENSION_BASE::SetStart(), and START.
| BOOST_AUTO_TEST_CASE | ( | DimensionBindingPrefersSinglePolygonOverSplit | ) |
Definition at line 437 of file test_constraint_dimension.cpp.
References KI_TEST::addPoly(), KI_TEST::addSegment(), EDA_ITEM::m_Uuid, KI_TEST::MM, SelectDimensionEndpointBindings(), and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | DimensionBindsPolygonVertices | ) |
Definition at line 406 of file test_constraint_dimension.cpp.
References KI_TEST::addPoly(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), ConstraintAnchorPosition(), END, EDA_ITEM::m_Uuid, KI_TEST::MM, SelectDimensionEndpointBindings(), START, and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | DimensionBindsRectCornerToCorner | ) |
Definition at line 378 of file test_constraint_dimension.cpp.
References KI_TEST::addRect(), BOOST_CHECK_EQUAL(), ConstraintShapeAnchors(), END, index, EDA_ITEM::m_Uuid, KI_TEST::MM, SelectDimensionEndpointBindings(), START, and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | DrivenDimensionRemeasuresAfterRectResize | ) |
Definition at line 565 of file test_constraint_dimension.cpp.
References std::abs(), KI_TEST::addConstraint(), KI_TEST::addRect(), BOOST_REQUIRE(), END, FIXED_LENGTH, PCB_CONSTRAINT::GetValue(), EDA_ITEM::m_Uuid, KI_TEST::MM, ReSolveShapeClusters(), PCB_CONSTRAINT::SetDriving(), PCB_SHAPE::SetEnd(), and START.
| BOOST_AUTO_TEST_CASE | ( | FootprintParentedBindingGatesDriving | ) |
Definition at line 1135 of file test_constraint_dimension.cpp.
References BOARD::Add(), FOOTPRINT::Add(), PCB_CONSTRAINT::AddMember(), COINCIDENT, BOARD::Constraints(), DimensionEndpointsBound(), END, FOOTPRINT, EDA_ITEM::m_Uuid, PCB_CONSTRAINT::Members(), KI_TEST::MM, RECTANGLE, PCB_SHAPE::SetEnd(), PCB_SHAPE::SetStart(), START, and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | HoldingEditedRectResizeFollowsBindings | ) |
Definition at line 598 of file test_constraint_dimension.cpp.
References std::abs(), KI_TEST::addConstraint(), KI_TEST::addRect(), KI_TEST::addSegment(), BOOST_REQUIRE(), COINCIDENT, END, FIXED_LENGTH, PCB_CONSTRAINT::GetValue(), EDA_ITEM::m_Uuid, KI_TEST::MM, ReSolveShapeClustersHoldingEdited(), PCB_CONSTRAINT::SetDriving(), PCB_SHAPE::SetEnd(), START, and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | LeaderEndIsNotBindable | ) |
Definition at line 261 of file test_constraint_dimension.cpp.
References BOARD::Add(), KI_TEST::addConstraint(), KI_TEST::addSegment(), BOOST_REQUIRE(), BOARD_CONSTRAINT_ADAPTER::Build(), COINCIDENT, END, EDA_ITEM::m_Uuid, KI_TEST::MM, and BOARD_CONSTRAINT_ADAPTER::UnmappedConstraints().
| BOOST_AUTO_TEST_CASE | ( | NonCardinalRotationKeepsRectVertexBindings | ) |
Definition at line 1043 of file test_constraint_dimension.cpp.
References KI_TEST::addRect(), SHAPE_LINE_CHAIN::ArcCount(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), ConstraintAnchorPosition(), ConstraintShapeAnchors(), DEGREES_T, DimensionEndpointsBound(), END, expected, EDA_ITEM::m_Uuid, KI_TEST::MM, SHAPE_LINE_CHAIN::PointCount(), POLY, RotatePoint(), START, and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | OrthogonalDrivingLengthDrivesPolygonAxis | ) |
Definition at line 525 of file test_constraint_dimension.cpp.
References std::abs(), KI_TEST::addPoly(), ApplyConstraintImmediately(), BOOST_REQUIRE(), SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CPoint(), END, PCB_DIMENSION_BASE::GetEnd(), EDA_SHAPE::GetPolyShape(), PCB_DIMENSION_BASE::GetStart(), PCB_DIM_ORTHOGONAL::HORIZONTAL, EDA_ITEM::m_Uuid, KI_TEST::MM, CONSTRAINT_DIAGNOSIS::solved, START, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | OrthogonalHorizontalDrivingSetsXAxisOnly | ) |
Definition at line 309 of file test_constraint_dimension.cpp.
References std::abs(), ApplyConstraintImmediately(), PCB_DIMENSION_BASE::GetEnd(), PCB_DIMENSION_BASE::GetStart(), PCB_DIM_ORTHOGONAL::HORIZONTAL, EDA_ITEM::m_Uuid, KI_TEST::MM, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | OrthogonalVerticalDrivingSetsYAxisOnly | ) |
Definition at line 326 of file test_constraint_dimension.cpp.
References std::abs(), ApplyConstraintImmediately(), PCB_DIMENSION_BASE::GetEnd(), PCB_DIMENSION_BASE::GetStart(), EDA_ITEM::m_Uuid, KI_TEST::MM, PCB_DIM_ORTHOGONAL::VERTICAL, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | PickerOffersDimensionAnchor | ) |
Definition at line 203 of file test_constraint_dimension.cpp.
References BOOST_REQUIRE(), EDA_ITEM::m_Uuid, KI_TEST::MM, NearestConstraintAnchor(), and START.
| BOOST_AUTO_TEST_CASE | ( | RadialBindingRejectsCrossObjectCenterAndOutline | ) |
Definition at line 365 of file test_constraint_dimension.cpp.
References KI_TEST::addCircle(), KI_TEST::MM, and SelectRadialDimensionTarget().
| BOOST_AUTO_TEST_CASE | ( | RadialBindingRequiresSameArcCenterAndOutline | ) |
Definition at line 343 of file test_constraint_dimension.cpp.
References KI_TEST::addCircle(), BOOST_REQUIRE(), circle(), EDA_ITEM::m_Uuid, KI_TEST::MM, and SelectRadialDimensionTarget().
| BOOST_AUTO_TEST_CASE | ( | RadialDrivingGateRequiresSingleMappableTarget | ) |
Definition at line 696 of file test_constraint_dimension.cpp.
References KI_TEST::addCircle(), KI_TEST::addConstraint(), KI_TEST::addSegment(), CENTER, COINCIDENT, DimensionEndpointsBound(), END, EDA_ITEM::m_Uuid, KI_TEST::MM, POINT_ON_LINE, split(), START, and WHOLE.
| BOOST_AUTO_TEST_CASE | ( | RadialDrivingLengthDrivesCircleRadius | ) |
Definition at line 286 of file test_constraint_dimension.cpp.
References std::abs(), KI_TEST::addCircle(), KI_TEST::addConstraint(), ApplyConstraintImmediately(), CENTER, circle(), COINCIDENT, END, EDA_ITEM::m_Uuid, KI_TEST::MM, POINT_ON_LINE, START, and WHOLE.
| BOOST_AUTO_TEST_CASE | ( | RoundedRectNonCardinalRotationDegradesToUnmapped | ) |
Definition at line 1094 of file test_constraint_dimension.cpp.
References KI_TEST::addRect(), SHAPE_LINE_CHAIN::ArcCount(), BOOST_REQUIRE(), BOARD_CONSTRAINT_ADAPTER::Build(), ConstraintAnchorPosition(), BOARD::Constraints(), ConstraintShapeAnchors(), SHAPE_POLY_SET::COutline(), DEGREES_T, DimensionEndpointsBound(), empty(), END, EDA_SHAPE::GetPolyShape(), EDA_SHAPE::GetShape(), EDA_ITEM::m_Uuid, KI_TEST::MM, POLY, PCB_SHAPE::Rotate(), EDA_SHAPE::SetCornerRadius(), START, BOARD_CONSTRAINT_ADAPTER::UnmappedConstraints(), and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | SetValueModeDrivingRejections | ) |
Definition at line 1304 of file test_constraint_dimension.cpp.
References BOARD::Add(), KI_TEST::addRect(), DimensionValueMode(), DRIVEN, DRIVING, END, FindDimensionLengthConstraint(), EDA_ITEM::m_Uuid, KI_TEST::MM, SetDimensionValueMode(), and START.
| BOOST_AUTO_TEST_CASE | ( | SetValueModeDrivingResolvesGeometry | ) |
Definition at line 1351 of file test_constraint_dimension.cpp.
References std::abs(), KI_TEST::addRect(), ApplyConstraintImmediately(), BOOST_REQUIRE(), DRIVING, END, VECTOR2< T >::EuclideanNorm(), EDA_ITEM::m_Uuid, KI_TEST::MM, SetDimensionValueMode(), CONSTRAINT_DIAGNOSIS::solved, START, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | SetValueModeTransitions | ) |
Definition at line 1247 of file test_constraint_dimension.cpp.
References KI_TEST::addRect(), ARBITRARY, BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), DimensionCanDrive(), DimensionEndpointsBound(), DimensionValueMode(), DRIVEN, DRIVING, END, FindDimensionLengthConstraint(), PCB_CONSTRAINT::GetValue(), PCB_CONSTRAINT::IsDriving(), EDA_ITEM::m_Uuid, KI_TEST::MM, result, SetDimensionValueMode(), and START.
| BOOST_AUTO_TEST_CASE | ( | StaleVertexBindingDegradesAndGatesDriving | ) |
Definition at line 641 of file test_constraint_dimension.cpp.
References KI_TEST::addPoly(), BOARD_CONSTRAINT_ADAPTER::Apply(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), BOARD_CONSTRAINT_ADAPTER::Build(), BOARD::Constraints(), SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CPoint(), DimensionEndpointsBound(), END, EDA_SHAPE::GetPolyShape(), EDA_ITEM::m_Uuid, KI_TEST::MM, BOARD::Remove(), EDA_SHAPE::SetPolyPoints(), BOARD_CONSTRAINT_ADAPTER::Solve(), START, and BOARD_CONSTRAINT_ADAPTER::UnmappedConstraints().
| BOOST_AUTO_TEST_CASE | ( | SwappedRectVertexZeroIsPhysicalTopLeft | ) |
Definition at line 733 of file test_constraint_dimension.cpp.
References KI_TEST::addConstraint(), KI_TEST::addRect(), KI_TEST::addSegment(), ApplyConstraintImmediately(), BOOST_REQUIRE(), COINCIDENT, END, EDA_ITEM::m_Uuid, KI_TEST::MM, and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | ValueModeDerivation | ) |
Definition at line 1209 of file test_constraint_dimension.cpp.
References BOARD::Add(), KI_TEST::addConstraint(), ARBITRARY, PCB_DIMENSION_BASE::ChangeOverrideText(), DimensionHasValueMode(), DimensionValueMode(), DRIVEN, DRIVING, END, FindDimensionLengthConstraint(), FIXED_LENGTH, PCB_DIMENSION_BASE::GetValueMode(), EDA_ITEM::m_Uuid, KI_TEST::MM, PCB_CONSTRAINT::SetDriving(), PCB_DIMENSION_BASE::SetOverrideTextEnabled(), and START.
| BOOST_AUTO_TEST_CASE | ( | ValueModePropertySurface | ) |
Definition at line 1389 of file test_constraint_dimension.cpp.
References _HKI, BOARD::Add(), KI_TEST::addRect(), ARBITRARY, BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), DRIVEN, DRIVING, END, PROPERTY_MANAGER::GetProperty(), PROPERTY_MANAGER::Instance(), PROPERTY_MANAGER::IsAvailableFor(), PROPERTY_MANAGER::IsWriteableFor(), EDA_ITEM::m_Uuid, KI_TEST::MM, PROPERTY_MANAGER::Rebuild(), SetDimensionValueMode(), START, TYPE_HASH, and PROPERTY_BASE::Validate().
| BOOST_AUTO_TEST_CASE | ( | VertexDeleteBelowShiftsMemberDown | ) |
Definition at line 807 of file test_constraint_dimension.cpp.
References KI_TEST::addConstraint(), KI_TEST::addPoly(), KI_TEST::addSegment(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), COINCIDENT, ConstraintAnchorPosition(), EDA_SHAPE::GetPolyShape(), EDA_ITEM::m_Uuid, KI_TEST::MM, RemapPolygonVertexMembers(), SHAPE_POLY_SET::RemoveVertex(), START, and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | VertexDeleteOfBoundVertexRetiresConstraint | ) |
Definition at line 843 of file test_constraint_dimension.cpp.
References KI_TEST::addConstraint(), KI_TEST::addPoly(), KI_TEST::addSegment(), COINCIDENT, BOARD::Constraints(), EDA_SHAPE::GetPolyShape(), EDA_ITEM::m_Uuid, KI_TEST::MM, RemapPolygonVertexMembers(), BOARD::Remove(), SHAPE_POLY_SET::RemoveVertex(), START, and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | VertexInsertShiftsMembersPastInsertionPoint | ) |
Definition at line 755 of file test_constraint_dimension.cpp.
References BOARD::Add(), KI_TEST::addConstraint(), PCB_CONSTRAINT::AddMember(), KI_TEST::addPoly(), KI_TEST::addSegment(), BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), COINCIDENT, ConstraintAnchorPosition(), FIXED_POSITION, FOOTPRINT, PCB_CONSTRAINT::GetMembers(), EDA_SHAPE::GetPolyShape(), SHAPE_POLY_SET::InsertVertex(), EDA_ITEM::m_Uuid, KI_TEST::MM, RemapPolygonVertexMembers(), START, and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | VertexRemapLeavesOtherShapesAndLowerIndicesAlone | ) |
Definition at line 945 of file test_constraint_dimension.cpp.
References KI_TEST::addConstraint(), KI_TEST::addPoly(), KI_TEST::addRect(), KI_TEST::addSegment(), COINCIDENT, END, FIXED_POSITION, EDA_SHAPE::GetPolyShape(), SHAPE_POLY_SET::InsertVertex(), EDA_ITEM::m_Uuid, KI_TEST::MM, RemapPolygonVertexMembers(), START, and VERTEX.
| BOOST_AUTO_TEST_CASE | ( | WholeShapeMoveDragsBoundDimension | ) |
Definition at line 240 of file test_constraint_dimension.cpp.
References KI_TEST::addConstraint(), KI_TEST::addSegment(), COINCIDENT, END, EDA_SHAPE::GetEnd(), EDA_ITEM::m_Uuid, KI_TEST::MM, PCB_SHAPE::Move(), ReSolveShapeClusters(), and START.