-- Created on: 1993-07-30 -- Created by: Jean-Louis FRENKEL -- Copyright (c) 1993-1999 Matra Datavision -- Copyright (c) 1999-2014 OPEN CASCADE SAS -- -- This file is part of Open CASCADE Technology software library. -- -- This library is free software; you can redistribute it and/or modify it under -- the terms of the GNU Lesser General Public License version 2.1 as published -- by the Free Software Foundation, with special exception defined in the file -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT -- distribution for complete text of the license and disclaimer of any warranty. -- -- Alternatively, this file may be used under the terms of Open CASCADE -- commercial license or contractual agreement. class DatumAspect from Prs3d inherits BasicAspect from Prs3d ---Purpose: A framework to define the display of datums. uses LineAspect from Prs3d, Length from Quantity is Create returns DatumAspect from Prs3d; ---Purpose: An empty framework to define the display of datums. FirstAxisAspect(me) returns LineAspect from Prs3d; ---Purpose: Returns the attributes for display of the first axis. SecondAxisAspect(me) returns LineAspect from Prs3d; ---Purpose: Returns the attributes for display of the second axis. ThirdAxisAspect(me) returns LineAspect from Prs3d; ---Purpose: Returns the attributes for display of the third axis. SetDrawFirstAndSecondAxis(me:mutable ; draw: Boolean from Standard); ---Purpose: Sets the DrawFirstAndSecondAxis attributes to active. DrawFirstAndSecondAxis(me) returns Boolean from Standard; ---Purpose: Returns true if the first and second axes can be drawn. SetDrawThirdAxis(me:mutable; draw: Boolean from Standard); ---Purpose: Sets the DrawThirdAxis attributes to active. DrawThirdAxis(me) returns Boolean from Standard; ---Purpose: Returns true if the third axis can be drawn. SetAxisLength(me:mutable; L1,L2,L3: Real from Standard); ---Purpose: Sets the lengths L1, L2 and L3 of the three axes. FirstAxisLength(me) returns Length from Quantity; --- Purpose: Returns the length of the displayed first axis. SecondAxisLength(me) returns Length from Quantity; ---Purpose: Returns the length of the displayed second axis. ThirdAxisLength(me) returns Length from Quantity; ---Purpose: Returns the length of the displayed third axis. fields myFirstAxisAspect: LineAspect from Prs3d; mySecondAxisAspect: LineAspect from Prs3d; myThirdAxisAspect: LineAspect from Prs3d; myDrawFirstAndSecondAxis: Boolean from Standard; myDrawThirdAxis: Boolean from Standard; myFirstAxisLength: Length from Quantity; mySecondAxisLength: Length from Quantity; myThirdAxisLength: Length from Quantity; end DatumAspect from Prs3d;