KiCad PCB EDA Suite
std Namespace Reference

Classes

struct  hash< CLEARANCE_CACHE_KEY >
 
struct  hash< NET_NAME_CODE_CACHE_KEY >
 
struct  hash< NETCODE_LAYER_CACHE_KEY >
 
struct  hash< PTR_LAYER_CACHE_KEY >
 
struct  hash< PTR_PTR_CACHE_KEY >
 
struct  hash< PTR_PTR_LAYER_CACHE_KEY >
 
struct  hash< SCALED_BITMAP_ID >
 
struct  hash< SCH_SHEET_PATH >
 
struct  hash< std::pair< BITMAPS, int > >
 
struct  hash< VECTOR2I >
 
struct  hash< wxPoint >
 
struct  hash< wxString >
 
struct  less< VECTOR2I >
 
struct  less< wxPoint >
 

Functions

EDA_ANGLE abs (const EDA_ANGLE &aAngle)
 

Function Documentation

◆ abs()

EDA_ANGLE std::abs ( const EDA_ANGLE aAngle)
inline

Definition at line 401 of file eda_angle.h.

402{
403 return EDA_ANGLE( std::abs( aAngle.AsDegrees() ), DEGREES_T );
404}
double AsDegrees() const
Definition: eda_angle.h:149
@ DEGREES_T
Definition: eda_angle.h:31
EDA_ANGLE abs(const EDA_ANGLE &aAngle)
Definition: eda_angle.h:401

References abs(), EDA_ANGLE::AsDegrees(), and DEGREES_T.

