skill dbConcatTransform

T

Terry Lalonde

Guest
Hello:

I've got a routine that scans a layout hierarchy looking for rectangles
on a specific layer.
When I get the rectangle of interest I have:

- a transform that represents the current view (created via
dbConcatTransform on the way down
the hierachy) it looks good. ((761.625 878.075) "R180" 1.0)
- the bBox of the rectangle of interest is: ((9.6 9.6) (81.0 81.0)) (in
the current view coord system)

What I require are the coordinates of said bBox in the original
coordinate system (of the top cell)
geTransformUserBBox, or dbTransformBBox do not seem to give me that??
(it does if the rotation
is "R0" BTW)

What am I Missing?

Thanks,
Terry
 
Ah nevermind:

those routines do return the correct values:

it turns out that:
dbConcatTransform( inst~>transform transform) !=
dbConcatTransform( transform inst~>transform)
i.e. the arguments to dbConcatTransform are NOT commutable.

Terry

"Terry Lalonde" <tlalonde-no-sp-am@potentiasemi.com> wrote in message
news:fJicc.19412$3%81.2357@news04.bloor.is.net.cable.rogers.com...
Hello:

I've got a routine that scans a layout hierarchy looking for
rectangles
on a specific layer.
When I get the rectangle of interest I have:

- a transform that represents the current view (created via
dbConcatTransform on the way down
the hierachy) it looks good. ((761.625 878.075) "R180" 1.0)
- the bBox of the rectangle of interest is: ((9.6 9.6) (81.0 81.0))
(in
the current view coord system)

What I require are the coordinates of said bBox in the original
coordinate system (of the top cell)
geTransformUserBBox, or dbTransformBBox do not seem to give me that??
(it does if the rotation
is "R0" BTW)

What am I Missing?

Thanks,
Terry
 
Yes, it pays to remember your high school maths ;-)

Andrew.

On Mon, 05 Apr 2004 21:46:48 GMT, "Terry Lalonde" <tlalonde-no-sp-am@potentiasemi.com> wrote:

Ah nevermind:

those routines do return the correct values:

it turns out that:
dbConcatTransform( inst~>transform transform) !=
dbConcatTransform( transform inst~>transform)
i.e. the arguments to dbConcatTransform are NOT commutable.

Terry

"Terry Lalonde" <tlalonde-no-sp-am@potentiasemi.com> wrote in message
news:fJicc.19412$3%81.2357@news04.bloor.is.net.cable.rogers.com...
Hello:

I've got a routine that scans a layout hierarchy looking for
rectangles
on a specific layer.
When I get the rectangle of interest I have:

- a transform that represents the current view (created via
dbConcatTransform on the way down
the hierachy) it looks good. ((761.625 878.075) "R180" 1.0)
- the bBox of the rectangle of interest is: ((9.6 9.6) (81.0 81.0))
(in
the current view coord system)

What I require are the coordinates of said bBox in the original
coordinate system (of the top cell)
geTransformUserBBox, or dbTransformBBox do not seem to give me that??
(it does if the rotation
is "R0" BTW)

What am I Missing?

Thanks,
Terry
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 

Welcome to EDABoard.com

Sponsor

Back
Top