How to implement a box in a limited crv?

Hello.

I created a rectangle with width-depth as a variable.
When adjusting the ‘width’ value of this rectangle to numberslide, can I restrict it from coming out of a particular crv?
I want to make sure that we don’t go out of this particular crv in a way that we don’t limit the numberslide value domain.


Thank you for your time in advance.

if you have max width/length values you could use Min function like this:

1 Like

Thank you.

But since form of crv and location of box can be modified at any time, so I want to make sure it doesn’t go out a specific crv. not placing a limit on the width/length number.

I think some more explanations on the process you are going to use are needed then

for instance:

  • the shape to be contained is always a Rectangle? and that Rectangle is always built using a origin Plane and positive only domains as sizes, domains always that start from the Plane itself like 0 to 100 ?
  • the containing shape is always another Rectangle?
  • in case it is another Rectangle, are the sides of the containing and the contained Rectangles always parallel?
1 Like