Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

Standard_Boolean Graphic3d_MaterialAspect::MaterialType ( const Graphic3d_TypeOfMaterial  AType  )  const

Returns Standard_True if MyMaterialType equal the parameter AType,
Standard_False otherwise.

Definition at line 722 of file Graphic3d_MaterialAspect.cxx.

Referenced by Graphic3d_Group::SetGroupPrimitivesAspect(), Graphic3d_Group::SetPrimitivesAspect(), Graphic3d_Structure::SetPrimitivesAspect(), and Graphic3d_Structure::UpdateStructure().

                                                                                                    {
       return ( MyMaterialType == AType ) ;
}


Generated by  Doxygen 1.6.0   Back to index