public IfcEngineGeometryDataJava3d(GeometryArray paramGeometryArray1, GeometryArray paramGeometryArray2, GeometryArray paramGeometryArray3, GeometryData paramGeometryData)
 {
     this.triangleGeometry       = paramGeometryArray1;
     this.wireFrameGeometry      = paramGeometryArray2;
     this.innerWireFrameGeometry = paramGeometryArray3;
     if (paramGeometryArray1 != null && paramGeometryData != null)
     {
         this.colorBuffer = paramGeometryArray1.ColorRefBuffer;
     }
     if (paramGeometryData != null && paramGeometryData.Materials.length > 0)
     {
         foreach (ElementMaterialGeomData elementMaterialGeomData in paramGeometryData.Materials)
         {
             if (this.ambientColor == null)
             {
                 this.ambientColor = new Color(elementMaterialGeomData.DiffuseColor[0], elementMaterialGeomData.DiffuseColor[1], elementMaterialGeomData.DiffuseColor[2], 1.0F);
             }
             if (elementMaterialGeomData.Transparency < 1.0F)
             {
                 this.transparency = Convert.ToDouble(1.0D - elementMaterialGeomData.Transparency);
             }
         }
     }
 }
 public virtual void clearWireFrameGeometry()
 {
     this.wireFrameGeometry      = null;
     this.innerWireFrameGeometry = null;
 }