FreeHEP API
Version current

hep.graphics.heprep
Interface HepRepProvider


public interface HepRepProvider

HepRep Provider interface, allowing HepReps to be converted from other objects.

Version:
$Id: HepRepProvider.java,v 1.1 2004/07/26 20:30:42 duns Exp $
Author:
Mark Donszelmann
Source Code:
HepRepProvider.java

Method Summary
 boolean canConvert(Object object)
          Returns true if the object can be converted into an HepRep.
 HepRep convert(Object object)
          Returns a HepRep converted from object.
 

Method Detail

canConvert

public boolean canConvert(Object object)
Returns true if the object can be converted into an HepRep.


convert

public HepRep convert(Object object)
               throws HepRepConversionException
Returns a HepRep converted from object. Throws HepRepConversionException if the conversion was not possible.

Throws:
HepRepConversionException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.