Hi all,

Thanks for help, but my problem isn't to find the minimum rectangle
which encompasses an object, but the maximum rectangle which is inside
the object.

Another solution ?

E.BONTE


Bill Thoen wrote:

> It's a function. From MapBasic Help file:
> MBR( ) function
>
> Purpose
>
> Returns a rectangle object, representing the minimum bounding
> rectangle of another object.
>
> Syntax
>
> MBR( obj_expr )
> obj_expr is an object expression
>
> Return Value
>
> Object (a rectangle)
>
> Description
>
> The MBR( ) function calculates the minimum bounding rectangle (or
> MBR) which encompasses the specified obj_expr object.
> A minimum bounding rectangle is defined as being the smallest
> rectangle which is large enough to encompass a particular object.
> In other words, the MBR of the United States extends east to the
> eastern tip of Maine, south to the southern tip of Hawaii, west
> to the western tip of Alaska, and north to the northern tip of
> Alaska.
> The MBR of a point object has zero width and zero height.
>
> Example
>
> Dim o_mbr As Object
> Open Table "world"
> Fetch First From world
> o_mbr = MBR(world.obj)
>
> See Also
>
> Querying map objects
>
> Eric Bonte wrote:
> >
> > Hi All,
> >
> > Is it a program or function which calculate the maximum rectangle
> > contain by an object ?
> >
> > Any help would be appreciated, Thanks
> >
> > --
> > Eric BONTE
> >
----------------------------------------------------------------------
> > To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and
put
> > "unsubscribe MAPINFO-L" in the message body, or contact
[EMAIL PROTECTED]



--
Eric BONTE
____________________________________________________________
AUCHAN
Service Marketing - D�partement Etudes & Prospectives
200, Rue de la Recherche
59650 Villeneuve d'Ascq (FRANCE)
Email : [EMAIL PROTECTED]
Tel : +33 3 28 37 66 24
Fax : +33 3 28 37 63 22


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to