Question: Construction of a package with module and submodules


I would like to understand how i can construct module with submodules.

In the maple help, this chapter should answer perfectly to my need :

At this page, there is a package called Shapes which should be very useful for me.

However, i don't understand 1 point at the moment about the package architecture of this example of package.

Why there is a submodule also called Shapes inside the module Shapes ? In other words, why the different submodules point, segment, circle, square, triangle have not be constructed directly under the module Shapes but under the submodule Shapes?

I thank you in advance for your help.

Please Wait...