Instance Layer feature

H

hx

Guest
Hello,

I am using "instance" layer to set the "real" bBox of my instance
(without the extra Label offsets or whatever else), but I was
wondering if this layer could also be used in different shapes than
rectangular?
My trial so far is whatever the shape of this "instance", It will
always return the bBox!
Thanks for any suggestion!

Regards,
HX
 
I do not clearly understand what you mean?

The bBox is by definition a list of two points.
So if you have a polygon with more than two points
the bBox of this polygon will always be the lower left
and the upper right point of it.

Bernd

hx wrote:
Hello,

I am using "instance" layer to set the "real" bBox of my instance
(without the extra Label offsets or whatever else), but I was
wondering if this layer could also be used in different shapes than
rectangular?
My trial so far is whatever the shape of this "instance", It will
always return the bBox!
Thanks for any suggestion!

Regards,
HX
 
And that is exactly where my problem is!
The "visual return" of the "instance" drawn layer is a bBox,
eventhough it can have polygon shapes!
I am just trying to display the exact border of my instance, and not
its bBox (as it is)!
HX
 
I am just trying to display the exact border of my instance, and not
its bBox (as it is)!
then use another layer...

stéphane
 
sorry. the bounding box of the device is always the bounding box of the
first item on the instance layer.
IMHO

-- Gerry

"hx" <hxdelecourt@yahoo-dot-fr.no-spam.invalid> wrote in message
news:taSdndmw_MI6mG_fRVn_vQ@giganews.com...
Hello,

I am using "instance" layer to set the "real" bBox of my instance
(without the extra Label offsets or whatever else), but I was
wondering if this layer could also be used in different shapes than
rectangular?
My trial so far is whatever the shape of this "instance", It will
always return the bBox!
Thanks for any suggestion!

Regards,
HX
 
The lower left (ll) and uper right (ur) points of a polygon's bbox are not
necessarily points that are in the polygon itself. Think of an L-shaped
polygon. The ll corner of a polygons's bbox is composed of the min x and
min y value of all of the polygon's points, and the ur corner is composed
of the max x and max y. A polygon with only 2 points doesn't make sense in
most cases. (Also, computing the bbox of a path is a little more
difficult - take the min/max of the points and expand the bbox by the
path width to approximate it.)

Frank


On Thu, 04 Aug 2005 15:53:42 +0200, Bernd Fischer wrote:

I do not clearly understand what you mean?

The bBox is by definition a list of two points.
So if you have a polygon with more than two points
the bBox of this polygon will always be the lower left
and the upper right point of it.

Bernd

hx wrote:
Hello,

I am using "instance" layer to set the "real" bBox of my instance
(without the extra Label offsets or whatever else), but I was
wondering if this layer could also be used in different shapes than
rectangular?
My trial so far is whatever the shape of this "instance", It will
always return the bBox!
Thanks for any suggestion!

Regards,
HX
 
I think I was not really clear in my explanation and my goal in using
the instance layer!
I was just looking for a way to display at the upper hierarchy level
the real shape of the instance and not only its bounding box!
I think I should have started by this first!
Thanks any how for the feed backs!
 

Welcome to EDABoard.com

Sponsor

Back
Top