Hi, I wanna ask how to create 3D volume object contains x, y, z without using 3D array in Java?
need_Direction
0
Newbie Poster
Recommended Answers
Jump to PostWhat exactly do you want to accomplish?
When you say 3D volume object, you mean Graphics, or just a java class that represents a 3D Rectangular?
Jump to PostYou will not use an array. You need arrays to store data, not create objects.
You will create a class with attributes the "sizes" of the Recatngular: x ,y, z
Then you will have a constructor that as arguments 3 values and sets the above attributes: x,y,x
You will …
All 7 Replies
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
need_Direction
0
Newbie Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
need_Direction
0
Newbie Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
need_Direction
0
Newbie Poster
MoZo1
-3
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.