Trapezoid

Hello everyone,

I want to draw a 3D trapezoid.

Trapezoid class is included in HEP3D library (http://hrivnac.home.cern.ch/hrivnac/Activities/Packages/HEP3D-dist.tar.gz)

I need help to install this package into JBuilder, so that I could use the following line in my program

Trapezoid mytrapezoid = new Trapezoid(0.6, 0.7, 0.8, appearance)

Thanks in advance.

I’ve never worked with JBuilder before, but in general, just add HEP3D/src to the classpath after you extract the files from the compressed .tar.gz.

Thank you for answering, but it doesn’t work out.

Do you have any other way to draw a 3D flat trapezoid in stead of a simple box ? Thanks again.