<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2023 Workiva-->
<!--r:8121e258-d44d-4e36-8650-053260aca0f3,g:9bfb05ff-f984-45b2-8b4e-cefb4ecf0479-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.apog.com/role/ConsolidatedStatementsOfShareholdersEquityStatement" xlink:type="simple" xlink:href="apog-20230225.xsd#ConsolidatedStatementsOfShareholdersEquityStatement"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/ConsolidatedStatementsOfShareholdersEquityStatement" xlink:type="extended" id="i44d2833eeb98469984155a681d161972_ConsolidatedStatementsOfShareholdersEquityStatement">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_c4aa23cb-e0d7-4fee-8a50-10210c763804" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c4aa23cb-e0d7-4fee-8a50-10210c763804" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_92d62db3-5a9b-48e3-a528-631b77adbf6c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_StockholdersEquity_92d62db3-5a9b-48e3-a528-631b77adbf6c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_3eea00d4-9dca-4bb2-bfef-f86b3b799ef9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_SharesOutstanding_3eea00d4-9dca-4bb2-bfef-f86b3b799ef9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_538d4b9d-7619-46b9-a997-ceceb9bc98b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_NetIncomeLoss_538d4b9d-7619-46b9-a997-ceceb9bc98b8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_45fd61e5-ce84-4faf-8084-20a9e34660ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_45fd61e5-ce84-4faf-8084-20a9e34660ca" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_ffb1e59e-40bb-4b04-b0b3-5b2d4fd22c46" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_ffb1e59e-40bb-4b04-b0b3-5b2d4fd22c46" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_cd2fb512-0619-417f-940f-b55fb51db85d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_cd2fb512-0619-417f-940f-b55fb51db85d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax_db90ff9e-47c7-4528-887a-8753e048cfb5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax_db90ff9e-47c7-4528-887a-8753e048cfb5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax_dd0b7017-906f-4539-982b-ffd494982a5d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax_dd0b7017-906f-4539-982b-ffd494982a5d" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodTax_19603fb1-2bbf-4f43-b29d-b73022b12ac4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodTax_19603fb1-2bbf-4f43-b29d-b73022b12ac4" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_58fa50d0-8ff8-4e6b-b1b9-308c817ee23d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_58fa50d0-8ff8-4e6b-b1b9-308c817ee23d" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_ccbb534a-e454-4547-b1c0-dc461e1c7851" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_ccbb534a-e454-4547-b1c0-dc461e1c7851" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_24058979-ed71-4cda-b795-7a4ae164c73e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_24058979-ed71-4cda-b795-7a4ae164c73e" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_b4014a48-db5b-4ff7-90da-6259c15308e4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_b4014a48-db5b-4ff7-90da-6259c15308e4" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_eafe4c86-3402-4a5d-8279-6466bf3c8c03" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_eafe4c86-3402-4a5d-8279-6466bf3c8c03" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_a01aca23-c36c-4aa9-9e99-c1dffccdc9a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_a01aca23-c36c-4aa9-9e99-c1dffccdc9a8" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_ce9ad206-5038-4e08-b8e4-62d43433ccd6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchasedDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_ce9ad206-5038-4e08-b8e4-62d43433ccd6" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_b243053f-5ff6-4695-a184-b556ef74f824" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchasedDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_b243053f-5ff6-4695-a184-b556ef74f824" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRedeemedOrCalledDuringPeriodValue_7557c865-172e-446c-b025-22d892d66422" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRedeemedOrCalledDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_StockRedeemedOrCalledDuringPeriodValue_7557c865-172e-446c-b025-22d892d66422" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRedeemedOrCalledDuringPeriodShares_d5ee653d-daa3-474e-9ad0-89630b4032d6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRedeemedOrCalledDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_StockRedeemedOrCalledDuringPeriodShares_d5ee653d-daa3-474e-9ad0-89630b4032d6" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_6e9a6866-3491-4f56-997a-461415e3001c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_DividendsCommonStockCash_6e9a6866-3491-4f56-997a-461415e3001c" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_7759b915-4256-486a-9543-ecf922a641a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockDividendsPerShareCashPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_4ed0dceb-13f9-41ef-99b2-6785f4903e91" xlink:to="loc_us-gaap_CommonStockDividendsPerShareCashPaid_7759b915-4256-486a-9543-ecf922a641a9" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_19368898-8422-47b7-b7d7-a3edc7c05915" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_91631c2f-e895-4d03-8782-3fe922dee543" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_5ed3c0a5-bfa6-401e-a8ce-6aaa1466f076" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_c4aa23cb-e0d7-4fee-8a50-10210c763804" xlink:to="loc_us-gaap_StatementTable_5ed3c0a5-bfa6-401e-a8ce-6aaa1466f076" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_b2552d0a-244d-434f-aeff-91da268ffdac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5ed3c0a5-bfa6-401e-a8ce-6aaa1466f076" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_b2552d0a-244d-434f-aeff-91da268ffdac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_b2552d0a-244d-434f-aeff-91da268ffdac_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_b2552d0a-244d-434f-aeff-91da268ffdac" xlink:to="loc_us-gaap_EquityComponentDomain_b2552d0a-244d-434f-aeff-91da268ffdac_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_612f2968-fec5-49f8-947c-b2f197cf4f3e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_b2552d0a-244d-434f-aeff-91da268ffdac" xlink:to="loc_us-gaap_EquityComponentDomain_612f2968-fec5-49f8-947c-b2f197cf4f3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_004c12c9-291d-4d47-9bd3-486cfbd2f0f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_612f2968-fec5-49f8-947c-b2f197cf4f3e" xlink:to="loc_us-gaap_CommonStockMember_004c12c9-291d-4d47-9bd3-486cfbd2f0f1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_b738ad71-f1a2-40b3-a9fb-53361ec9df88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_612f2968-fec5-49f8-947c-b2f197cf4f3e" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_b738ad71-f1a2-40b3-a9fb-53361ec9df88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_44999cff-66c4-41b7-9588-98fd27acf0c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_612f2968-fec5-49f8-947c-b2f197cf4f3e" xlink:to="loc_us-gaap_RetainedEarningsMember_44999cff-66c4-41b7-9588-98fd27acf0c8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_f6dc6363-aa42-481d-94ae-2b8346ce36c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_612f2968-fec5-49f8-947c-b2f197cf4f3e" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_f6dc6363-aa42-481d-94ae-2b8346ce36c9" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/SummaryofSignificantAccountingPoliciesandRelatedDataDetailsTextual" xlink:type="simple" xlink:href="apog-20230225.xsd#SummaryofSignificantAccountingPoliciesandRelatedDataDetailsTextual"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/SummaryofSignificantAccountingPoliciesandRelatedDataDetailsTextual" xlink:type="extended" id="ieae0a4810d5146bfa5993faeba56fba5_SummaryofSignificantAccountingPoliciesandRelatedDataDetailsTextual">
    <link:loc xlink:type="locator" xlink:label="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:href="apog-20230225.xsd#apog_AccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_PercentageOfTotalRevenue_be6e6308-6efe-4e47-9855-bc7d710cc908" xlink:href="apog-20230225.xsd#apog_PercentageOfTotalRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_apog_PercentageOfTotalRevenue_be6e6308-6efe-4e47-9855-bc7d710cc908" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_NumberOfBusinessesWhichOperateUnderLongTermFixedPriceContracts_3f46ee4f-00b1-46c2-9407-8f66ed530e87" xlink:href="apog-20230225.xsd#apog_NumberOfBusinessesWhichOperateUnderLongTermFixedPriceContracts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_apog_NumberOfBusinessesWhichOperateUnderLongTermFixedPriceContracts_3f46ee4f-00b1-46c2-9407-8f66ed530e87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_NumberOfBusinessesWhichOperateUnderLongTermFixedPriceContractsPercentOfTotalRevenue_5243b112-1faf-4e4b-b307-baa7a657a2d3" xlink:href="apog-20230225.xsd#apog_NumberOfBusinessesWhichOperateUnderLongTermFixedPriceContractsPercentOfTotalRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_apog_NumberOfBusinessesWhichOperateUnderLongTermFixedPriceContractsPercentOfTotalRevenue_5243b112-1faf-4e4b-b307-baa7a657a2d3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_NumberOfBusinessesWhichRecognizeRevenueFollowingTheOverTimeOutputMethod_96c17b64-4404-4539-8f10-a0ca3976e8b7" xlink:href="apog-20230225.xsd#apog_NumberOfBusinessesWhichRecognizeRevenueFollowingTheOverTimeOutputMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_apog_NumberOfBusinessesWhichRecognizeRevenueFollowingTheOverTimeOutputMethod_96c17b64-4404-4539-8f10-a0ca3976e8b7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_NumberOfBusinessesWhichRecognizeRevenueFollowingTheOverTimeOutputMethodPercentOfTotalRevenue_3d6c94db-a92b-4f62-b7aa-34d9fddb3ca2" xlink:href="apog-20230225.xsd#apog_NumberOfBusinessesWhichRecognizeRevenueFollowingTheOverTimeOutputMethodPercentOfTotalRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_apog_NumberOfBusinessesWhichRecognizeRevenueFollowingTheOverTimeOutputMethodPercentOfTotalRevenue_3d6c94db-a92b-4f62-b7aa-34d9fddb3ca2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_a7648b19-f172-4b63-85bb-f385b9d10967" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_a7648b19-f172-4b63-85bb-f385b9d10967" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_b3d04526-4239-45b1-a5c1-9f71ceaa02ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdvertisingExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_us-gaap_AdvertisingExpense_b3d04526-4239-45b1-a5c1-9f71ceaa02ad" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_27a00b44-d244-45b3-9195-a926ec326bf9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_27a00b44-d244-45b3-9195-a926ec326bf9" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_IntangibleAssetLifeMinimum_b9491ed7-5ed9-4a44-99af-bce86d68ec7a" xlink:href="apog-20230225.xsd#apog_IntangibleAssetLifeMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_apog_IntangibleAssetLifeMinimum_b9491ed7-5ed9-4a44-99af-bce86d68ec7a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_IntangibleAssetLifeMaximum_74faeda2-108b-4422-a809-933de20d0a4b" xlink:href="apog-20230225.xsd#apog_IntangibleAssetLifeMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_apog_IntangibleAssetLifeMaximum_74faeda2-108b-4422-a809-933de20d0a4b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfInvestments_16d59fa1-cc75-44f9-90eb-921e889ecd32" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairmentOfInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_us-gaap_ImpairmentOfInvestments_16d59fa1-cc75-44f9-90eb-921e889ecd32" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_6e6064f3-a125-4364-b81e-5e660a20b9ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_6e6064f3-a125-4364-b81e-5e660a20b9ef" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf_87af55d6-3db3-4388-ba83-50bf07783d10" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf_87af55d6-3db3-4388-ba83-50bf07783d10" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_AccountingPoliciesTable_6fce8801-f43f-45eb-9a93-cc08e6528a28" xlink:href="apog-20230225.xsd#apog_AccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_apog_AccountingPoliciesLineItems_2b05e428-4db0-45a8-bdad-d80941b81de7" xlink:to="loc_apog_AccountingPoliciesTable_6fce8801-f43f-45eb-9a93-cc08e6528a28" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_cc95cd8b-784e-447c-8216-a78bd4638b35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_apog_AccountingPoliciesTable_6fce8801-f43f-45eb-9a93-cc08e6528a28" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_cc95cd8b-784e-447c-8216-a78bd4638b35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_cc95cd8b-784e-447c-8216-a78bd4638b35_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_cc95cd8b-784e-447c-8216-a78bd4638b35" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_cc95cd8b-784e-447c-8216-a78bd4638b35_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_c1289f49-fb14-47e2-92b4-423994166062" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_cc95cd8b-784e-447c-8216-a78bd4638b35" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_c1289f49-fb14-47e2-92b4-423994166062" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredAtPointInTimeMember_7be43d2e-70a2-4a46-be42-5a698134f283" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransferredAtPointInTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_c1289f49-fb14-47e2-92b4-423994166062" xlink:to="loc_us-gaap_TransferredAtPointInTimeMember_7be43d2e-70a2-4a46-be42-5a698134f283" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_ccb4a245-8591-404d-86c0-3a40a75ac577" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_apog_AccountingPoliciesTable_6fce8801-f43f-45eb-9a93-cc08e6528a28" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_ccb4a245-8591-404d-86c0-3a40a75ac577" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ccb4a245-8591-404d-86c0-3a40a75ac577_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_ccb4a245-8591-404d-86c0-3a40a75ac577" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ccb4a245-8591-404d-86c0-3a40a75ac577_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_49da6896-9170-4a06-87a6-4789aa68db18" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_ccb4a245-8591-404d-86c0-3a40a75ac577" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_49da6896-9170-4a06-87a6-4789aa68db18" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_08218845-18e0-4b7c-9d5e-eb688e98a763" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_49da6896-9170-4a06-87a6-4789aa68db18" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_08218845-18e0-4b7c-9d5e-eb688e98a763" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_a0874983-6170-40b1-b4a6-ee53e34dbf55" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_49da6896-9170-4a06-87a6-4789aa68db18" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_a0874983-6170-40b1-b4a6-ee53e34dbf55" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_d8b23c16-2592-4ffa-b18b-b5602cba1b99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_49da6896-9170-4a06-87a6-4789aa68db18" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_d8b23c16-2592-4ffa-b18b-b5602cba1b99" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_6628af25-9a1c-4ddb-a952-8c929366df58" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_apog_AccountingPoliciesTable_6fce8801-f43f-45eb-9a93-cc08e6528a28" xlink:to="loc_srt_RangeAxis_6628af25-9a1c-4ddb-a952-8c929366df58" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_6628af25-9a1c-4ddb-a952-8c929366df58_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_6628af25-9a1c-4ddb-a952-8c929366df58" xlink:to="loc_srt_RangeMember_6628af25-9a1c-4ddb-a952-8c929366df58_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_feb73f34-edaa-47e9-a0d7-0468c8b4a270" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_6628af25-9a1c-4ddb-a952-8c929366df58" xlink:to="loc_srt_RangeMember_feb73f34-edaa-47e9-a0d7-0468c8b4a270" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_1ffd9202-971d-4803-bd75-4cc3200592e0" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_feb73f34-edaa-47e9-a0d7-0468c8b4a270" xlink:to="loc_srt_MinimumMember_1ffd9202-971d-4803-bd75-4cc3200592e0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_a300b91a-e794-42e6-8f8c-be1249f9df30" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_feb73f34-edaa-47e9-a0d7-0468c8b4a270" xlink:to="loc_srt_MaximumMember_a300b91a-e794-42e6-8f8c-be1249f9df30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_79ef6732-dbae-413e-9c7d-aafaf0fbf5a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_apog_AccountingPoliciesTable_6fce8801-f43f-45eb-9a93-cc08e6528a28" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_79ef6732-dbae-413e-9c7d-aafaf0fbf5a9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_79ef6732-dbae-413e-9c7d-aafaf0fbf5a9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_79ef6732-dbae-413e-9c7d-aafaf0fbf5a9" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_79ef6732-dbae-413e-9c7d-aafaf0fbf5a9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_fef85be2-9b6a-456b-a8f7-882687894abd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_79ef6732-dbae-413e-9c7d-aafaf0fbf5a9" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_fef85be2-9b6a-456b-a8f7-882687894abd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_e33b5fc4-187e-4e8b-9039-00f76f5de6ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_fef85be2-9b6a-456b-a8f7-882687894abd" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_e33b5fc4-187e-4e8b-9039-00f76f5de6ad" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/RevenueReceivablesandContractAssetsandLiabilitiesDetails1" xlink:type="simple" xlink:href="apog-20230225.xsd#RevenueReceivablesandContractAssetsandLiabilitiesDetails1"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/RevenueReceivablesandContractAssetsandLiabilitiesDetails1" xlink:type="extended" id="i21270e5e7a0d45a48c9d9d36dd017c1c_RevenueReceivablesandContractAssetsandLiabilitiesDetails1">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_e0402484-9041-41d2-86c6-63eb109e793c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_fca735ee-7eb4-436a-ab0c-09b35b337ed7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_e0402484-9041-41d2-86c6-63eb109e793c" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_fca735ee-7eb4-436a-ab0c-09b35b337ed7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_497e8286-a087-4606-8c3b-92dacb004795" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_e0402484-9041-41d2-86c6-63eb109e793c" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_497e8286-a087-4606-8c3b-92dacb004795" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_4179f264-548b-4a5c-b530-0965a1f2495a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_497e8286-a087-4606-8c3b-92dacb004795" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_4179f264-548b-4a5c-b530-0965a1f2495a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_4179f264-548b-4a5c-b530-0965a1f2495a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_4179f264-548b-4a5c-b530-0965a1f2495a" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_4179f264-548b-4a5c-b530-0965a1f2495a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_55a141f3-0018-4edf-81aa-c52f8062c23f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_4179f264-548b-4a5c-b530-0965a1f2495a" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_55a141f3-0018-4edf-81aa-c52f8062c23f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredAtPointInTimeMember_0974f622-bad6-4595-8eeb-cad8e049b447" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransferredAtPointInTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_55a141f3-0018-4edf-81aa-c52f8062c23f" xlink:to="loc_us-gaap_TransferredAtPointInTimeMember_0974f622-bad6-4595-8eeb-cad8e049b447" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredOverTimeMember_7e29879b-d134-4950-a7cd-26998f11788f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransferredOverTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_55a141f3-0018-4edf-81aa-c52f8062c23f" xlink:to="loc_us-gaap_TransferredOverTimeMember_7e29879b-d134-4950-a7cd-26998f11788f" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/RevenueReceivablesandContractAssetsandLiabilitiesDetails2" xlink:type="simple" xlink:href="apog-20230225.xsd#RevenueReceivablesandContractAssetsandLiabilitiesDetails2"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/RevenueReceivablesandContractAssetsandLiabilitiesDetails2" xlink:type="extended" id="i94cf090673d54d40b5988dda524cda04_RevenueReceivablesandContractAssetsandLiabilitiesDetails2">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_b76ae581-4ea2-42cf-8e3c-c255ddb4b5d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGross_302116f2-7acc-4d35-ba84-c6b6a0f76d91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_b76ae581-4ea2-42cf-8e3c-c255ddb4b5d8" xlink:to="loc_us-gaap_AccountsReceivableGross_302116f2-7acc-4d35-ba84-c6b6a0f76d91" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_65f48852-8294-4be2-9101-ec47bbc30629" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_b76ae581-4ea2-42cf-8e3c-c255ddb4b5d8" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_65f48852-8294-4be2-9101-ec47bbc30629" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_d257127a-baa1-4e99-98f5-68105e3829c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_b76ae581-4ea2-42cf-8e3c-c255ddb4b5d8" xlink:to="loc_us-gaap_AccountsReceivableNet_d257127a-baa1-4e99-98f5-68105e3829c2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_eabd9e86-b35d-40ff-b395-5ca05375fe42" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_b76ae581-4ea2-42cf-8e3c-c255ddb4b5d8" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_eabd9e86-b35d-40ff-b395-5ca05375fe42" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_3d6bfe70-3881-4056-a991-8422b4272d9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_eabd9e86-b35d-40ff-b395-5ca05375fe42" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_3d6bfe70-3881-4056-a991-8422b4272d9d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_3d6bfe70-3881-4056-a991-8422b4272d9d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_3d6bfe70-3881-4056-a991-8422b4272d9d" xlink:to="loc_us-gaap_ReceivableTypeDomain_3d6bfe70-3881-4056-a991-8422b4272d9d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_e5ae6efb-27e7-4e8f-a0f5-881403d8053b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_3d6bfe70-3881-4056-a991-8422b4272d9d" xlink:to="loc_us-gaap_ReceivableTypeDomain_e5ae6efb-27e7-4e8f-a0f5-881403d8053b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeAccountsReceivableMember_44b6455b-eca2-43d0-be87-704d2dae478c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TradeAccountsReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_e5ae6efb-27e7-4e8f-a0f5-881403d8053b" xlink:to="loc_us-gaap_TradeAccountsReceivableMember_44b6455b-eca2-43d0-be87-704d2dae478c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_AccountsReceivableConstructionContractsMember_eff8c5eb-10db-4dc7-8e71-84956b8dc148" xlink:href="apog-20230225.xsd#apog_AccountsReceivableConstructionContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_e5ae6efb-27e7-4e8f-a0f5-881403d8053b" xlink:to="loc_apog_AccountsReceivableConstructionContractsMember_eff8c5eb-10db-4dc7-8e71-84956b8dc148" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_AccountsReceivableContractRetainageMember_766686c1-e283-486b-9e85-0ec1b880a9a0" xlink:href="apog-20230225.xsd#apog_AccountsReceivableContractRetainageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_e5ae6efb-27e7-4e8f-a0f5-881403d8053b" xlink:to="loc_apog_AccountsReceivableContractRetainageMember_766686c1-e283-486b-9e85-0ec1b880a9a0" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/RevenueReceivablesandContractAssetsandLiabilitiesDetails5" xlink:type="simple" xlink:href="apog-20230225.xsd#RevenueReceivablesandContractAssetsandLiabilitiesDetails5"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/RevenueReceivablesandContractAssetsandLiabilitiesDetails5" xlink:type="extended" id="i75c43740c3a94c4e9ef5c9148e47b610_RevenueReceivablesandContractAssetsandLiabilitiesDetails5">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_c3f6ac15-d986-40ce-9085-3dadfe2385b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_e6fe46f7-29cb-4f05-b08e-9501430b0890" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_c3f6ac15-d986-40ce-9085-3dadfe2385b6" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_e6fe46f7-29cb-4f05-b08e-9501430b0890" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_1a6731a2-49a5-4510-97b8-eff015e3341c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_c3f6ac15-d986-40ce-9085-3dadfe2385b6" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_1a6731a2-49a5-4510-97b8-eff015e3341c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_9d072739-f8a8-480f-ace6-218379237762" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_c3f6ac15-d986-40ce-9085-3dadfe2385b6" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_9d072739-f8a8-480f-ace6-218379237762" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_922d36fc-bfd8-40ea-b755-3e5b79826a64" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_9d072739-f8a8-480f-ace6-218379237762" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_922d36fc-bfd8-40ea-b755-3e5b79826a64" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/RevenueReceivablesandContractAssetsandLiabilitiesDetails5_1" xlink:type="simple" xlink:href="apog-20230225.xsd#RevenueReceivablesandContractAssetsandLiabilitiesDetails5_1"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/RevenueReceivablesandContractAssetsandLiabilitiesDetails5_1" xlink:type="extended" id="i545eca506d124a5b861befc3870998ee_RevenueReceivablesandContractAssetsandLiabilitiesDetails5_1">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_c3f6ac15-d986-40ce-9085-3dadfe2385b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_e6fe46f7-29cb-4f05-b08e-9501430b0890" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_c3f6ac15-d986-40ce-9085-3dadfe2385b6" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_e6fe46f7-29cb-4f05-b08e-9501430b0890" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_1a6731a2-49a5-4510-97b8-eff015e3341c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_c3f6ac15-d986-40ce-9085-3dadfe2385b6" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_1a6731a2-49a5-4510-97b8-eff015e3341c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_9d072739-f8a8-480f-ace6-218379237762" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_c3f6ac15-d986-40ce-9085-3dadfe2385b6" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_9d072739-f8a8-480f-ace6-218379237762" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/FinancialInstrumentsDetails" xlink:type="simple" xlink:href="apog-20230225.xsd#FinancialInstrumentsDetails"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/FinancialInstrumentsDetails" xlink:type="extended" id="ib5f96419deda4ccc848e75cd7430db1a_FinancialInstrumentsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_509e8eaf-b11b-4249-b106-df0228e17825" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f62b85e1-5663-4ca4-9740-b05658b61847" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_509e8eaf-b11b-4249-b106-df0228e17825" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f62b85e1-5663-4ca4-9740-b05658b61847" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_870c4c50-6d25-4a02-8a0e-bb85503103f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_509e8eaf-b11b-4249-b106-df0228e17825" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_870c4c50-6d25-4a02-8a0e-bb85503103f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_f799551a-b8e5-472e-b913-d9c379b9ceae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_509e8eaf-b11b-4249-b106-df0228e17825" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_f799551a-b8e5-472e-b913-d9c379b9ceae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_24151765-37c1-4179-aa23-027d1d1b92fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_509e8eaf-b11b-4249-b106-df0228e17825" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_24151765-37c1-4179-aa23-027d1d1b92fe" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_9874094f-cf22-4d85-804e-6bfc5a6ea022" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_509e8eaf-b11b-4249-b106-df0228e17825" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_9874094f-cf22-4d85-804e-6bfc5a6ea022" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_d2ae25b6-0eb3-444a-8311-008cbd4519d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_9874094f-cf22-4d85-804e-6bfc5a6ea022" xlink:to="loc_us-gaap_FinancialInstrumentAxis_d2ae25b6-0eb3-444a-8311-008cbd4519d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d2ae25b6-0eb3-444a-8311-008cbd4519d8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_d2ae25b6-0eb3-444a-8311-008cbd4519d8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d2ae25b6-0eb3-444a-8311-008cbd4519d8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_823ba5f3-96b6-4593-905c-9d49ff8c4584" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_d2ae25b6-0eb3-444a-8311-008cbd4519d8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_823ba5f3-96b6-4593-905c-9d49ff8c4584" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MunicipalBondsMember_fa10b802-9e0a-434d-86d3-ccd7f3c899b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MunicipalBondsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_823ba5f3-96b6-4593-905c-9d49ff8c4584" xlink:to="loc_us-gaap_MunicipalBondsMember_fa10b802-9e0a-434d-86d3-ccd7f3c899b7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/FinancialInstrumentsDetails2" xlink:type="simple" xlink:href="apog-20230225.xsd#FinancialInstrumentsDetails2"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/FinancialInstrumentsDetails2" xlink:type="extended" id="ide2f0dba830f4735ae2702d66a9272e7_FinancialInstrumentsDetails2">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_91c0791f-20aa-4ada-bc56-392870f990d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_d9e2e24d-2f4b-455a-ad6e-52db81464d2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_91c0791f-20aa-4ada-bc56-392870f990d5" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_d9e2e24d-2f4b-455a-ad6e-52db81464d2a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_10631bbf-f809-4e77-abd0-6c541755dadf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_91c0791f-20aa-4ada-bc56-392870f990d5" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_10631bbf-f809-4e77-abd0-6c541755dadf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_ac6dc98c-b94c-4ea4-8b03-9e3476721bc7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_91c0791f-20aa-4ada-bc56-392870f990d5" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_ac6dc98c-b94c-4ea4-8b03-9e3476721bc7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_c2ba7a06-0e9b-4cb0-b7f5-7c1f3cbae0dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_91c0791f-20aa-4ada-bc56-392870f990d5" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_c2ba7a06-0e9b-4cb0-b7f5-7c1f3cbae0dc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_5249c97f-12cf-4017-8384-a1850a887694" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_91c0791f-20aa-4ada-bc56-392870f990d5" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_5249c97f-12cf-4017-8384-a1850a887694" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5070b664-8be2-4bec-b35a-084204680e6f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_91c0791f-20aa-4ada-bc56-392870f990d5" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5070b664-8be2-4bec-b35a-084204680e6f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_60446bff-de06-449f-9673-081777111c7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_91c0791f-20aa-4ada-bc56-392870f990d5" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_60446bff-de06-449f-9673-081777111c7d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_e25182d3-b7bc-41fe-8e0b-44811ee465ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_60446bff-de06-449f-9673-081777111c7d" xlink:to="loc_us-gaap_FinancialInstrumentAxis_e25182d3-b7bc-41fe-8e0b-44811ee465ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e25182d3-b7bc-41fe-8e0b-44811ee465ff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_e25182d3-b7bc-41fe-8e0b-44811ee465ff" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e25182d3-b7bc-41fe-8e0b-44811ee465ff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_60caffae-c453-4e0b-98dd-4f4cc591ed71" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_e25182d3-b7bc-41fe-8e0b-44811ee465ff" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_60caffae-c453-4e0b-98dd-4f4cc591ed71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MunicipalBondsMember_29902323-4c23-480b-909e-e484b7937697" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MunicipalBondsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_60caffae-c453-4e0b-98dd-4f4cc591ed71" xlink:to="loc_us-gaap_MunicipalBondsMember_29902323-4c23-480b-909e-e484b7937697" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/FinancialInstrumentsFinancialInstrumentsDetails3" xlink:type="simple" xlink:href="apog-20230225.xsd#FinancialInstrumentsFinancialInstrumentsDetails3"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/FinancialInstrumentsFinancialInstrumentsDetails3" xlink:type="extended" id="i2daea5c41a0b40a0bd350b5cbf311a7e_FinancialInstrumentsFinancialInstrumentsDetails3">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_490e7785-73d0-46b4-bfc8-9dc1afc02801" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsAtCarryingValue_4609368c-1207-47f1-b3c0-dc0756fb7e71" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MoneyMarketFundsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_490e7785-73d0-46b4-bfc8-9dc1afc02801" xlink:to="loc_us-gaap_MoneyMarketFundsAtCarryingValue_4609368c-1207-47f1-b3c0-dc0756fb7e71" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_LongtermInvestmentsMunicipalAndCorporateBonds_7374e740-1748-4b62-a8d8-0ba697f09aaa" xlink:href="apog-20230225.xsd#apog_LongtermInvestmentsMunicipalAndCorporateBonds"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_490e7785-73d0-46b4-bfc8-9dc1afc02801" xlink:to="loc_apog_LongtermInvestmentsMunicipalAndCorporateBonds_7374e740-1748-4b62-a8d8-0ba697f09aaa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSurrenderValueFairValueDisclosure_102a2de3-e204-4a60-88ab-3707037bfd7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashSurrenderValueFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_490e7785-73d0-46b4-bfc8-9dc1afc02801" xlink:to="loc_us-gaap_CashSurrenderValueFairValueDisclosure_102a2de3-e204-4a60-88ab-3707037bfd7d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_81e28e04-11ca-4531-b1ac-37135539c747" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_490e7785-73d0-46b4-bfc8-9dc1afc02801" xlink:to="loc_us-gaap_DerivativeAssets_81e28e04-11ca-4531-b1ac-37135539c747" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_DeferredCompensationLiabFVDisclosure_0c3e403c-de53-47c7-ae6b-37b498c25f2d" xlink:href="apog-20230225.xsd#apog_DeferredCompensationLiabFVDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_490e7785-73d0-46b4-bfc8-9dc1afc02801" xlink:to="loc_apog_DeferredCompensationLiabFVDisclosure_0c3e403c-de53-47c7-ae6b-37b498c25f2d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_0e1c986e-fada-414c-b476-dafc902aef0b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_490e7785-73d0-46b4-bfc8-9dc1afc02801" xlink:to="loc_us-gaap_DerivativeLiabilities_0e1c986e-fada-414c-b476-dafc902aef0b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_d54f9982-c021-49d8-a8f8-8e039de0ee4f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_490e7785-73d0-46b4-bfc8-9dc1afc02801" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_d54f9982-c021-49d8-a8f8-8e039de0ee4f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_a4a60504-7b30-49dd-b52b-1c75f511a5f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_d54f9982-c021-49d8-a8f8-8e039de0ee4f" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_a4a60504-7b30-49dd-b52b-1c75f511a5f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_a4a60504-7b30-49dd-b52b-1c75f511a5f5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_a4a60504-7b30-49dd-b52b-1c75f511a5f5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_a4a60504-7b30-49dd-b52b-1c75f511a5f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_98d25fef-896e-4b86-be6c-cfcf88b8552e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_a4a60504-7b30-49dd-b52b-1c75f511a5f5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_98d25fef-896e-4b86-be6c-cfcf88b8552e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_d3f3ed92-db8e-4a4c-a8da-91cc41e963fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ForeignExchangeForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_98d25fef-896e-4b86-be6c-cfcf88b8552e" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_d3f3ed92-db8e-4a4c-a8da-91cc41e963fc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_1bf6d9cd-1c7a-4803-aae4-4f442194966c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_98d25fef-896e-4b86-be6c-cfcf88b8552e" xlink:to="loc_us-gaap_InterestRateSwapMember_1bf6d9cd-1c7a-4803-aae4-4f442194966c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityOptionMember_a7a8385b-d644-4707-95e2-0d13dde0203f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommodityOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_98d25fef-896e-4b86-be6c-cfcf88b8552e" xlink:to="loc_us-gaap_CommodityOptionMember_a7a8385b-d644-4707-95e2-0d13dde0203f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f1e40348-27e7-4b99-9530-e306eecb41a7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_d54f9982-c021-49d8-a8f8-8e039de0ee4f" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f1e40348-27e7-4b99-9530-e306eecb41a7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f1e40348-27e7-4b99-9530-e306eecb41a7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f1e40348-27e7-4b99-9530-e306eecb41a7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f1e40348-27e7-4b99-9530-e306eecb41a7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_a8f1ec5c-f885-4c32-9e44-948291d09abb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f1e40348-27e7-4b99-9530-e306eecb41a7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_a8f1ec5c-f885-4c32-9e44-948291d09abb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_e93e9b30-90b8-4ce3-88b6-df87542fb724" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_a8f1ec5c-f885-4c32-9e44-948291d09abb" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_e93e9b30-90b8-4ce3-88b6-df87542fb724" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_53a6007a-33d4-4703-8bf5-18eb42deff2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_a8f1ec5c-f885-4c32-9e44-948291d09abb" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_53a6007a-33d4-4703-8bf5-18eb42deff2d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/FinancialInstrumentsDetailsTextual" xlink:type="simple" xlink:href="apog-20230225.xsd#FinancialInstrumentsDetailsTextual"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/FinancialInstrumentsDetailsTextual" xlink:type="extended" id="i2e76b4f4733241599e30b168824a822f_FinancialInstrumentsDetailsTextual">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_92c8e5d2-ae63-4255-ab79-f7b21e327d43" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_1e2ae763-fd3b-4fa7-ac79-d1b47e8fa690" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_92c8e5d2-ae63-4255-ab79-f7b21e327d43" xlink:to="loc_us-gaap_DerivativeNotionalAmount_1e2ae763-fd3b-4fa7-ac79-d1b47e8fa690" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_988d670b-a0ec-4dd5-9b2b-043808bd010b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_92c8e5d2-ae63-4255-ab79-f7b21e327d43" xlink:to="loc_us-gaap_StatementTable_988d670b-a0ec-4dd5-9b2b-043808bd010b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_406d024f-74f1-4a91-8f59-f60c31a2d48f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_988d670b-a0ec-4dd5-9b2b-043808bd010b" xlink:to="loc_us-gaap_HedgingDesignationAxis_406d024f-74f1-4a91-8f59-f60c31a2d48f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_406d024f-74f1-4a91-8f59-f60c31a2d48f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_406d024f-74f1-4a91-8f59-f60c31a2d48f" xlink:to="loc_us-gaap_HedgingDesignationDomain_406d024f-74f1-4a91-8f59-f60c31a2d48f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_7806b6f2-b4de-47a7-a73a-1e49c48feeb0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_406d024f-74f1-4a91-8f59-f60c31a2d48f" xlink:to="loc_us-gaap_HedgingDesignationDomain_7806b6f2-b4de-47a7-a73a-1e49c48feeb0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_6e4eab30-6947-43e4-80f2-59294a0a3240" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_7806b6f2-b4de-47a7-a73a-1e49c48feeb0" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_6e4eab30-6947-43e4-80f2-59294a0a3240" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_1a3215f6-3c15-49fe-835a-43d9d3be4649" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_988d670b-a0ec-4dd5-9b2b-043808bd010b" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_1a3215f6-3c15-49fe-835a-43d9d3be4649" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1a3215f6-3c15-49fe-835a-43d9d3be4649_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1a3215f6-3c15-49fe-835a-43d9d3be4649" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1a3215f6-3c15-49fe-835a-43d9d3be4649_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_5364a0ac-9349-4b26-b4c4-2b7baeaa72ae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1a3215f6-3c15-49fe-835a-43d9d3be4649" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_5364a0ac-9349-4b26-b4c4-2b7baeaa72ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_1f7fbc8e-3068-457a-a118-e08a26ce3f31" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5364a0ac-9349-4b26-b4c4-2b7baeaa72ae" xlink:to="loc_us-gaap_InterestRateSwapMember_1f7fbc8e-3068-457a-a118-e08a26ce3f31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_7b09fe8b-b8f6-4a3b-89b3-88cb84fc5574" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ForeignExchangeForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5364a0ac-9349-4b26-b4c4-2b7baeaa72ae" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_7b09fe8b-b8f6-4a3b-89b3-88cb84fc5574" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityOptionMember_05eb089f-0262-4991-b07c-d6f455017cf0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommodityOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5364a0ac-9349-4b26-b4c4-2b7baeaa72ae" xlink:to="loc_us-gaap_CommodityOptionMember_05eb089f-0262-4991-b07c-d6f455017cf0" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/PropertyPlantandEquipmentDetails" xlink:type="simple" xlink:href="apog-20230225.xsd#PropertyPlantandEquipmentDetails"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/PropertyPlantandEquipmentDetails" xlink:type="extended" id="i7109a6be1e33468d9da2a338faace23e_PropertyPlantandEquipmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b118b864-82ae-4e57-8524-0b039ba4b555" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_90444445-0792-48d2-b7bc-d0a40df0b636" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b118b864-82ae-4e57-8524-0b039ba4b555" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_90444445-0792-48d2-b7bc-d0a40df0b636" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_dcf61c8f-f0a6-4d2e-a3a8-ea42ec5b8375" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b118b864-82ae-4e57-8524-0b039ba4b555" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_dcf61c8f-f0a6-4d2e-a3a8-ea42ec5b8375" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_4dabb912-4945-4b15-9042-8e8bb9209675" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b118b864-82ae-4e57-8524-0b039ba4b555" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_4dabb912-4945-4b15-9042-8e8bb9209675" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_02e8a098-795b-43a8-a092-845203389384" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b118b864-82ae-4e57-8524-0b039ba4b555" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_02e8a098-795b-43a8-a092-845203389384" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_ff441661-2a03-42d6-bbae-fac174bc48dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_02e8a098-795b-43a8-a092-845203389384" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_ff441661-2a03-42d6-bbae-fac174bc48dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ff441661-2a03-42d6-bbae-fac174bc48dc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_ff441661-2a03-42d6-bbae-fac174bc48dc" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ff441661-2a03-42d6-bbae-fac174bc48dc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_df00e7de-f59d-464c-9b04-9e7e3866fb22" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_ff441661-2a03-42d6-bbae-fac174bc48dc" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_df00e7de-f59d-464c-9b04-9e7e3866fb22" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandMember_9fc7368d-0cea-46ac-9065-48956659379e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_df00e7de-f59d-464c-9b04-9e7e3866fb22" xlink:to="loc_us-gaap_LandMember_9fc7368d-0cea-46ac-9065-48956659379e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_91a1b31d-98e0-473f-9bc6-d5ac0be42d48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_df00e7de-f59d-464c-9b04-9e7e3866fb22" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_91a1b31d-98e0-473f-9bc6-d5ac0be42d48" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_58dcec60-208c-4414-9071-89eb90e32ff5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_df00e7de-f59d-464c-9b04-9e7e3866fb22" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_58dcec60-208c-4414-9071-89eb90e32ff5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_fa23efb1-de93-4c19-81f1-a1450a5f6106" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_df00e7de-f59d-464c-9b04-9e7e3866fb22" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_fa23efb1-de93-4c19-81f1-a1450a5f6106" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_b7acc234-3cf4-47c3-b0ab-0f383b5e7e73" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConstructionInProgressMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_df00e7de-f59d-464c-9b04-9e7e3866fb22" xlink:to="loc_us-gaap_ConstructionInProgressMember_b7acc234-3cf4-47c3-b0ab-0f383b5e7e73" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/GoodwillandOtherIdentifiableIntangibleAssetsDetails" xlink:type="simple" xlink:href="apog-20230225.xsd#GoodwillandOtherIdentifiableIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/GoodwillandOtherIdentifiableIntangibleAssetsDetails" xlink:type="extended" id="i6dbe293d0a464672aaf0a11cd6d0516b_GoodwillandOtherIdentifiableIntangibleAssetsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_08ba44ed-2a1c-42e8-89c8-e9a01db0cf83" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillRollForward_289d9434-5711-4131-970d-268fb39d8231" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_08ba44ed-2a1c-42e8-89c8-e9a01db0cf83" xlink:to="loc_us-gaap_GoodwillRollForward_289d9434-5711-4131-970d-268fb39d8231" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_bd901864-134e-4ae1-b12c-fb2067861bec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_289d9434-5711-4131-970d-268fb39d8231" xlink:to="loc_us-gaap_Goodwill_bd901864-134e-4ae1-b12c-fb2067861bec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_fe4deace-194f-4087-8e5a-6ddf8f3f5d0d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_289d9434-5711-4131-970d-268fb39d8231" xlink:to="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_fe4deace-194f-4087-8e5a-6ddf8f3f5d0d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_GoodwillReallocation_f198f1e2-fbef-4a5f-874f-acebf4f0857b" xlink:href="apog-20230225.xsd#apog_GoodwillReallocation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_289d9434-5711-4131-970d-268fb39d8231" xlink:to="loc_apog_GoodwillReallocation_f198f1e2-fbef-4a5f-874f-acebf4f0857b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_3cf5210a-e261-4526-9338-3f20ad063a17" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_36c04320-7e56-45c6-bff2-e13d8e7404c1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_08ba44ed-2a1c-42e8-89c8-e9a01db0cf83" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_36c04320-7e56-45c6-bff2-e13d8e7404c1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_b52c559d-c572-4ea4-9c13-ca7a81083e52" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_36c04320-7e56-45c6-bff2-e13d8e7404c1" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_b52c559d-c572-4ea4-9c13-ca7a81083e52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_b52c559d-c572-4ea4-9c13-ca7a81083e52_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_b52c559d-c572-4ea4-9c13-ca7a81083e52" xlink:to="loc_us-gaap_SegmentDomain_b52c559d-c572-4ea4-9c13-ca7a81083e52_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_e0f169f7-6dc2-47e4-a7ab-042d942de627" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_b52c559d-c572-4ea4-9c13-ca7a81083e52" xlink:to="loc_us-gaap_SegmentDomain_e0f169f7-6dc2-47e4-a7ab-042d942de627" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalFramingSegmentMember_822462f9-d213-46b7-9680-81149fe2ac7f" xlink:href="apog-20230225.xsd#apog_ArchitecturalFramingSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_e0f169f7-6dc2-47e4-a7ab-042d942de627" xlink:to="loc_apog_ArchitecturalFramingSegmentMember_822462f9-d213-46b7-9680-81149fe2ac7f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalServicesSegmentMember_4940c0f6-1867-4cd1-94c3-df7afe62a56b" xlink:href="apog-20230225.xsd#apog_ArchitecturalServicesSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_e0f169f7-6dc2-47e4-a7ab-042d942de627" xlink:to="loc_apog_ArchitecturalServicesSegmentMember_4940c0f6-1867-4cd1-94c3-df7afe62a56b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalGlassSegmentMember_a08a5b63-2028-4614-8f10-e72862faee9c" xlink:href="apog-20230225.xsd#apog_ArchitecturalGlassSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_e0f169f7-6dc2-47e4-a7ab-042d942de627" xlink:to="loc_apog_ArchitecturalGlassSegmentMember_a08a5b63-2028-4614-8f10-e72862faee9c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_LargeScaleOpticalMember_6d9d1a8b-9db6-4dde-b736-7870c38bea22" xlink:href="apog-20230225.xsd#apog_LargeScaleOpticalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_e0f169f7-6dc2-47e4-a7ab-042d942de627" xlink:to="loc_apog_LargeScaleOpticalMember_6d9d1a8b-9db6-4dde-b736-7870c38bea22" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/GoodwillandOtherIdentifiableIntangibleAssetsDetails1" xlink:type="simple" xlink:href="apog-20230225.xsd#GoodwillandOtherIdentifiableIntangibleAssetsDetails1"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/GoodwillandOtherIdentifiableIntangibleAssetsDetails1" xlink:type="extended" id="i57bd51defb7b49fd8219f22d5841ad71_GoodwillandOtherIdentifiableIntangibleAssetsDetails1">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_2a188eb0-ee21-42e5-bd05-5cc25ef40e3d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_2a188eb0-ee21-42e5-bd05-5cc25ef40e3d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_be93b666-df66-4cdb-8e2a-240c584362c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_be93b666-df66-4cdb-8e2a-240c584362c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_IntangibleAssetsAccumulatedAmortization_b13db5e0-f5c8-4d0b-966d-1162c49c3c88" xlink:href="apog-20230225.xsd#apog_IntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:to="loc_apog_IntangibleAssetsAccumulatedAmortization_b13db5e0-f5c8-4d0b-966d-1162c49c3c88" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_d3a48a21-1f6f-40e7-811b-817e50f41bd7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_d3a48a21-1f6f-40e7-811b-817e50f41bd7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_d992ec57-e207-4747-b866-269d8b008cdf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_d992ec57-e207-4747-b866-269d8b008cdf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_241a234c-1f66-4a04-8008-68c58f6a9f4e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_241a234c-1f66-4a04-8008-68c58f6a9f4e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_e3a163ee-96f1-4883-84f6-7b912f332101" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_e3a163ee-96f1-4883-84f6-7b912f332101" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_df633608-4f5f-415f-989e-7f8690246214" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_df633608-4f5f-415f-989e-7f8690246214" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_ed29ce43-42f6-4016-8151-be7a0d8748ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_ed29ce43-42f6-4016-8151-be7a0d8748ca" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_IndefinitelivedIntangibleAssetsExcludingGoodwillNetoftranslationadjustments_1486b87d-3947-493d-aeb6-7279016a3a15" xlink:href="apog-20230225.xsd#apog_IndefinitelivedIntangibleAssetsExcludingGoodwillNetoftranslationadjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:to="loc_apog_IndefinitelivedIntangibleAssetsExcludingGoodwillNetoftranslationadjustments_1486b87d-3947-493d-aeb6-7279016a3a15" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_ece4213c-98d2-44a6-b7f5-4116e25570d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_ece4213c-98d2-44a6-b7f5-4116e25570d1" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_695e968f-f81c-4d02-a62e-4313371633cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_695e968f-f81c-4d02-a62e-4313371633cc" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_5180d124-0619-4a1f-87e7-7d11bf685d6a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_20cd628c-fb9c-48d5-a3ca-4ede30629080" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_5180d124-0619-4a1f-87e7-7d11bf685d6a" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_09b42372-aefc-45ac-adcb-601c0222b040" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_2a188eb0-ee21-42e5-bd05-5cc25ef40e3d" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_09b42372-aefc-45ac-adcb-601c0222b040" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_f8b7090a-1465-4397-839c-a4df1d4eaff7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_09b42372-aefc-45ac-adcb-601c0222b040" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_f8b7090a-1465-4397-839c-a4df1d4eaff7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_f8b7090a-1465-4397-839c-a4df1d4eaff7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_f8b7090a-1465-4397-839c-a4df1d4eaff7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_f8b7090a-1465-4397-839c-a4df1d4eaff7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_d4c76146-c26a-4a13-87ea-118961f42e46" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_f8b7090a-1465-4397-839c-a4df1d4eaff7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_d4c76146-c26a-4a13-87ea-118961f42e46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_9e80b705-eb4a-49ca-8d95-1b20fb5dc747" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_d4c76146-c26a-4a13-87ea-118961f42e46" xlink:to="loc_us-gaap_CustomerRelationshipsMember_9e80b705-eb4a-49ca-8d95-1b20fb5dc747" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_c7cfe07b-7771-4c88-8f43-e414327b7be0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_d4c76146-c26a-4a13-87ea-118961f42e46" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_c7cfe07b-7771-4c88-8f43-e414327b7be0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_2be7fc11-4bf0-40a2-8b7d-f5cd4254b3f3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TrademarksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_d4c76146-c26a-4a13-87ea-118961f42e46" xlink:to="loc_us-gaap_TrademarksMember_2be7fc11-4bf0-40a2-8b7d-f5cd4254b3f3" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/GoodwillandOtherIdentifiableIntangibleAssetsDetailsTextual" xlink:type="simple" xlink:href="apog-20230225.xsd#GoodwillandOtherIdentifiableIntangibleAssetsDetailsTextual"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/GoodwillandOtherIdentifiableIntangibleAssetsDetailsTextual" xlink:type="extended" id="i98b182106c914ae68cb05e8dc691dc4d_GoodwillandOtherIdentifiableIntangibleAssetsDetailsTextual">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_54e858b0-ec2a-4590-b407-0fa3ab3f3985" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_f7d11a6e-7c08-47a3-86b5-405eba25da57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_54e858b0-ec2a-4590-b407-0fa3ab3f3985" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_f7d11a6e-7c08-47a3-86b5-405eba25da57" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_07879f05-c3db-4e86-b808-55b341f98eba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_54e858b0-ec2a-4590-b407-0fa3ab3f3985" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_07879f05-c3db-4e86-b808-55b341f98eba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_3af5ecf5-e11a-4fd6-8753-880e0d5ce227" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_54e858b0-ec2a-4590-b407-0fa3ab3f3985" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_3af5ecf5-e11a-4fd6-8753-880e0d5ce227" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_51fb45d6-d718-46e1-9b5c-cdfd715f0d8b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_54e858b0-ec2a-4590-b407-0fa3ab3f3985" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_51fb45d6-d718-46e1-9b5c-cdfd715f0d8b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReportingUnitAxis_88700864-bb67-405b-934f-50cfb8db02ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReportingUnitAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_51fb45d6-d718-46e1-9b5c-cdfd715f0d8b" xlink:to="loc_us-gaap_ReportingUnitAxis_88700864-bb67-405b-934f-50cfb8db02ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReportingUnitDomain_88700864-bb67-405b-934f-50cfb8db02ee_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReportingUnitDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ReportingUnitAxis_88700864-bb67-405b-934f-50cfb8db02ee" xlink:to="loc_us-gaap_ReportingUnitDomain_88700864-bb67-405b-934f-50cfb8db02ee_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReportingUnitDomain_c6f086b1-e0ea-452a-9dea-71d19976441f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReportingUnitDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ReportingUnitAxis_88700864-bb67-405b-934f-50cfb8db02ee" xlink:to="loc_us-gaap_ReportingUnitDomain_c6f086b1-e0ea-452a-9dea-71d19976441f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_SotawallMember_37ee2547-7cfd-4050-b3b4-73d1c4737b5c" xlink:href="apog-20230225.xsd#apog_SotawallMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReportingUnitDomain_c6f086b1-e0ea-452a-9dea-71d19976441f" xlink:to="loc_apog_SotawallMember_37ee2547-7cfd-4050-b3b4-73d1c4737b5c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/DebtDetailsTextual" xlink:type="simple" xlink:href="apog-20230225.xsd#DebtDetailsTextual"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/DebtDetailsTextual" xlink:type="extended" id="i5ea40eb4e5324cb19414df0f97d8dd29_DebtDetailsTextual">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_48735d43-949a-4ac5-9af9-969c9714907a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_DebtTextualAbstract_ff1597dd-49bd-402e-9398-94b25c96697d" xlink:href="apog-20230225.xsd#apog_DebtTextualAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_48735d43-949a-4ac5-9af9-969c9714907a" xlink:to="loc_apog_DebtTextualAbstract_ff1597dd-49bd-402e-9398-94b25c96697d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_8f17ecc4-e4ea-4a9c-a0d3-13c9d49b8f98" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_DebtTextualAbstract_ff1597dd-49bd-402e-9398-94b25c96697d" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_8f17ecc4-e4ea-4a9c-a0d3-13c9d49b8f98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_24e02e7a-41e7-439e-b6bb-f4fb5963dcee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_DebtTextualAbstract_ff1597dd-49bd-402e-9398-94b25c96697d" xlink:to="loc_us-gaap_LineOfCredit_24e02e7a-41e7-439e-b6bb-f4fb5963dcee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_8a17c9af-9471-495e-b0a9-27802e9e8326" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_DebtTextualAbstract_ff1597dd-49bd-402e-9398-94b25c96697d" xlink:to="loc_us-gaap_LongTermDebt_8a17c9af-9471-495e-b0a9-27802e9e8326" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPaid_df28b00f-b088-4e13-8c8b-7ade3e128a9b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_DebtTextualAbstract_ff1597dd-49bd-402e-9398-94b25c96697d" xlink:to="loc_us-gaap_InterestPaid_df28b00f-b088-4e13-8c8b-7ade3e128a9b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_adf1cab0-16f5-4f14-b713-e5682a2598c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_48735d43-949a-4ac5-9af9-969c9714907a" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_adf1cab0-16f5-4f14-b713-e5682a2598c2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_65998014-7824-4170-9d35-dbb00c53a707" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_adf1cab0-16f5-4f14-b713-e5682a2598c2" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_65998014-7824-4170-9d35-dbb00c53a707" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_65998014-7824-4170-9d35-dbb00c53a707_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_65998014-7824-4170-9d35-dbb00c53a707" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_65998014-7824-4170-9d35-dbb00c53a707_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7a0d92b4-1413-4be5-a1e3-f9098d4e1a5d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_65998014-7824-4170-9d35-dbb00c53a707" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7a0d92b4-1413-4be5-a1e3-f9098d4e1a5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_de471f80-0244-4c9f-9458-f7e31b02dd27" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_7a0d92b4-1413-4be5-a1e3-f9098d4e1a5d" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_de471f80-0244-4c9f-9458-f7e31b02dd27" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_TermLoanMember_9a06b62e-d4a9-4d31-a3d1-228f4fd8185e" xlink:href="apog-20230225.xsd#apog_TermLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_7a0d92b4-1413-4be5-a1e3-f9098d4e1a5d" xlink:to="loc_apog_TermLoanMember_9a06b62e-d4a9-4d31-a3d1-228f4fd8185e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_b488d32d-ba48-4afe-9c69-64c1c50fe2e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_7a0d92b4-1413-4be5-a1e3-f9098d4e1a5d" xlink:to="loc_us-gaap_LineOfCreditMember_b488d32d-ba48-4afe-9c69-64c1c50fe2e0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_RecoveryZoneFacilityBondsMember_6345bab2-3587-4df6-abed-0d7ca76c16d0" xlink:href="apog-20230225.xsd#apog_RecoveryZoneFacilityBondsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_7a0d92b4-1413-4be5-a1e3-f9098d4e1a5d" xlink:to="loc_apog_RecoveryZoneFacilityBondsMember_6345bab2-3587-4df6-abed-0d7ca76c16d0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_3e3f45d8-c8ca-4841-ae0d-c547419729a8" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_adf1cab0-16f5-4f14-b713-e5682a2598c2" xlink:to="loc_srt_StatementGeographicalAxis_3e3f45d8-c8ca-4841-ae0d-c547419729a8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_3e3f45d8-c8ca-4841-ae0d-c547419729a8_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_3e3f45d8-c8ca-4841-ae0d-c547419729a8" xlink:to="loc_srt_SegmentGeographicalDomain_3e3f45d8-c8ca-4841-ae0d-c547419729a8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_84e2fe7e-43b0-4caa-ab66-60d3c68d6743" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_3e3f45d8-c8ca-4841-ae0d-c547419729a8" xlink:to="loc_srt_SegmentGeographicalDomain_84e2fe7e-43b0-4caa-ab66-60d3c68d6743" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CA_22cc7932-b5f6-4c11-a99d-01374d9378a5" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_CA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_84e2fe7e-43b0-4caa-ab66-60d3c68d6743" xlink:to="loc_country_CA_22cc7932-b5f6-4c11-a99d-01374d9378a5" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/EmployeeBenefitPlansMultiemployerPlans" xlink:type="simple" xlink:href="apog-20230225.xsd#EmployeeBenefitPlansMultiemployerPlans"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/EmployeeBenefitPlansMultiemployerPlans" xlink:type="extended" id="i2b4b76beff7e40b49f539324aa828ece_EmployeeBenefitPlansMultiemployerPlans">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlansLineItems_243c9b4b-6f68-4d6e-98da-96bead886c63" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MultiemployerPlansLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanPensionSignificantEmployerIdentificationNumber_b0d9d19b-4d0e-4fa0-ad65-fa46c4d9fcee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MultiemployerPlanPensionSignificantEmployerIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_243c9b4b-6f68-4d6e-98da-96bead886c63" xlink:to="loc_us-gaap_MultiemployerPlanPensionSignificantEmployerIdentificationNumber_b0d9d19b-4d0e-4fa0-ad65-fa46c4d9fcee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanPensionSignificantCertifiedZoneStatusFixedList_84e43d38-dbc2-4b01-904a-aea5872fd0b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MultiemployerPlanPensionSignificantCertifiedZoneStatusFixedList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_243c9b4b-6f68-4d6e-98da-96bead886c63" xlink:to="loc_us-gaap_MultiemployerPlanPensionSignificantCertifiedZoneStatusFixedList_84e43d38-dbc2-4b01-904a-aea5872fd0b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanPensionSignificantEmployerContributionCost_b2beb4e0-6555-40c9-9ef6-d98fe1acfd8a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MultiemployerPlanPensionSignificantEmployerContributionCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_243c9b4b-6f68-4d6e-98da-96bead886c63" xlink:to="loc_us-gaap_MultiemployerPlanPensionSignificantEmployerContributionCost_b2beb4e0-6555-40c9-9ef6-d98fe1acfd8a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanPensionSignificantFundingImprovementOrRehabilitationPlanImplementationStatusFixedList_58d6aadf-6d4c-4aa7-8bb5-19af1cc7042b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MultiemployerPlanPensionSignificantFundingImprovementOrRehabilitationPlanImplementationStatusFixedList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_243c9b4b-6f68-4d6e-98da-96bead886c63" xlink:to="loc_us-gaap_MultiemployerPlanPensionSignificantFundingImprovementOrRehabilitationPlanImplementationStatusFixedList_58d6aadf-6d4c-4aa7-8bb5-19af1cc7042b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanPensionSignificantSurchargeFixedList_180c0b8a-cedd-4d0a-ac6a-b811862b84ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MultiemployerPlanPensionSignificantSurchargeFixedList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_243c9b4b-6f68-4d6e-98da-96bead886c63" xlink:to="loc_us-gaap_MultiemployerPlanPensionSignificantSurchargeFixedList_180c0b8a-cedd-4d0a-ac6a-b811862b84ad" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanPensionSignificantCollectiveBargainingArrangementExpirationDate_be84b23d-d30d-43a7-a3dc-5c868fda8a49" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MultiemployerPlanPensionSignificantCollectiveBargainingArrangementExpirationDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_243c9b4b-6f68-4d6e-98da-96bead886c63" xlink:to="loc_us-gaap_MultiemployerPlanPensionSignificantCollectiveBargainingArrangementExpirationDate_be84b23d-d30d-43a7-a3dc-5c868fda8a49" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanPensionInsignificantEmployerContributionCost_493d50e5-f302-4bd0-bf61-e03ab9aa223f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MultiemployerPlanPensionInsignificantEmployerContributionCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_243c9b4b-6f68-4d6e-98da-96bead886c63" xlink:to="loc_us-gaap_MultiemployerPlanPensionInsignificantEmployerContributionCost_493d50e5-f302-4bd0-bf61-e03ab9aa223f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanEmployerContributionCost_84654b84-4af2-4c6d-92ce-c3597162cdc8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MultiemployerPlanEmployerContributionCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_243c9b4b-6f68-4d6e-98da-96bead886c63" xlink:to="loc_us-gaap_MultiemployerPlanEmployerContributionCost_84654b84-4af2-4c6d-92ce-c3597162cdc8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfMultiemployerPlansTable_0c3fe7ea-e301-4cb0-819c-549a73dde5c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfMultiemployerPlansTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_243c9b4b-6f68-4d6e-98da-96bead886c63" xlink:to="loc_us-gaap_ScheduleOfMultiemployerPlansTable_0c3fe7ea-e301-4cb0-819c-549a73dde5c0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameAxis_6e6ab208-3e2c-4839-a574-9b9077ac8d88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetirementPlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_0c3fe7ea-e301-4cb0-819c-549a73dde5c0" xlink:to="loc_us-gaap_RetirementPlanNameAxis_6e6ab208-3e2c-4839-a574-9b9077ac8d88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_6e6ab208-3e2c-4839-a574-9b9077ac8d88_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_6e6ab208-3e2c-4839-a574-9b9077ac8d88" xlink:to="loc_us-gaap_RetirementPlanNameDomain_6e6ab208-3e2c-4839-a574-9b9077ac8d88_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_9ac18ce5-841c-4e32-bc05-3019776b5016" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_6e6ab208-3e2c-4839-a574-9b9077ac8d88" xlink:to="loc_us-gaap_RetirementPlanNameDomain_9ac18ce5-841c-4e32-bc05-3019776b5016" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_IronWorkersLocalUnionNo5AndIronWorkersEmployersAssociationEmployeesPensionTrustFundMember_8e1e15b1-e2f7-4602-9989-25fa63458984" xlink:href="apog-20230225.xsd#apog_IronWorkersLocalUnionNo5AndIronWorkersEmployersAssociationEmployeesPensionTrustFundMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_9ac18ce5-841c-4e32-bc05-3019776b5016" xlink:to="loc_apog_IronWorkersLocalUnionNo5AndIronWorkersEmployersAssociationEmployeesPensionTrustFundMember_8e1e15b1-e2f7-4602-9989-25fa63458984" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_InternationalPaintersAndAlliedTradesIndustryPensionFundMember_f6cfdea4-1caa-4ed7-84b5-de9db74ad663" xlink:href="apog-20230225.xsd#apog_InternationalPaintersAndAlliedTradesIndustryPensionFundMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_9ac18ce5-841c-4e32-bc05-3019776b5016" xlink:to="loc_apog_InternationalPaintersAndAlliedTradesIndustryPensionFundMember_f6cfdea4-1caa-4ed7-84b5-de9db74ad663" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_WesternGlaziersRetirementPlanWashingtonMember_1169e456-9abd-4ea1-b10d-77003adf117c" xlink:href="apog-20230225.xsd#apog_WesternGlaziersRetirementPlanWashingtonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_9ac18ce5-841c-4e32-bc05-3019776b5016" xlink:to="loc_apog_WesternGlaziersRetirementPlanWashingtonMember_1169e456-9abd-4ea1-b10d-77003adf117c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_IronWorkersLocal580ShopPensionFundMember_9c54dacd-6f86-4368-8a23-a6e0aacb4c64" xlink:href="apog-20230225.xsd#apog_IronWorkersLocal580ShopPensionFundMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_9ac18ce5-841c-4e32-bc05-3019776b5016" xlink:to="loc_apog_IronWorkersLocal580ShopPensionFundMember_9c54dacd-6f86-4368-8a23-a6e0aacb4c64" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_WesternGlaziersRetirementFundOregonAndSouthwestWashingtonMember_667bc7f9-7608-4684-904b-a1cdf169dcdd" xlink:href="apog-20230225.xsd#apog_WesternGlaziersRetirementFundOregonAndSouthwestWashingtonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_9ac18ce5-841c-4e32-bc05-3019776b5016" xlink:to="loc_apog_WesternGlaziersRetirementFundOregonAndSouthwestWashingtonMember_667bc7f9-7608-4684-904b-a1cdf169dcdd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_IronWorkersMidAmericaPensionFundMember_13de428c-5103-4006-ac70-5d2ff6a73693" xlink:href="apog-20230225.xsd#apog_IronWorkersMidAmericaPensionFundMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_9ac18ce5-841c-4e32-bc05-3019776b5016" xlink:to="loc_apog_IronWorkersMidAmericaPensionFundMember_13de428c-5103-4006-ac70-5d2ff6a73693" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_GlaziersUnionLocal27PensionAndRetirementPlanMember_e275be2a-a5f7-48c6-99e4-89d95c9bde61" xlink:href="apog-20230225.xsd#apog_GlaziersUnionLocal27PensionAndRetirementPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_9ac18ce5-841c-4e32-bc05-3019776b5016" xlink:to="loc_apog_GlaziersUnionLocal27PensionAndRetirementPlanMember_e275be2a-a5f7-48c6-99e4-89d95c9bde61" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_AtlantaIronworkersLocalUnion387PensionPlanMember_df820f01-12d5-40c1-8d91-183b2227f1c7" xlink:href="apog-20230225.xsd#apog_AtlantaIronworkersLocalUnion387PensionPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_9ac18ce5-841c-4e32-bc05-3019776b5016" xlink:to="loc_apog_AtlantaIronworkersLocalUnion387PensionPlanMember_df820f01-12d5-40c1-8d91-183b2227f1c7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_27135918-9ee6-4aea-a209-e7cf7b63a126" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_0c3fe7ea-e301-4cb0-819c-549a73dde5c0" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_27135918-9ee6-4aea-a209-e7cf7b63a126" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_27135918-9ee6-4aea-a209-e7cf7b63a126_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_27135918-9ee6-4aea-a209-e7cf7b63a126" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_27135918-9ee6-4aea-a209-e7cf7b63a126_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_f13f7c01-6687-4371-815f-4b2df6f9b83b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_27135918-9ee6-4aea-a209-e7cf7b63a126" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_f13f7c01-6687-4371-815f-4b2df6f9b83b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_47f1c816-cb76-42bd-b5dc-80bac6f9c914" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_f13f7c01-6687-4371-815f-4b2df6f9b83b" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_47f1c816-cb76-42bd-b5dc-80bac6f9c914" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/EmployeeBenefitPlansDetailsTextual" xlink:type="simple" xlink:href="apog-20230225.xsd#EmployeeBenefitPlansDetailsTextual"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/EmployeeBenefitPlansDetailsTextual" xlink:type="extended" id="i63e7975fba3d4a158ca4d4e2f74e9da8_EmployeeBenefitPlansDetailsTextual">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_NumberOfManufacturingFacilitiesThatUnionEmployeesAreCoveredWith401KPlan_f1083f4a-3a26-4d21-a58e-1ae024992fa8" xlink:href="apog-20230225.xsd#apog_NumberOfManufacturingFacilitiesThatUnionEmployeesAreCoveredWith401KPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_apog_NumberOfManufacturingFacilitiesThatUnionEmployeesAreCoveredWith401KPlan_f1083f4a-3a26-4d21-a58e-1ae024992fa8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent_5f7a0d70-b83c-490b-aea9-60cbbc9f8ddd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent_5f7a0d70-b83c-490b-aea9-60cbbc9f8ddd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent_695d2d69-7388-4905-bf00-7642d99d179e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent_695d2d69-7388-4905-bf00-7642d99d179e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch_3a696e06-dd8f-45e3-b5b1-ad152f62b957" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch_3a696e06-dd8f-45e3-b5b1-ad152f62b957" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_DefinedContributionPlanEmployerContributionAmount_712f2ba1-e497-4dc1-b645-93bdae22988b" xlink:href="apog-20230225.xsd#apog_DefinedContributionPlanEmployerContributionAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_apog_DefinedContributionPlanEmployerContributionAmount_712f2ba1-e497-4dc1-b645-93bdae22988b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrentAndNoncurrent_2fa64ff6-682f-4c6c-b72c-45341cdd64dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredCompensationLiabilityCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrentAndNoncurrent_2fa64ff6-682f-4c6c-b72c-45341cdd64dd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LifeInsuranceCorporateOrBankOwnedAmount_e991c3d7-4177-4de5-b787-9a88039e3514" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LifeInsuranceCorporateOrBankOwnedAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_us-gaap_LifeInsuranceCorporateOrBankOwnedAmount_e991c3d7-4177-4de5-b787-9a88039e3514" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_MutualFundInvestments_9b313417-1845-40eb-b555-899a9bbd1cf0" xlink:href="apog-20230225.xsd#apog_MutualFundInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_apog_MutualFundInvestments_9b313417-1845-40eb-b555-899a9bbd1cf0" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_3278e03d-2c9a-4119-9e2e-9dd6350daf18" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_3278e03d-2c9a-4119-9e2e-9dd6350daf18" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_6e95ae97-5e8a-4f1b-acb3-4306b16fe838" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_6e95ae97-5e8a-4f1b-acb3-4306b16fe838" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_b1096e21-29bd-450d-9d45-28f566b429c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_b1096e21-29bd-450d-9d45-28f566b429c5" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanEmployerContributionCost_055118f5-d23c-41bf-a89e-1c3d02833e95" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MultiemployerPlanEmployerContributionCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_us-gaap_MultiemployerPlanEmployerContributionCost_055118f5-d23c-41bf-a89e-1c3d02833e95" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_81a67a69-15b5-4221-a60b-49a48593ef29" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_81a67a69-15b5-4221-a60b-49a48593ef29" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_eeece65c-40f7-4092-9d8e-87d7c471317d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_75e69f1a-2ba7-4f13-942b-3bb30280b664" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_eeece65c-40f7-4092-9d8e-87d7c471317d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionAxis_39323748-c52e-4417-8199-8bc7de230d0f" xlink:href="apog-20230225.xsd#apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_eeece65c-40f7-4092-9d8e-87d7c471317d" xlink:to="loc_apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionAxis_39323748-c52e-4417-8199-8bc7de230d0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionDomain_39323748-c52e-4417-8199-8bc7de230d0f_default" xlink:href="apog-20230225.xsd#apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionAxis_39323748-c52e-4417-8199-8bc7de230d0f" xlink:to="loc_apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionDomain_39323748-c52e-4417-8199-8bc7de230d0f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionDomain_5ff8ab9e-c9fe-4c38-8d09-5d2d0cbdcfe6" xlink:href="apog-20230225.xsd#apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionAxis_39323748-c52e-4417-8199-8bc7de230d0f" xlink:to="loc_apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionDomain_5ff8ab9e-c9fe-4c38-8d09-5d2d0cbdcfe6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_FirstOnePercentMember_9ef94084-19b8-48ef-8ab8-31410c6d2a20" xlink:href="apog-20230225.xsd#apog_FirstOnePercentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionDomain_5ff8ab9e-c9fe-4c38-8d09-5d2d0cbdcfe6" xlink:to="loc_apog_FirstOnePercentMember_9ef94084-19b8-48ef-8ab8-31410c6d2a20" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_TwoThroughSixPercentMember_2f6a39cd-0d12-4c27-8436-863895134b1d" xlink:href="apog-20230225.xsd#apog_TwoThroughSixPercentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionDomain_5ff8ab9e-c9fe-4c38-8d09-5d2d0cbdcfe6" xlink:to="loc_apog_TwoThroughSixPercentMember_2f6a39cd-0d12-4c27-8436-863895134b1d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_FirstTwoPercentMember_842ca37b-6a8e-475e-8244-1f6c524fdf3d" xlink:href="apog-20230225.xsd#apog_FirstTwoPercentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionDomain_5ff8ab9e-c9fe-4c38-8d09-5d2d0cbdcfe6" xlink:to="loc_apog_FirstTwoPercentMember_842ca37b-6a8e-475e-8244-1f6c524fdf3d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ThreeThroughSixPercentMember_a7d8c7af-c29e-447a-855b-a70004ecd861" xlink:href="apog-20230225.xsd#apog_ThreeThroughSixPercentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_DefinedContributionPlanEmployerContributionMatchLevelBasedOnEmployeeContributionDomain_5ff8ab9e-c9fe-4c38-8d09-5d2d0cbdcfe6" xlink:to="loc_apog_ThreeThroughSixPercentMember_a7d8c7af-c29e-447a-855b-a70004ecd861" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_2508b9ae-59fe-4bd7-81fe-5a6752df6e73" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_eeece65c-40f7-4092-9d8e-87d7c471317d" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_2508b9ae-59fe-4bd7-81fe-5a6752df6e73" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_2508b9ae-59fe-4bd7-81fe-5a6752df6e73_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_2508b9ae-59fe-4bd7-81fe-5a6752df6e73" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_2508b9ae-59fe-4bd7-81fe-5a6752df6e73_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_ae84a5e7-ebe4-4376-ac51-b78a328dd9f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_2508b9ae-59fe-4bd7-81fe-5a6752df6e73" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_ae84a5e7-ebe4-4376-ac51-b78a328dd9f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_OtherCurrentAndOtherNoncurrentLiabilitiesMember_e6eb822a-a094-4f11-be09-01cee5ab97a1" xlink:href="apog-20230225.xsd#apog_OtherCurrentAndOtherNoncurrentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_ae84a5e7-ebe4-4376-ac51-b78a328dd9f0" xlink:to="loc_apog_OtherCurrentAndOtherNoncurrentLiabilitiesMember_e6eb822a-a094-4f11-be09-01cee5ab97a1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_fa45ee38-8757-4f44-b3c5-f0adf293dc74" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_eeece65c-40f7-4092-9d8e-87d7c471317d" xlink:to="loc_srt_StatementScenarioAxis_fa45ee38-8757-4f44-b3c5-f0adf293dc74" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_fa45ee38-8757-4f44-b3c5-f0adf293dc74_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_fa45ee38-8757-4f44-b3c5-f0adf293dc74" xlink:to="loc_srt_ScenarioUnspecifiedDomain_fa45ee38-8757-4f44-b3c5-f0adf293dc74_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_46542fcc-173a-4bda-a424-f4fcda715900" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_fa45ee38-8757-4f44-b3c5-f0adf293dc74" xlink:to="loc_srt_ScenarioUnspecifiedDomain_46542fcc-173a-4bda-a424-f4fcda715900" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember_59e1d90b-4ee8-45cb-afc9-db4a23bc233e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScenarioForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_46542fcc-173a-4bda-a424-f4fcda715900" xlink:to="loc_srt_ScenarioForecastMember_59e1d90b-4ee8-45cb-afc9-db4a23bc233e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameAxis_a4bb97c7-01e5-4846-9bc5-5e697ca8ade5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetirementPlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_eeece65c-40f7-4092-9d8e-87d7c471317d" xlink:to="loc_us-gaap_RetirementPlanNameAxis_a4bb97c7-01e5-4846-9bc5-5e697ca8ade5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_a4bb97c7-01e5-4846-9bc5-5e697ca8ade5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_a4bb97c7-01e5-4846-9bc5-5e697ca8ade5" xlink:to="loc_us-gaap_RetirementPlanNameDomain_a4bb97c7-01e5-4846-9bc5-5e697ca8ade5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_b609cfda-2146-4dde-b6ad-5233f3474532" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_a4bb97c7-01e5-4846-9bc5-5e697ca8ade5" xlink:to="loc_us-gaap_RetirementPlanNameDomain_b609cfda-2146-4dde-b6ad-5233f3474532" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_MultiemployerPlansDefinedContributionMember_380f941d-91c9-47f5-8a54-c9fea6f09149" xlink:href="apog-20230225.xsd#apog_MultiemployerPlansDefinedContributionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_b609cfda-2146-4dde-b6ad-5233f3474532" xlink:to="loc_apog_MultiemployerPlansDefinedContributionMember_380f941d-91c9-47f5-8a54-c9fea6f09149" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/CommitmentsandContingentLiabilitiesDetails2" xlink:type="simple" xlink:href="apog-20230225.xsd#CommitmentsandContingentLiabilitiesDetails2"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/CommitmentsandContingentLiabilitiesDetails2" xlink:type="extended" id="i067cb75d437f435f8e53699728686788_CommitmentsandContingentLiabilitiesDetails2">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_894ea202-b83b-4075-b737-5233f0f77347" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_GrossProceedsFromNewMarketsTaxCreditTransaction_37310d6a-944a-4125-8b10-827bf3a7d5d0" xlink:href="apog-20230225.xsd#apog_GrossProceedsFromNewMarketsTaxCreditTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_894ea202-b83b-4075-b737-5233f0f77347" xlink:to="loc_apog_GrossProceedsFromNewMarketsTaxCreditTransaction_37310d6a-944a-4125-8b10-827bf3a7d5d0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCostsCurrentAndNoncurrent_09525d8d-f454-48e8-8fe5-e0f571090f45" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredCostsCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_894ea202-b83b-4075-b737-5233f0f77347" xlink:to="loc_us-gaap_DeferredCostsCurrentAndNoncurrent_09525d8d-f454-48e8-8fe5-e0f571090f45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_NewMarketsTaxCreditTransactionBenefitNet_eaf73b69-a5b1-44cf-a151-359a2a31cc8f" xlink:href="apog-20230225.xsd#apog_NewMarketsTaxCreditTransactionBenefitNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_894ea202-b83b-4075-b737-5233f0f77347" xlink:to="loc_apog_NewMarketsTaxCreditTransactionBenefitNet_eaf73b69-a5b1-44cf-a151-359a2a31cc8f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_009efd71-5f12-447a-9445-034ca222be4f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_894ea202-b83b-4075-b737-5233f0f77347" xlink:to="loc_us-gaap_LossContingenciesTable_009efd71-5f12-447a-9445-034ca222be4f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_TerminationDateAxis_0c9ef73c-e1ad-4369-a28c-8fe57798b2f5" xlink:href="apog-20230225.xsd#apog_TerminationDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_009efd71-5f12-447a-9445-034ca222be4f" xlink:to="loc_apog_TerminationDateAxis_0c9ef73c-e1ad-4369-a28c-8fe57798b2f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_TerminationDateDomain_0c9ef73c-e1ad-4369-a28c-8fe57798b2f5_default" xlink:href="apog-20230225.xsd#apog_TerminationDateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_apog_TerminationDateAxis_0c9ef73c-e1ad-4369-a28c-8fe57798b2f5" xlink:to="loc_apog_TerminationDateDomain_0c9ef73c-e1ad-4369-a28c-8fe57798b2f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_TerminationDateDomain_29d2ac71-c6fe-4c80-a58e-2e811693c5a5" xlink:href="apog-20230225.xsd#apog_TerminationDateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_apog_TerminationDateAxis_0c9ef73c-e1ad-4369-a28c-8fe57798b2f5" xlink:to="loc_apog_TerminationDateDomain_29d2ac71-c6fe-4c80-a58e-2e811693c5a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_June2023Member_8cb4abb4-f784-41db-b53b-fdb0a9ec9c25" xlink:href="apog-20230225.xsd#apog_June2023Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_TerminationDateDomain_29d2ac71-c6fe-4c80-a58e-2e811693c5a5" xlink:to="loc_apog_June2023Member_8cb4abb4-f784-41db-b53b-fdb0a9ec9c25" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_August2025Member_7121c2e0-b033-4ce3-8c4e-42c859045b31" xlink:href="apog-20230225.xsd#apog_August2025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_TerminationDateDomain_29d2ac71-c6fe-4c80-a58e-2e811693c5a5" xlink:to="loc_apog_August2025Member_7121c2e0-b033-4ce3-8c4e-42c859045b31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_September2025Member_5c2fac70-f9d0-416e-9afd-29f3de3eeecd" xlink:href="apog-20230225.xsd#apog_September2025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_apog_TerminationDateDomain_29d2ac71-c6fe-4c80-a58e-2e811693c5a5" xlink:to="loc_apog_September2025Member_5c2fac70-f9d0-416e-9afd-29f3de3eeecd" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/CommitmentsandContingentLiabilitiesDetailsTextual" xlink:type="simple" xlink:href="apog-20230225.xsd#CommitmentsandContingentLiabilitiesDetailsTextual"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/CommitmentsandContingentLiabilitiesDetailsTextual" xlink:type="extended" id="i633e5859c842443fbd8d7b64868bf2b2_CommitmentsandContingentLiabilitiesDetailsTextual">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentLineItems_5197b100-6589-4895-9086-6b4b8c56e861" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermPurchaseCommitmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteesFairValueDisclosure_e7f4c1fa-e4af-4dba-8857-7bdef205e8a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GuaranteesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_5197b100-6589-4895-9086-6b4b8c56e861" xlink:to="loc_us-gaap_GuaranteesFairValueDisclosure_e7f4c1fa-e4af-4dba-8857-7bdef205e8a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_CompaniesBacklogRelatedToSales_f29e3aec-e8a6-4527-87d3-0fe61a78ca41" xlink:href="apog-20230225.xsd#apog_CompaniesBacklogRelatedToSales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_5197b100-6589-4895-9086-6b4b8c56e861" xlink:to="loc_apog_CompaniesBacklogRelatedToSales_f29e3aec-e8a6-4527-87d3-0fe61a78ca41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_66d834e7-7cb0-42e7-9669-5950fc46ac87" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_5197b100-6589-4895-9086-6b4b8c56e861" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_66d834e7-7cb0-42e7-9669-5950fc46ac87" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligation_659bf00f-ea4a-47b0-aec9-a3dbf7726665" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PurchaseObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_5197b100-6589-4895-9086-6b4b8c56e861" xlink:to="loc_us-gaap_PurchaseObligation_659bf00f-ea4a-47b0-aec9-a3dbf7726665" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_NumberOfPropertiesAcquiredWithHistoricalEnvironmentalConditions_0e28cf0e-c801-424f-a460-79c73f0ff48e" xlink:href="apog-20230225.xsd#apog_NumberOfPropertiesAcquiredWithHistoricalEnvironmentalConditions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_5197b100-6589-4895-9086-6b4b8c56e861" xlink:to="loc_apog_NumberOfPropertiesAcquiredWithHistoricalEnvironmentalConditions_0e28cf0e-c801-424f-a460-79c73f0ff48e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccrualForEnvironmentalLossContingencies_88a7ec80-8f62-4324-bb15-eba546baec77" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccrualForEnvironmentalLossContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_5197b100-6589-4895-9086-6b4b8c56e861" xlink:to="loc_us-gaap_AccrualForEnvironmentalLossContingencies_88a7ec80-8f62-4324-bb15-eba546baec77" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentTable_465a4007-6bbb-4a71-b93b-929ff7c81d52" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermPurchaseCommitmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_5197b100-6589-4895-9086-6b4b8c56e861" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentTable_465a4007-6bbb-4a71-b93b-929ff7c81d52" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_c5bfa7b1-588e-4e53-bc5f-5666e0fef415" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable_465a4007-6bbb-4a71-b93b-929ff7c81d52" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_c5bfa7b1-588e-4e53-bc5f-5666e0fef415" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_c5bfa7b1-588e-4e53-bc5f-5666e0fef415_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_c5bfa7b1-588e-4e53-bc5f-5666e0fef415" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_c5bfa7b1-588e-4e53-bc5f-5666e0fef415_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_a2af0f8c-80fd-447f-87e1-7f33b5aedd4a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_c5bfa7b1-588e-4e53-bc5f-5666e0fef415" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_a2af0f8c-80fd-447f-87e1-7f33b5aedd4a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_CurrentLiabilitiesAndOtherNonCurrentLiabilitiesMember_bd171575-3640-49a1-a9cd-84118719f561" xlink:href="apog-20230225.xsd#apog_CurrentLiabilitiesAndOtherNonCurrentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_a2af0f8c-80fd-447f-87e1-7f33b5aedd4a" xlink:to="loc_apog_CurrentLiabilitiesAndOtherNonCurrentLiabilitiesMember_bd171575-3640-49a1-a9cd-84118719f561" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/ShareholdersEquityDetailsTextual" xlink:type="simple" xlink:href="apog-20230225.xsd#ShareholdersEquityDetailsTextual"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/ShareholdersEquityDetailsTextual" xlink:type="extended" id="ic3771a263eda4d2e8d7682cfefa161e8_ShareholdersEquityDetailsTextual">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_e0f24d3d-53b0-4a2b-bbee-4cfb72fc885d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_ff8f0925-6df3-475c-9c01-84a8748b09ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_e0f24d3d-53b0-4a2b-bbee-4cfb72fc885d" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_ff8f0925-6df3-475c-9c01-84a8748b09ec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_d9bd707f-cf9e-4ee9-a322-07b21fc51655" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_e0f24d3d-53b0-4a2b-bbee-4cfb72fc885d" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_d9bd707f-cf9e-4ee9-a322-07b21fc51655" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_ac1fc6a3-1f29-4503-97e1-c718f1acbf92" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchasedDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_e0f24d3d-53b0-4a2b-bbee-4cfb72fc885d" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_ac1fc6a3-1f29-4503-97e1-c718f1acbf92" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_85a50ce1-acf9-4fcf-9eec-be90bee2f8f9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchasedDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_e0f24d3d-53b0-4a2b-bbee-4cfb72fc885d" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_85a50ce1-acf9-4fcf-9eec-be90bee2f8f9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased_d96d4bc0-46a4-4a80-bbd1-6314b5408e7c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_e0f24d3d-53b0-4a2b-bbee-4cfb72fc885d" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased_d96d4bc0-46a4-4a80-bbd1-6314b5408e7c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_d4090951-ab5a-48d3-9ba8-ee454ae9b963" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_e0f24d3d-53b0-4a2b-bbee-4cfb72fc885d" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_d4090951-ab5a-48d3-9ba8-ee454ae9b963" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_3f62e7b7-fddc-4099-b95f-f15ad3472690" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_e0f24d3d-53b0-4a2b-bbee-4cfb72fc885d" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_3f62e7b7-fddc-4099-b95f-f15ad3472690" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_1879eb7a-d814-4a0e-80e8-e9f4afeb01ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareRepurchaseProgramAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_3f62e7b7-fddc-4099-b95f-f15ad3472690" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_1879eb7a-d814-4a0e-80e8-e9f4afeb01ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_1879eb7a-d814-4a0e-80e8-e9f4afeb01ff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_1879eb7a-d814-4a0e-80e8-e9f4afeb01ff" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_1879eb7a-d814-4a0e-80e8-e9f4afeb01ff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_7d75a604-f094-4c01-a209-7830cd0ccce3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_1879eb7a-d814-4a0e-80e8-e9f4afeb01ff" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_7d75a604-f094-4c01-a209-7830cd0ccce3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ShareRepurchaseProgramMember_f45aea61-11ff-4ee0-8438-17839a85ac6c" xlink:href="apog-20230225.xsd#apog_ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_7d75a604-f094-4c01-a209-7830cd0ccce3" xlink:to="loc_apog_ShareRepurchaseProgramMember_f45aea61-11ff-4ee0-8438-17839a85ac6c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_edc647cb-dea6-4b2d-aa6e-249aef9a5099" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_3f62e7b7-fddc-4099-b95f-f15ad3472690" xlink:to="loc_us-gaap_AwardTypeAxis_edc647cb-dea6-4b2d-aa6e-249aef9a5099" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_edc647cb-dea6-4b2d-aa6e-249aef9a5099_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_edc647cb-dea6-4b2d-aa6e-249aef9a5099" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_edc647cb-dea6-4b2d-aa6e-249aef9a5099_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_651c99cc-67ab-4ae3-9563-7085a1b58be1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_edc647cb-dea6-4b2d-aa6e-249aef9a5099" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_651c99cc-67ab-4ae3-9563-7085a1b58be1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockCompensationPlanMember_ff0f8ac9-9540-4d2d-bf0d-e7e07d204009" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockCompensationPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_651c99cc-67ab-4ae3-9563-7085a1b58be1" xlink:to="loc_us-gaap_StockCompensationPlanMember_ff0f8ac9-9540-4d2d-bf0d-e7e07d204009" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/StockBasedCompensationDetails" xlink:type="simple" xlink:href="apog-20230225.xsd#StockBasedCompensationDetails"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/StockBasedCompensationDetails" xlink:type="extended" id="ie26644724e6c4d259a9039b2fb3c05ba_StockBasedCompensationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9bdc411c-6863-4688-9edc-206c6f3bd630" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_ed016ad4-9ea7-496f-a447-303d68126616" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9bdc411c-6863-4688-9edc-206c6f3bd630" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_ed016ad4-9ea7-496f-a447-303d68126616" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_ffce8367-2c2c-46ca-9330-67f1c9c00f71" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_ed016ad4-9ea7-496f-a447-303d68126616" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_ffce8367-2c2c-46ca-9330-67f1c9c00f71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_c554fb24-3a4d-4cea-8042-70cefb2add21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_ed016ad4-9ea7-496f-a447-303d68126616" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_c554fb24-3a4d-4cea-8042-70cefb2add21" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_63e6246a-80dc-427f-9e10-05affdc5bdc2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_ed016ad4-9ea7-496f-a447-303d68126616" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod_63e6246a-80dc-427f-9e10-05affdc5bdc2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_6913b59c-e9f5-4be0-96f5-472404fc8989" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_c028b495-7a4b-4710-9ec7-d6d7df7f5989" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9bdc411c-6863-4688-9edc-206c6f3bd630" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_c028b495-7a4b-4710-9ec7-d6d7df7f5989" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_ccb8ba8a-b526-432d-b43c-fe2c2fe1c187" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_c028b495-7a4b-4710-9ec7-d6d7df7f5989" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_ccb8ba8a-b526-432d-b43c-fe2c2fe1c187" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_18a8552a-89dd-4a32-9c9d-918926c7b1a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_c028b495-7a4b-4710-9ec7-d6d7df7f5989" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_18a8552a-89dd-4a32-9c9d-918926c7b1a1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_6173c9a6-2f49-4b95-8f40-ad6c896e4cd8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_c028b495-7a4b-4710-9ec7-d6d7df7f5989" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice_6173c9a6-2f49-4b95-8f40-ad6c896e4cd8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_00c9dde5-573e-4549-bb92-21e0a6f9ebc5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_3da15eac-7507-4efd-984f-d68ec08c3e45" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9bdc411c-6863-4688-9edc-206c6f3bd630" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_3da15eac-7507-4efd-984f-d68ec08c3e45" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_84a1285b-6b63-4445-8b66-1c504c037ff2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9bdc411c-6863-4688-9edc-206c6f3bd630" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_84a1285b-6b63-4445-8b66-1c504c037ff2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_99e38e0d-0208-45eb-9bc7-2e734c19dab3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9bdc411c-6863-4688-9edc-206c6f3bd630" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_99e38e0d-0208-45eb-9bc7-2e734c19dab3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_96ab9ef1-4cb4-44c7-8247-04bbe000c920" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9bdc411c-6863-4688-9edc-206c6f3bd630" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_96ab9ef1-4cb4-44c7-8247-04bbe000c920" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_0cee7607-0561-414b-8c24-d3d962bb078f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9bdc411c-6863-4688-9edc-206c6f3bd630" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_0cee7607-0561-414b-8c24-d3d962bb078f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_668c5630-9577-4fd9-9af1-fc59024925fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9bdc411c-6863-4688-9edc-206c6f3bd630" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_668c5630-9577-4fd9-9af1-fc59024925fc" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_e16699a6-61b9-441a-be8b-e16697fa3c91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9bdc411c-6863-4688-9edc-206c6f3bd630" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_e16699a6-61b9-441a-be8b-e16697fa3c91" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_7530fca3-6b6b-407c-9278-c73fe4422896" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_e16699a6-61b9-441a-be8b-e16697fa3c91" xlink:to="loc_us-gaap_AwardTypeAxis_7530fca3-6b6b-407c-9278-c73fe4422896" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7530fca3-6b6b-407c-9278-c73fe4422896_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_7530fca3-6b6b-407c-9278-c73fe4422896" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7530fca3-6b6b-407c-9278-c73fe4422896_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_834c57f4-d366-4a5a-8d9d-6d9126c66aa4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_7530fca3-6b6b-407c-9278-c73fe4422896" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_834c57f4-d366-4a5a-8d9d-6d9126c66aa4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_StockOptionsAndStockAppreciationRightsMember_811000a7-df91-43bc-ba4b-9b0d8fed1fc2" xlink:href="apog-20230225.xsd#apog_StockOptionsAndStockAppreciationRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_834c57f4-d366-4a5a-8d9d-6d9126c66aa4" xlink:to="loc_apog_StockOptionsAndStockAppreciationRightsMember_811000a7-df91-43bc-ba4b-9b0d8fed1fc2" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/StockBasedCompensationDetailsTextual" xlink:type="simple" xlink:href="apog-20230225.xsd#StockBasedCompensationDetailsTextual"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/StockBasedCompensationDetailsTextual" xlink:type="extended" id="i51103976156c463fa43c9e0a841d47a7_StockBasedCompensationDetailsTextual">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ec0d9a9b-814a-4095-986b-d35a871cb7a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_577190bb-af5f-44bd-8f77-393612392a54" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ec0d9a9b-814a-4095-986b-d35a871cb7a1" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_577190bb-af5f-44bd-8f77-393612392a54" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_ac7cd00a-2262-4ce7-9f57-4744385cf387" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ec0d9a9b-814a-4095-986b-d35a871cb7a1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_ac7cd00a-2262-4ce7-9f57-4744385cf387" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_80b24929-ca6a-4aab-9c34-19d1e00700c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ec0d9a9b-814a-4095-986b-d35a871cb7a1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_80b24929-ca6a-4aab-9c34-19d1e00700c2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_e23e4a7a-2ad3-4434-8ebd-ced7a883154d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ec0d9a9b-814a-4095-986b-d35a871cb7a1" xlink:to="loc_us-gaap_ShareBasedCompensation_e23e4a7a-2ad3-4434-8ebd-ced7a883154d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_b130e6a5-c25e-4936-91ef-8ad09d7d5e53" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ec0d9a9b-814a-4095-986b-d35a871cb7a1" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_b130e6a5-c25e-4936-91ef-8ad09d7d5e53" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_bfbfcc74-7393-4597-b8a5-b9f1674db1b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ec0d9a9b-814a-4095-986b-d35a871cb7a1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_bfbfcc74-7393-4597-b8a5-b9f1674db1b6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_5de4d9ad-b753-49d0-8d16-1d8422b0dafd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ec0d9a9b-814a-4095-986b-d35a871cb7a1" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_5de4d9ad-b753-49d0-8d16-1d8422b0dafd" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_aa276318-b72b-426d-b931-4c66593c72c1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ec0d9a9b-814a-4095-986b-d35a871cb7a1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_aa276318-b72b-426d-b931-4c66593c72c1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4eb0afa2-1680-47d3-afe1-99777cb5ca17" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ec0d9a9b-814a-4095-986b-d35a871cb7a1" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4eb0afa2-1680-47d3-afe1-99777cb5ca17" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_d25c2104-3b93-4aaf-b50d-d2fe453c0e06" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4eb0afa2-1680-47d3-afe1-99777cb5ca17" xlink:to="loc_us-gaap_PlanNameAxis_d25c2104-3b93-4aaf-b50d-d2fe453c0e06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_d25c2104-3b93-4aaf-b50d-d2fe453c0e06_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_d25c2104-3b93-4aaf-b50d-d2fe453c0e06" xlink:to="loc_us-gaap_PlanNameDomain_d25c2104-3b93-4aaf-b50d-d2fe453c0e06_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_6e0f5f88-7d58-4238-bb91-110c327f988b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_d25c2104-3b93-4aaf-b50d-d2fe453c0e06" xlink:to="loc_us-gaap_PlanNameDomain_6e0f5f88-7d58-4238-bb91-110c327f988b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_TwoThousandandNineteenStockIncentivePlanMember_1a526917-d7bb-4890-a96c-c8169c5d97b0" xlink:href="apog-20230225.xsd#apog_TwoThousandandNineteenStockIncentivePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_6e0f5f88-7d58-4238-bb91-110c327f988b" xlink:to="loc_apog_TwoThousandandNineteenStockIncentivePlanMember_1a526917-d7bb-4890-a96c-c8169c5d97b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_TwoThousandandNineteenNonEmployeeDirectorStockPlanMember_edc16408-fa9a-439f-96fb-3b3608c731ff" xlink:href="apog-20230225.xsd#apog_TwoThousandandNineteenNonEmployeeDirectorStockPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_6e0f5f88-7d58-4238-bb91-110c327f988b" xlink:to="loc_apog_TwoThousandandNineteenNonEmployeeDirectorStockPlanMember_edc16408-fa9a-439f-96fb-3b3608c731ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_138937e1-17db-4dbd-8442-90b16549fb27" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4eb0afa2-1680-47d3-afe1-99777cb5ca17" xlink:to="loc_us-gaap_AwardTypeAxis_138937e1-17db-4dbd-8442-90b16549fb27" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_138937e1-17db-4dbd-8442-90b16549fb27_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_138937e1-17db-4dbd-8442-90b16549fb27" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_138937e1-17db-4dbd-8442-90b16549fb27_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8c97f0a7-d22c-4bc8-88f9-032fabd0bfce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_138937e1-17db-4dbd-8442-90b16549fb27" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8c97f0a7-d22c-4bc8-88f9-032fabd0bfce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_StockOptionsAndStockAppreciationRightsMember_5715e43d-1911-4baf-b3d0-303334c99f3b" xlink:href="apog-20230225.xsd#apog_StockOptionsAndStockAppreciationRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8c97f0a7-d22c-4bc8-88f9-032fabd0bfce" xlink:to="loc_apog_StockOptionsAndStockAppreciationRightsMember_5715e43d-1911-4baf-b3d0-303334c99f3b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_068dcc77-f874-42d9-a9d3-d8fd5dc68681" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8c97f0a7-d22c-4bc8-88f9-032fabd0bfce" xlink:to="loc_us-gaap_RestrictedStockMember_068dcc77-f874-42d9-a9d3-d8fd5dc68681" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_256fd7d6-29bc-4d8b-9fea-5fe290e27d0c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4eb0afa2-1680-47d3-afe1-99777cb5ca17" xlink:to="loc_srt_RangeAxis_256fd7d6-29bc-4d8b-9fea-5fe290e27d0c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_256fd7d6-29bc-4d8b-9fea-5fe290e27d0c_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_256fd7d6-29bc-4d8b-9fea-5fe290e27d0c" xlink:to="loc_srt_RangeMember_256fd7d6-29bc-4d8b-9fea-5fe290e27d0c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_2dbc0b66-ddb4-4042-826a-4728b23c2aab" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_256fd7d6-29bc-4d8b-9fea-5fe290e27d0c" xlink:to="loc_srt_RangeMember_2dbc0b66-ddb4-4042-826a-4728b23c2aab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_4c5b1483-47d9-4968-846d-279234163faa" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_2dbc0b66-ddb4-4042-826a-4728b23c2aab" xlink:to="loc_srt_MaximumMember_4c5b1483-47d9-4968-846d-279234163faa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_a1bce3b9-4963-4766-a5e5-3ff58905f54f" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_2dbc0b66-ddb4-4042-826a-4728b23c2aab" xlink:to="loc_srt_MinimumMember_a1bce3b9-4963-4766-a5e5-3ff58905f54f" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/IncomeTaxesDetailsTextual" xlink:type="simple" xlink:href="apog-20230225.xsd#IncomeTaxesDetailsTextual"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/IncomeTaxesDetailsTextual" xlink:type="extended" id="i35eb6659d874487f814c0ac743e1cd13_IncomeTaxesDetailsTextual">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_c5e83f45-c3cc-41ee-9988-0136f2039ace" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLossCarryforwardsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_79144e6b-a95d-4385-be2f-9a93b550198a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_c5e83f45-c3cc-41ee-9988-0136f2039ace" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_79144e6b-a95d-4385-be2f-9a93b550198a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwards_133386ae-e55a-4c9d-8050-735e7b1135b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLossCarryforwards"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_c5e83f45-c3cc-41ee-9988-0136f2039ace" xlink:to="loc_us-gaap_OperatingLossCarryforwards_133386ae-e55a-4c9d-8050-735e7b1135b6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwardsValuationAllowance_41a09b5f-f5e9-4612-9b25-148201d35c1e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLossCarryforwardsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_c5e83f45-c3cc-41ee-9988-0136f2039ace" xlink:to="loc_us-gaap_OperatingLossCarryforwardsValuationAllowance_41a09b5f-f5e9-4612-9b25-148201d35c1e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_26d6d0e7-0e8c-4d72-87f4-f6fe036fb15c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_c5e83f45-c3cc-41ee-9988-0136f2039ace" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_26d6d0e7-0e8c-4d72-87f4-f6fe036fb15c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_e7703fe8-8b4b-445d-ba9a-b09378915303" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_c5e83f45-c3cc-41ee-9988-0136f2039ace" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_e7703fe8-8b4b-445d-ba9a-b09378915303" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardValuationAllowance_274e1d34-5379-4d38-8565-1bb6ff837374" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxCreditCarryforwardValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_c5e83f45-c3cc-41ee-9988-0136f2039ace" xlink:to="loc_us-gaap_TaxCreditCarryforwardValuationAllowance_274e1d34-5379-4d38-8565-1bb6ff837374" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_UnrecognizedTaxBenefitsThatWouldImpactDeferredTaxes_661d2361-46fa-43b7-83ec-d982434f85ed" xlink:href="apog-20230225.xsd#apog_UnrecognizedTaxBenefitsThatWouldImpactDeferredTaxes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_c5e83f45-c3cc-41ee-9988-0136f2039ace" xlink:to="loc_apog_UnrecognizedTaxBenefitsThatWouldImpactDeferredTaxes_661d2361-46fa-43b7-83ec-d982434f85ed" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_31360bb2-7055-49f7-8b8f-33ec675036ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLossCarryforwardsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_c5e83f45-c3cc-41ee-9988-0136f2039ace" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_31360bb2-7055-49f7-8b8f-33ec675036ec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_e9f71256-7e9d-41d7-946b-d9a993d1b114" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_31360bb2-7055-49f7-8b8f-33ec675036ec" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_e9f71256-7e9d-41d7-946b-d9a993d1b114" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_e9f71256-7e9d-41d7-946b-d9a993d1b114_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_e9f71256-7e9d-41d7-946b-d9a993d1b114" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_e9f71256-7e9d-41d7-946b-d9a993d1b114_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_f5a2765c-abf2-47aa-9c25-888c9db7a135" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_e9f71256-7e9d-41d7-946b-d9a993d1b114" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_f5a2765c-abf2-47aa-9c25-888c9db7a135" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_a8fb8322-5489-4bc2-b044-5a87d5a1baf6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_f5a2765c-abf2-47aa-9c25-888c9db7a135" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_a8fb8322-5489-4bc2-b044-5a87d5a1baf6" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/BusinessSegmentDataScheduleofCertainSegmentDataDetails" xlink:type="simple" xlink:href="apog-20230225.xsd#BusinessSegmentDataScheduleofCertainSegmentDataDetails"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/BusinessSegmentDataScheduleofCertainSegmentDataDetails" xlink:type="extended" id="i936217c0efab48b387d30ff927f208d3_BusinessSegmentDataScheduleofCertainSegmentDataDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_2b6c4eb2-941c-40d3-8bd3-61c92d3fc165" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_404e2fdb-c668-49e9-b6e4-b13c50e9c00e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2b6c4eb2-941c-40d3-8bd3-61c92d3fc165" xlink:to="loc_us-gaap_Revenues_404e2fdb-c668-49e9-b6e4-b13c50e9c00e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_2a035401-40d8-42a2-85d1-feee4cd9ddf7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2b6c4eb2-941c-40d3-8bd3-61c92d3fc165" xlink:to="loc_us-gaap_OperatingIncomeLoss_2a035401-40d8-42a2-85d1-feee4cd9ddf7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_628fa4d0-71a7-4e45-9d8c-2828e1b7f335" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2b6c4eb2-941c-40d3-8bd3-61c92d3fc165" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_628fa4d0-71a7-4e45-9d8c-2828e1b7f335" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_48e3aa36-860d-4019-93bb-0a4d6a094719" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2b6c4eb2-941c-40d3-8bd3-61c92d3fc165" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_48e3aa36-860d-4019-93bb-0a4d6a094719" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_351a0e71-1cf5-4251-bcdd-dafa365bcf82" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2b6c4eb2-941c-40d3-8bd3-61c92d3fc165" xlink:to="loc_us-gaap_Assets_351a0e71-1cf5-4251-bcdd-dafa365bcf82" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_57b3b50a-2b00-45b6-ab35-1a26e509ec60" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2b6c4eb2-941c-40d3-8bd3-61c92d3fc165" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_57b3b50a-2b00-45b6-ab35-1a26e509ec60" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_ae4b21bb-682c-454a-b9fb-28189e379146" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_57b3b50a-2b00-45b6-ab35-1a26e509ec60" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_ae4b21bb-682c-454a-b9fb-28189e379146" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_ae4b21bb-682c-454a-b9fb-28189e379146_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_ae4b21bb-682c-454a-b9fb-28189e379146" xlink:to="loc_us-gaap_SegmentDomain_ae4b21bb-682c-454a-b9fb-28189e379146_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_acb6ceea-b1b9-473c-a6b9-055ee24da0b3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_ae4b21bb-682c-454a-b9fb-28189e379146" xlink:to="loc_us-gaap_SegmentDomain_acb6ceea-b1b9-473c-a6b9-055ee24da0b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalFramingSegmentMember_82442970-4b97-4817-b12d-10f241f156ba" xlink:href="apog-20230225.xsd#apog_ArchitecturalFramingSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_acb6ceea-b1b9-473c-a6b9-055ee24da0b3" xlink:to="loc_apog_ArchitecturalFramingSegmentMember_82442970-4b97-4817-b12d-10f241f156ba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalServicesSegmentMember_394282a8-aaa2-423e-b02b-dab0ba1fcfe7" xlink:href="apog-20230225.xsd#apog_ArchitecturalServicesSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_acb6ceea-b1b9-473c-a6b9-055ee24da0b3" xlink:to="loc_apog_ArchitecturalServicesSegmentMember_394282a8-aaa2-423e-b02b-dab0ba1fcfe7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalGlassSegmentMember_a988be96-01b2-4111-9597-81c04f3877b3" xlink:href="apog-20230225.xsd#apog_ArchitecturalGlassSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_acb6ceea-b1b9-473c-a6b9-055ee24da0b3" xlink:to="loc_apog_ArchitecturalGlassSegmentMember_a988be96-01b2-4111-9597-81c04f3877b3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_LargeScaleOpticalSegmentMember_9e689c02-5114-4150-92cc-0cec1eabd0da" xlink:href="apog-20230225.xsd#apog_LargeScaleOpticalSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_acb6ceea-b1b9-473c-a6b9-055ee24da0b3" xlink:to="loc_apog_LargeScaleOpticalSegmentMember_9e689c02-5114-4150-92cc-0cec1eabd0da" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateAndOtherMember_9aa20b69-cc29-4573-acf9-32933eb464bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CorporateAndOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_acb6ceea-b1b9-473c-a6b9-055ee24da0b3" xlink:to="loc_us-gaap_CorporateAndOtherMember_9aa20b69-cc29-4573-acf9-32933eb464bf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_6e899ec0-f000-45de-9a39-19e429ff1c34" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_57b3b50a-2b00-45b6-ab35-1a26e509ec60" xlink:to="loc_srt_ConsolidationItemsAxis_6e899ec0-f000-45de-9a39-19e429ff1c34" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_6e899ec0-f000-45de-9a39-19e429ff1c34_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_6e899ec0-f000-45de-9a39-19e429ff1c34" xlink:to="loc_srt_ConsolidationItemsDomain_6e899ec0-f000-45de-9a39-19e429ff1c34_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_32c64672-64ce-4011-930b-1543258d05cd" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_6e899ec0-f000-45de-9a39-19e429ff1c34" xlink:to="loc_srt_ConsolidationItemsDomain_32c64672-64ce-4011-930b-1543258d05cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntersegmentEliminationMember_901d6c8c-6ea7-4f57-87a8-1c520e9c7411" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntersegmentEliminationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_32c64672-64ce-4011-930b-1543258d05cd" xlink:to="loc_us-gaap_IntersegmentEliminationMember_901d6c8c-6ea7-4f57-87a8-1c520e9c7411" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/BusinessSegmentDataScheduleofRevenuefromExternalCustomersandLongLivedAssetsbyGeographicalAreasDetails" xlink:type="simple" xlink:href="apog-20230225.xsd#BusinessSegmentDataScheduleofRevenuefromExternalCustomersandLongLivedAssetsbyGeographicalAreasDetails"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/BusinessSegmentDataScheduleofRevenuefromExternalCustomersandLongLivedAssetsbyGeographicalAreasDetails" xlink:type="extended" id="i10849f74156a40a9b2ab5bd25f096059_BusinessSegmentDataScheduleofRevenuefromExternalCustomersandLongLivedAssetsbyGeographicalAreasDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_49ce3194-85cf-4472-99d7-c9c596b9ec7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_fedba382-e4e3-4a6a-b3a1-cedd045a8498" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_49ce3194-85cf-4472-99d7-c9c596b9ec7a" xlink:to="loc_us-gaap_Revenues_fedba382-e4e3-4a6a-b3a1-cedd045a8498" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f1c243e3-8654-45b1-bb09-3dae389e09cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_49ce3194-85cf-4472-99d7-c9c596b9ec7a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_f1c243e3-8654-45b1-bb09-3dae389e09cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_635a44cb-bbaf-4711-9581-8e52491c5ba9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_49ce3194-85cf-4472-99d7-c9c596b9ec7a" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_635a44cb-bbaf-4711-9581-8e52491c5ba9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_7cd685d4-4f46-493a-9c22-a8c3f733f97f" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_635a44cb-bbaf-4711-9581-8e52491c5ba9" xlink:to="loc_srt_StatementGeographicalAxis_7cd685d4-4f46-493a-9c22-a8c3f733f97f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_7cd685d4-4f46-493a-9c22-a8c3f733f97f_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_7cd685d4-4f46-493a-9c22-a8c3f733f97f" xlink:to="loc_srt_SegmentGeographicalDomain_7cd685d4-4f46-493a-9c22-a8c3f733f97f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_ca3da1d0-cc7b-45f3-9d49-dc31f6621b3c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_7cd685d4-4f46-493a-9c22-a8c3f733f97f" xlink:to="loc_srt_SegmentGeographicalDomain_ca3da1d0-cc7b-45f3-9d49-dc31f6621b3c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_1332b8f3-72f3-43c0-87c9-f72ffe199847" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_ca3da1d0-cc7b-45f3-9d49-dc31f6621b3c" xlink:to="loc_country_US_1332b8f3-72f3-43c0-87c9-f72ffe199847" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CA_6d0248ee-b772-4d16-9120-a07d461e3050" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_CA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_ca3da1d0-cc7b-45f3-9d49-dc31f6621b3c" xlink:to="loc_country_CA_6d0248ee-b772-4d16-9120-a07d461e3050" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_BR_e2593f0b-dc8c-4db7-a68b-aca9acdaaae1" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_BR"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_ca3da1d0-cc7b-45f3-9d49-dc31f6621b3c" xlink:to="loc_country_BR_e2593f0b-dc8c-4db7-a68b-aca9acdaaae1" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/BusinessSegmentDataDetailsTextual" xlink:type="simple" xlink:href="apog-20230225.xsd#BusinessSegmentDataDetailsTextual"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/BusinessSegmentDataDetailsTextual" xlink:type="extended" id="i393251fae8424fb9bc2e576e60ef0058_BusinessSegmentDataDetailsTextual">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_10cb9928-f038-4df2-94e1-2afca8f4ff31" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_f6a2d18d-7ee0-4cc3-8db8-94f85c89af02" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NumberOfReportableSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_10cb9928-f038-4df2-94e1-2afca8f4ff31" xlink:to="loc_us-gaap_NumberOfReportableSegments_f6a2d18d-7ee0-4cc3-8db8-94f85c89af02" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_c21bc158-b5fa-4dd0-beb1-6c35dcf6b7a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_10cb9928-f038-4df2-94e1-2afca8f4ff31" xlink:to="loc_us-gaap_Revenues_c21bc158-b5fa-4dd0-beb1-6c35dcf6b7a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_b75d3eb6-fb68-4863-a73f-7c6730ffea54" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_10cb9928-f038-4df2-94e1-2afca8f4ff31" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_b75d3eb6-fb68-4863-a73f-7c6730ffea54" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_e9674483-a59c-4d38-b6c0-76b4053f56d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_10cb9928-f038-4df2-94e1-2afca8f4ff31" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_e9674483-a59c-4d38-b6c0-76b4053f56d0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ImpairmentExpenseOnGoodwillAndIntangibleAssets_eb5bff16-fed8-42b5-97c6-b897c95d5360" xlink:href="apog-20230225.xsd#apog_ImpairmentExpenseOnGoodwillAndIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_10cb9928-f038-4df2-94e1-2afca8f4ff31" xlink:to="loc_apog_ImpairmentExpenseOnGoodwillAndIntangibleAssets_eb5bff16-fed8-42b5-97c6-b897c95d5360" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCosts_81b0b7a3-6753-469c-afb1-4284019a9386" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestructuringCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_10cb9928-f038-4df2-94e1-2afca8f4ff31" xlink:to="loc_us-gaap_RestructuringCosts_81b0b7a3-6753-469c-afb1-4284019a9386" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_e5536174-0b03-4804-b3de-738de830a6b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_10cb9928-f038-4df2-94e1-2afca8f4ff31" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_e5536174-0b03-4804-b3de-738de830a6b4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_19606e0c-f747-4cf5-977f-2f2eda085eb2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_e5536174-0b03-4804-b3de-738de830a6b4" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_19606e0c-f747-4cf5-977f-2f2eda085eb2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_19606e0c-f747-4cf5-977f-2f2eda085eb2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_19606e0c-f747-4cf5-977f-2f2eda085eb2" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_19606e0c-f747-4cf5-977f-2f2eda085eb2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_0ed183f8-805f-43c3-8694-fae0531e0538" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_19606e0c-f747-4cf5-977f-2f2eda085eb2" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_0ed183f8-805f-43c3-8694-fae0531e0538" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember_4f54fa50-12d3-474f-9f75-96f36c91b5ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeographicConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_0ed183f8-805f-43c3-8694-fae0531e0538" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_4f54fa50-12d3-474f-9f75-96f36c91b5ca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_bb0d3a96-4ee3-4c9a-8703-cce62af1b52e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_e5536174-0b03-4804-b3de-738de830a6b4" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_bb0d3a96-4ee3-4c9a-8703-cce62af1b52e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_bb0d3a96-4ee3-4c9a-8703-cce62af1b52e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_bb0d3a96-4ee3-4c9a-8703-cce62af1b52e" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_bb0d3a96-4ee3-4c9a-8703-cce62af1b52e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_98d7d37f-f7bb-43d5-acfd-2846b181199b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_bb0d3a96-4ee3-4c9a-8703-cce62af1b52e" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_98d7d37f-f7bb-43d5-acfd-2846b181199b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_c1689652-984b-404f-8193-e839bca93e60" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_98d7d37f-f7bb-43d5-acfd-2846b181199b" xlink:to="loc_us-gaap_SalesRevenueNetMember_c1689652-984b-404f-8193-e839bca93e60" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_2454d962-76c9-4165-8d9b-46f8395d9160" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_e5536174-0b03-4804-b3de-738de830a6b4" xlink:to="loc_srt_StatementGeographicalAxis_2454d962-76c9-4165-8d9b-46f8395d9160" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_2454d962-76c9-4165-8d9b-46f8395d9160_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_2454d962-76c9-4165-8d9b-46f8395d9160" xlink:to="loc_srt_SegmentGeographicalDomain_2454d962-76c9-4165-8d9b-46f8395d9160_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_5c95c8ad-c1ce-41f4-bf50-4a0399e75afb" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_2454d962-76c9-4165-8d9b-46f8395d9160" xlink:to="loc_srt_SegmentGeographicalDomain_5c95c8ad-c1ce-41f4-bf50-4a0399e75afb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonUsMember_fb890149-7320-4cd3-8c2c-93301d335eb2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_5c95c8ad-c1ce-41f4-bf50-4a0399e75afb" xlink:to="loc_us-gaap_NonUsMember_fb890149-7320-4cd3-8c2c-93301d335eb2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_5a0b698b-aa26-4654-b794-ffa67ade9c79" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_e5536174-0b03-4804-b3de-738de830a6b4" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_5a0b698b-aa26-4654-b794-ffa67ade9c79" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_5a0b698b-aa26-4654-b794-ffa67ade9c79_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_5a0b698b-aa26-4654-b794-ffa67ade9c79" xlink:to="loc_us-gaap_SegmentDomain_5a0b698b-aa26-4654-b794-ffa67ade9c79_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_88d9f92c-4813-486a-906f-15c64f96c595" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_5a0b698b-aa26-4654-b794-ffa67ade9c79" xlink:to="loc_us-gaap_SegmentDomain_88d9f92c-4813-486a-906f-15c64f96c595" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalFramingSegmentMember_c7db71ae-7b76-4e10-b3ec-98130aae8e7b" xlink:href="apog-20230225.xsd#apog_ArchitecturalFramingSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_88d9f92c-4813-486a-906f-15c64f96c595" xlink:to="loc_apog_ArchitecturalFramingSegmentMember_c7db71ae-7b76-4e10-b3ec-98130aae8e7b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalGlassSegmentMember_23cc93c3-6b0d-4eb1-aef9-a4b4f2b5b262" xlink:href="apog-20230225.xsd#apog_ArchitecturalGlassSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_88d9f92c-4813-486a-906f-15c64f96c595" xlink:to="loc_apog_ArchitecturalGlassSegmentMember_23cc93c3-6b0d-4eb1-aef9-a4b4f2b5b262" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateAndOtherMember_7930dea4-833b-40e3-ab39-69dac9ca90a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CorporateAndOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_88d9f92c-4813-486a-906f-15c64f96c595" xlink:to="loc_us-gaap_CorporateAndOtherMember_7930dea4-833b-40e3-ab39-69dac9ca90a6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalServicesSegmentMember_68b1da76-7f04-4515-ab81-4cb6e53c4cc4" xlink:href="apog-20230225.xsd#apog_ArchitecturalServicesSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_88d9f92c-4813-486a-906f-15c64f96c595" xlink:to="loc_apog_ArchitecturalServicesSegmentMember_68b1da76-7f04-4515-ab81-4cb6e53c4cc4" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/RestructuringandRelatedActivitiesReserveDetails" xlink:type="simple" xlink:href="apog-20230225.xsd#RestructuringandRelatedActivitiesReserveDetails"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/RestructuringandRelatedActivitiesReserveDetails" xlink:type="extended" id="icc39ac6a47bb4bb4aa4a99b086d03a72_RestructuringandRelatedActivitiesReserveDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_28d15f68-9071-42be-b961-0dbd0bd6e214" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_e43099ff-7d05-42f7-a5fc-e995534ae887" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestructuringReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_28d15f68-9071-42be-b961-0dbd0bd6e214" xlink:to="loc_us-gaap_RestructuringReserve_e43099ff-7d05-42f7-a5fc-e995534ae887" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_d7b17b69-bd5d-4e32-9035-10029221aae0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestructuringAndRelatedCostIncurredCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_28d15f68-9071-42be-b961-0dbd0bd6e214" xlink:to="loc_us-gaap_RestructuringAndRelatedCostIncurredCost_d7b17b69-bd5d-4e32-9035-10029221aae0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_0d0d53d1-5736-4469-91c1-84d26c08da15" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRestructuring"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_28d15f68-9071-42be-b961-0dbd0bd6e214" xlink:to="loc_us-gaap_PaymentsForRestructuring_0d0d53d1-5736-4469-91c1-84d26c08da15" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserveTranslationAndOtherAdjustment_b958331b-ad14-4088-80a4-87a5ef62ad8e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestructuringReserveTranslationAndOtherAdjustment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_28d15f68-9071-42be-b961-0dbd0bd6e214" xlink:to="loc_us-gaap_RestructuringReserveTranslationAndOtherAdjustment_b958331b-ad14-4088-80a4-87a5ef62ad8e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_e2cb6e46-d6f5-426a-bed6-b95f115346e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestructuringReserve"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_aed6056f-70d5-463c-ae14-3d84f6297486" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_28d15f68-9071-42be-b961-0dbd0bd6e214" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_aed6056f-70d5-463c-ae14-3d84f6297486" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_e6958403-cea3-4302-aee5-ce021636468c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_aed6056f-70d5-463c-ae14-3d84f6297486" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_e6958403-cea3-4302-aee5-ce021636468c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_e6958403-cea3-4302-aee5-ce021636468c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_e6958403-cea3-4302-aee5-ce021636468c" xlink:to="loc_us-gaap_SegmentDomain_e6958403-cea3-4302-aee5-ce021636468c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_adf9835f-e7c9-4aa3-93e2-7567cc91a0ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_e6958403-cea3-4302-aee5-ce021636468c" xlink:to="loc_us-gaap_SegmentDomain_adf9835f-e7c9-4aa3-93e2-7567cc91a0ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalFramingSegmentMember_ae1e2967-d0f4-460a-80c8-737e886d456f" xlink:href="apog-20230225.xsd#apog_ArchitecturalFramingSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_adf9835f-e7c9-4aa3-93e2-7567cc91a0ac" xlink:to="loc_apog_ArchitecturalFramingSegmentMember_ae1e2967-d0f4-460a-80c8-737e886d456f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalGlassSegmentMember_1393799e-1d0e-4f16-a90d-45d3d1a8a43e" xlink:href="apog-20230225.xsd#apog_ArchitecturalGlassSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_adf9835f-e7c9-4aa3-93e2-7567cc91a0ac" xlink:to="loc_apog_ArchitecturalGlassSegmentMember_1393799e-1d0e-4f16-a90d-45d3d1a8a43e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateAndOtherMember_444d8804-a0d5-45f0-8813-a495d132b558" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CorporateAndOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_adf9835f-e7c9-4aa3-93e2-7567cc91a0ac" xlink:to="loc_us-gaap_CorporateAndOtherMember_444d8804-a0d5-45f0-8813-a495d132b558" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/RestructuringandRelatedActivitiesDetails" xlink:type="simple" xlink:href="apog-20230225.xsd#RestructuringandRelatedActivitiesDetails"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/RestructuringandRelatedActivitiesDetails" xlink:type="extended" id="i058264059b154bf4a87bdf74e89b0692_RestructuringandRelatedActivitiesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_e5f34925-a144-400d-bef5-8a28fc40bd19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCosts_3d957830-d336-44af-a4ec-7d7f3bb162b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestructuringCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_e5f34925-a144-400d-bef5-8a28fc40bd19" xlink:to="loc_us-gaap_RestructuringCosts_3d957830-d336-44af-a4ec-7d7f3bb162b8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_43c91964-76ba-41cf-a31b-b43ca814d4b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_e5f34925-a144-400d-bef5-8a28fc40bd19" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_43c91964-76ba-41cf-a31b-b43ca814d4b4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_c9bec515-e894-4a3a-8a18-6ebcdf0155f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_43c91964-76ba-41cf-a31b-b43ca814d4b4" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_c9bec515-e894-4a3a-8a18-6ebcdf0155f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_c9bec515-e894-4a3a-8a18-6ebcdf0155f8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_c9bec515-e894-4a3a-8a18-6ebcdf0155f8" xlink:to="loc_us-gaap_SegmentDomain_c9bec515-e894-4a3a-8a18-6ebcdf0155f8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_40db5492-b45b-441e-9f31-17c959037934" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_c9bec515-e894-4a3a-8a18-6ebcdf0155f8" xlink:to="loc_us-gaap_SegmentDomain_40db5492-b45b-441e-9f31-17c959037934" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalFramingSegmentMember_8f1cae59-4f4a-40bc-a112-60aec0de4b1b" xlink:href="apog-20230225.xsd#apog_ArchitecturalFramingSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_40db5492-b45b-441e-9f31-17c959037934" xlink:to="loc_apog_ArchitecturalFramingSegmentMember_8f1cae59-4f4a-40bc-a112-60aec0de4b1b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_ArchitecturalGlassSegmentMember_6dbfc131-5c35-4f8c-a163-5d49644f328a" xlink:href="apog-20230225.xsd#apog_ArchitecturalGlassSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_40db5492-b45b-441e-9f31-17c959037934" xlink:to="loc_apog_ArchitecturalGlassSegmentMember_6dbfc131-5c35-4f8c-a163-5d49644f328a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateAndOtherMember_bb86f26f-2adc-4192-9714-c263b0cb913d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CorporateAndOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_40db5492-b45b-441e-9f31-17c959037934" xlink:to="loc_us-gaap_CorporateAndOtherMember_bb86f26f-2adc-4192-9714-c263b0cb913d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_68daa70f-b3e7-4895-87ef-2189a957adbd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestructuringCostAndReserveAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_43c91964-76ba-41cf-a31b-b43ca814d4b4" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_68daa70f-b3e7-4895-87ef-2189a957adbd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_68daa70f-b3e7-4895-87ef-2189a957adbd_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_68daa70f-b3e7-4895-87ef-2189a957adbd" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_68daa70f-b3e7-4895-87ef-2189a957adbd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_1fff6e8f-03a7-4112-9e67-5e5cbf782347" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_68daa70f-b3e7-4895-87ef-2189a957adbd" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_1fff6e8f-03a7-4112-9e67-5e5cbf782347" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_AssetImpairmentDueToRestructuringMember_037390aa-b7a6-4c44-82a7-0bbc77c9659c" xlink:href="apog-20230225.xsd#apog_AssetImpairmentDueToRestructuringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_1fff6e8f-03a7-4112-9e67-5e5cbf782347" xlink:to="loc_apog_AssetImpairmentDueToRestructuringMember_037390aa-b7a6-4c44-82a7-0bbc77c9659c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeSeveranceMember_fbd77ff9-a1b5-495d-a804-02b132255aad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeSeveranceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_1fff6e8f-03a7-4112-9e67-5e5cbf782347" xlink:to="loc_us-gaap_EmployeeSeveranceMember_fbd77ff9-a1b5-495d-a804-02b132255aad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherRestructuringMember_699387e9-a37a-46bc-978f-db28979d0441" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherRestructuringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_1fff6e8f-03a7-4112-9e67-5e5cbf782347" xlink:to="loc_us-gaap_OtherRestructuringMember_699387e9-a37a-46bc-978f-db28979d0441" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apog.com/role/RestructuringandRelatedActivitiesDetailsTextual" xlink:type="simple" xlink:href="apog-20230225.xsd#RestructuringandRelatedActivitiesDetailsTextual"/>
  <link:definitionLink xlink:role="http://www.apog.com/role/RestructuringandRelatedActivitiesDetailsTextual" xlink:type="extended" id="i7ef2dc5117574af98c1e783330056d0e_RestructuringandRelatedActivitiesDetailsTextual">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_06be0e78-7370-4779-9955-616199d9adfe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_fd69f97c-e765-4347-bb0d-d61fe86b3a9c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestructuringCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_06be0e78-7370-4779-9955-616199d9adfe" xlink:to="loc_us-gaap_RestructuringCharges_fd69f97c-e765-4347-bb0d-d61fe86b3a9c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_15dae2ce-b37f-4977-9bb7-fcfd93ba33d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_06be0e78-7370-4779-9955-616199d9adfe" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_15dae2ce-b37f-4977-9bb7-fcfd93ba33d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyHeldForSale_81c78bba-2159-407a-82c4-02b97a104462" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfPropertyHeldForSale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_06be0e78-7370-4779-9955-616199d9adfe" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyHeldForSale_81c78bba-2159-407a-82c4-02b97a104462" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_apog_CarryingValuePropertyHeldForSale_bd80cacf-62af-4dd5-b27e-e02130541b2c" xlink:href="apog-20230225.xsd#apog_CarryingValuePropertyHeldForSale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_06be0e78-7370-4779-9955-616199d9adfe" xlink:to="loc_apog_CarryingValuePropertyHeldForSale_bd80cacf-62af-4dd5-b27e-e02130541b2c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_f5e93172-c636-407e-bd5a-bed429461c62" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_06be0e78-7370-4779-9955-616199d9adfe" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_f5e93172-c636-407e-bd5a-bed429461c62" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_d85c51a8-f4f7-4138-9cea-7799fbdbc800" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_f5e93172-c636-407e-bd5a-bed429461c62" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_d85c51a8-f4f7-4138-9cea-7799fbdbc800" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_d85c51a8-f4f7-4138-9cea-7799fbdbc800_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_d85c51a8-f4f7-4138-9cea-7799fbdbc800" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_d85c51a8-f4f7-4138-9cea-7799fbdbc800_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_2a605341-ae93-4f71-81f8-ce3ba970595c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_d85c51a8-f4f7-4138-9cea-7799fbdbc800" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_2a605341-ae93-4f71-81f8-ce3ba970595c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_902cc147-77c4-45bf-a08f-f96557345a3e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_2a605341-ae93-4f71-81f8-ce3ba970595c" xlink:to="loc_us-gaap_CostOfSalesMember_902cc147-77c4-45bf-a08f-f96557345a3e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_a5b59197-2ab2-4c59-afd8-3471c9f4f19a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_2a605341-ae93-4f71-81f8-ce3ba970595c" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_a5b59197-2ab2-4c59-afd8-3471c9f4f19a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongLivedAssetsHeldForSaleByAssetTypeAxis_62abbe6b-f8be-4862-aa7e-6ae7c87a6c19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongLivedAssetsHeldForSaleByAssetTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_f5e93172-c636-407e-bd5a-bed429461c62" xlink:to="loc_us-gaap_LongLivedAssetsHeldForSaleByAssetTypeAxis_62abbe6b-f8be-4862-aa7e-6ae7c87a6c19" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongLivedAssetsHeldForSaleNameDomain_62abbe6b-f8be-4862-aa7e-6ae7c87a6c19_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongLivedAssetsHeldForSaleNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongLivedAssetsHeldForSaleByAssetTypeAxis_62abbe6b-f8be-4862-aa7e-6ae7c87a6c19" xlink:to="loc_us-gaap_LongLivedAssetsHeldForSaleNameDomain_62abbe6b-f8be-4862-aa7e-6ae7c87a6c19_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongLivedAssetsHeldForSaleNameDomain_a9cfdf98-b01a-4ced-a0fa-6b7bcc0de5c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongLivedAssetsHeldForSaleNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongLivedAssetsHeldForSaleByAssetTypeAxis_62abbe6b-f8be-4862-aa7e-6ae7c87a6c19" xlink:to="loc_us-gaap_LongLivedAssetsHeldForSaleNameDomain_a9cfdf98-b01a-4ced-a0fa-6b7bcc0de5c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_1657cc43-e1c5-4b9b-9e75-c1c6457a2ec0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongLivedAssetsHeldForSaleNameDomain_a9cfdf98-b01a-4ced-a0fa-6b7bcc0de5c9" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_1657cc43-e1c5-4b9b-9e75-c1c6457a2ec0" xlink:type="arc" order="0"/>
  </link:definitionLink>
</link:linkbase>
