FeResPost Web Site                     FeResPost Online User Manual

Chapter I.2
The “CoordSys” class

It may be practical to manipulate coordinate systems at post-processing level. Therefore, a “CoordSys” class devoted to the manipulation of coordinate systems is proposed. The methods defined in that class are described in sections I.2.2 and I.2.5. A list of the methods defined in “CoordSys” class is given in Table I.2.1.

Table I.2.1The different methods that have been defined in “CoordSys” class. Methods marked with “(s)” are singleton methods.



(FeResPost list of classes is given in Table 1 page 27.)



Method NameDescription Example



Creation and initialization methods



new (s) I.2.2 IV.2.4.5



initialize I.2.5



clone I.2.5



Definition



initWith3Points I.2.2.1IV.2.4.5



initWithOV1V2 I.2.2.2



initWithOV2V3 I.2.2.2



initWithOV3V1 I.2.2.2



initWithOV2V1 I.2.2.2



initWithOV3V2 I.2.2.2



initWithOV1V3 I.2.2.2



updateDefWrt0 I.2.2.2



Modifying point coordinates



changeCoordsA20I.2.3.1IV.2.4.5



changeCoords02BI.2.3.2IV.2.4.5



changeCoordsA2BI.2.3.3IV.2.4.5



Modifying vector or tensor components



changeCompsA20I.2.4.1IV.2.4.5



changeComps02B I.2.4.2IV.2.4.5



changeCompsA2BI.2.4.3IV.2.4.5



Printing



to_s I.2.5



Attributes



Id I.2.5






 I.2.1 The CoordSys object
 I.2.2 Construction or manipulation functions
  I.2.2.1 “initWith3Points” method
  I.2.2.2 Three “initWithOViVj” methods
  I.2.2.3 “updateDefWrt0” method
 I.2.3 Transformation of point coordinates
  I.2.3.1 “changeCoordsA20” method
  I.2.3.2 “changeCoords02B” method
  I.2.3.3 “changeCoordsA2B” method
 I.2.4 Transformation of vector and tensor components
  I.2.4.1 “changeCompsA20” method
  I.2.4.2 “changeComps02B” method
  I.2.4.3 “changeCompsA2B” method
 I.2.5 Other methods
  I.2.5.1 “initialize” method
  I.2.5.2 “clone” method
  I.2.5.3 “to_s” method
  I.2.5.4 “Id” attribute