com.sfm.ap210.jsdai.thermal
Class MaterialExtractor

java.lang.Object
  extended by com.sfm.ap210.jsdai.thermal.MaterialExtractor

public class MaterialExtractor
extends java.lang.Object

This class illustrates the reading of material properties associated with shape_aspect instances


Constructor Summary
MaterialExtractor(jsdai.lang.SdaiModel model)
          Create a new MaterialExtractor instance that will operate on the given model
 
Method Summary
 java.util.Map<jsdai.SAp210_electronic_assembly_interconnect_and_packaging_design_mim_lf.EShape_aspect,ThermalMaterial> extractMaterials(jsdai.SAp210_electronic_assembly_interconnect_and_packaging_design_mim_lf.EPhysical_unit e_pu, jsdai.SAp210_electronic_assembly_interconnect_and_packaging_design_mim_lf.EShape_representation e_model, jsdai.SAp210_electronic_assembly_interconnect_and_packaging_design_mim_lf.ERepresentation_context materials_context)
          Extracts a mapping from shape_aspect instances to each shape_aspect's associated material characteristics.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaterialExtractor

public MaterialExtractor(jsdai.lang.SdaiModel model)
                  throws jsdai.lang.SdaiException
Create a new MaterialExtractor instance that will operate on the given model

Parameters:
model -
Throws:
jsdai.lang.SdaiException
Method Detail

extractMaterials

public java.util.Map<jsdai.SAp210_electronic_assembly_interconnect_and_packaging_design_mim_lf.EShape_aspect,ThermalMaterial> extractMaterials(jsdai.SAp210_electronic_assembly_interconnect_and_packaging_design_mim_lf.EPhysical_unit e_pu,
                                                                                                                                               jsdai.SAp210_electronic_assembly_interconnect_and_packaging_design_mim_lf.EShape_representation e_model,
                                                                                                                                               jsdai.SAp210_electronic_assembly_interconnect_and_packaging_design_mim_lf.ERepresentation_context materials_context)
                                                                                                                                        throws jsdai.lang.SdaiException
Extracts a mapping from shape_aspect instances to each shape_aspect's associated material characteristics. The method traverses all shape_aspects of the provided physical_unit and shape_representation and extracts material characteristic values associated with the provided material representation_context.

Parameters:
e_pu - The physcial_unit instance
e_model - A shape model of the provided physical_unit
materials_context - The representation_context associated with material characteristic values
Returns:
Throws:
jsdai.lang.SdaiException