Referenced by abs(), mpScaleBase::AbsMaxValue(), DXF_IMPORT_PLUGIN::addVertex(), GRID_HELPER::Align(), DIRECTION_45::Angle(), SEG::Angle(), SEG::ApproxCollinear(), PNS::ApproximateSegmentAsRect(), SEG::ApproxParallel(), KIGFX::CAIRO_GAL_BASE::arc_angles_xform_and_normalize(), GEOM_TEST::ArePerpendicular(), PNS::TOPOLOGY::AssembleDiffPair(), PCB_GRID_HELPER::BestSnapAnchor(), EE_GRID_HELPER::BestSnapAnchor(), PAD::BuildEffectiveShapes(), DIRECTION_45::BuildInitialTrace(), bumpToNextGrid(), CalcArcCenter(), ZONE::CalculateOutlineArea(), CADSTAR_PCB_ARCHIVE_LOADER::checkAndLogHatchCode(), PNS::DP_GATEWAYS::checkDiagonalAlignment(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkSkews(), Clamp_Text_PenSize(), Collide(), SEG::Collinear(), E_SERIE::combine3(), E_SERIE::combine4(), SCH_SHEET::ComparePageNum(), SCH_LINE_WIRE_BUS_TOOL::computeBreakPoint(), computeCenter(), TEARDROP_MANAGER::computeCurvedForRectShape(), AR_AUTOPLACER::computePlacementRatsnestCost(), ConvertArcToPolyline(), IMAGE::CopyFull(), PNS::coupledBypass(), PNS::DIFF_PAIR::CoupledLength(), PNS::DIFF_PAIR::CoupledSegmentPairs(), DIALOG_COLOR_PICKER::createRGBBitmap(), BOARD_ADAPTER::createTrack(), AUTOPLACER::DoAutoplace(), SCH_LINE_WIRE_BUS_TOOL::doDrawSegments(), KIGFX::PCB_PAINTER::draw(), DRAWING_TOOL::DrawDimension(), AR_MATRIX::drawSegmentQcq(), DRAWING_TOOL::DrawVia(), PCB_POINT_EDITOR::editArcEndpointKeepTangent(), DXF_IMPORT_PLUGIN::endEntity(), equals(), equivalent(), EXPORTER_PCB_VRML::ExportVrmlFootprint(), fillArcPOLY(), SCH_EAGLE_PLUGIN::findNearestLinePoint(), EDIT_POINTS::FindPoint(), PNS::MEANDER_SHAPE::Fit(), KIGFX::COLOR4D::FromHSL(), GENERAL_COLLECTORS_GUIDE::GENERAL_COLLECTORS_GUIDE(), KIBIS_WAVEFORM_PRBS::GenerateBitSequence(), PNS::MEANDER_SHAPE::genMeanderShape(), DXF_IMPORT_PLUGIN::getArbitraryAxis(), FOOTPRINT::GetArea(), LIB_TEXTBOX::GetDrawPos(), CADSTAR_SCH_ARCHIVE_LOADER::getFigureExtentsKiCad(), CADSTAR_PCB_ARCHIVE_LOADER::getKiCadPad(), POLYGON_TEST::getKink(), SHAPE_ARC::GetLength(), PCB_ARC::GetLength(), RENDER_3D_RAYTRACE::getModelMaterial(), LIB_TEXTBOX::GetMsgPanelInfo(), SCH_TEXTBOX::GetMsgPanelInfo(), FP_TEXTBOX::GetMsgPanelInfo(), PCB_TEXTBOX::GetMsgPanelInfo(), LIB_SHAPE::GetSelectMenuText(), SCH_SHAPE::GetSelectMenuText(), DS_DRAW_ITEM_RECT::GetSelectMenuText(), LIB_TEXTBOX::GetShownText(), SCH_TEXTBOX::GetShownText(), KIFONT::OUTLINE_FONT::getTextAsGlyphs(), ARRAY_GRID_OPTIONS::GetTransform(), GetVectorSnapped45(), KIGFX::OPENGL_GAL::getWorldPixelSize(), TOOL_DISPATCHER::handleMouseButton(), ZONE::HatchBorder(), EDA_SHAPE::hitTest(), SCH_LINE::HitTest(), SCH_NO_CONNECT::HitTest(), PCB_TARGET::HitTest(), PCB_ARC::HitTest(), InferBold(), SHAPE_POLY_SET::Inflate(), CURSOR::Inside(), CIRCLE::Intersect(), BOX2< Vec >::Intersects(), RAYSEG2D::IntersectSegment(), IntersectSegment(), SHAPE_POLY_SET::SEGMENT_ITERATOR_TEMPLATE< T >::IsAdjacent(), EDA_ANGLE::IsCardinal90(), PNS::IsSegment45Degree(), POLYGON_TEST::isSubstantial(), SEG::LineDistance(), EAGLE_PLUGIN::loadPlain(), SCH_EAGLE_PLUGIN::loadSymbolWire(), SCH_MOVE_TOOL::Main(), makeComponents(), PNS::MEANDER_SHAPE::makeMiterShape(), makeOtherOutlines(), DSN::SPECCTRA_DB::makePADSTACK(), PANEL_E_SERIE::OnCalculateESeries(), PANEL_CABLE_SIZE::OnConductorResistivityChange(), PANEL_CABLE_SIZE::OnConductorThermCoefChange(), DIALOG_DIMENSION_PROPERTIES::onFontSelected(), DIALOG_TEXT_PROPERTIES::onFontSelected(), DIALOG_TEXTBOX_PROPERTIES::onFontSelected(), DIALOG_PAD_PRIMITIVE_POLY_PROPS::onPaintPolyPanel(), DIALOG_COLOR_PICKER::onRGBMouseClick(), PCB_POINT_EDITOR::OnSelectionChange(), DIALOG_DIMENSION_PROPERTIES::onThickness(), DIALOG_TEXT_PROPERTIES::onThickness(), DIALOG_TEXTBOX_PROPERTIES::onThickness(), PANEL_TRACK_WIDTH::OnTWCalculateFromCurrent(), PANEL_TRACK_WIDTH::OnTWCalculateFromExtWidth(), PANEL_TRACK_WIDTH::OnTWCalculateFromIntWidth(), PANEL_VIA_SIZE::onUpdateViaCalcErrorText(), PANEL_VIA_SIZE::OnViaCalculate(), EAGLE_PLUGIN::orientFPText(), DIALOG_PAD_PROPERTIES::padValuesOK(), PANEL_CORROSION::PANEL_CORROSION(), SCH_ALTIUM_PLUGIN::ParseImage(), AR_MATRIX::PlacePad(), BRDITEMS_PLOTTER::PlotFootprintShape(), PS_PLOTTER::PlotImage(), BRDITEMS_PLOTTER::PlotPcbShape(), polyCompare(), TRIANGLE::pre_calc_const(), mpScaleX::recalculateTicks(), mpScaleY::recalculateTicks(), DIALOG_PAD_PROPERTIES::redraw(), rescale(), PCB_TEXTBOX::Rotate(), DIALOG_BOARD_REANNOTATE::RoundToGrid(), DRC_TEST_PROVIDER_SLIVER_CHECKER::Run(), DRC_TEST_PROVIDER_TEXT_DIMS::Run(), PNS::SegmentHull(), KIGFX::PREVIEW::ARC_GEOM_MANAGER::setEnd(), SHAPE_ARC::SHAPE_ARC(), EDA_SHAPE::ShapeGetMsgPanelInfo(), PNS::shovedArea(), E_SERIE::simple_solution(), PNS::MEANDER_SHAPE::spacing(), TestSegmentHit(), SVG_PLOTTER::Text(), PNS::Tighten(), KIGFX::COLOR4D::ToHSL(), AR_MATRIX::traceArc(), TransformTrapezoidToPolygon(), PANEL_TRACK_WIDTH::TWDisplayValues(), PCB_DIM_ALIGNED::updateGeometry(), PCB_DIM_ORTHOGONAL::updateGeometry(), PCB_POINT_EDITOR::updateItem(), PCB_DIM_ORTHOGONAL::updateText(), DIALOG_GRAPHIC_ITEM_PROPERTIES::Validate(), and KIGFX::PREVIEW::TWO_POINT_ASSISTANT::ViewDraw().