# StructureData Class All the generated information of a structure model is collected in a class named 'StructureData'. Using this object oriented coding framework, one can take advantage of the default handle class in Matlab for ease of passing data between GUIs without redundant copy and renaming of data[^Matlab]. Note, the trick in [How to modify coupling matrixes in COSMOSS](/8i8edgreSn-HMhP0TIu8Kw) is made possible by inheriting the handle class. [^Matlab]: See Matlab [help center](https://www.mathworks.com/help/matlab/matlab_oop/comparing-handle-and-value-classes.html) for more information. The class definition locates in: ``` /COSMOSS/MoleculeConstruction/@StructureData ``` Here is the properties and the methods defined in the StructureData class: <!-- ![](https://i.imgur.com/tf8SoDa.png) --> ```mermaid classDiagram handle <|-- StructureData : inheritance class StructureData{ +XYZ +AtomName +LocCenter +LocMu +LocAlpha +GUI_Inputs +hPlotFunc +FilesName +Children +Extra +LocFreq +LocAnharm +Beta #Nmodes #NAtoms #NStucture #LocAlphaM #CoM #OneExH -Scaled_LocMu -Scaled_LocAlpha +SD_AtomicProperties(obj) +SD_Trans(obj,V) +SD_Rot(obj,R) +SD_Comb2(obj1,obj2,CouplingType,Beta_NN) +SD_PeptideDihedral(obj) +SD_ScaleTransitions(obj,Scaling) +SD_Copy(obj) +SD_TransN(obj,V,N) +SD_SetFrame(obj,Center_Ind,Z_Ind,XZ_Ind) +SD_GetAmideI(obj) +SD_1ExH(obj_SD) +SD_Draw(obj_SD,varargin) } ``` ###### tags: `COSMOSS` `code`