Dear All ,
I see the command 'dbUnionBBox' , but can't launch ,
Or how to use it ( 'dbUnionBBox' ).
This is because the command you are referring to is a C API in the ITK manual, not a SKILL API. It should not be too hard to write, however the documentation has a general example:
procedure( trBBoxUnion( bBoxList )
let( ( llxList llyList
llxList = foreach( mapcar bBox bBoxList
xCoord( lowerLeft( bBox )))
llyList = foreach( mapcar bBox bBoxList
yCoord( lowerLeft( bBox )))
urxList = foreach( mapcar bBox bBoxList
xCoord( upperRight( bBox )))
uryList = foreach( mapcar bBox bBoxList
yCoord( upperRight( bBox )))
minllx = apply( 'min llxList )
minlly = apply( 'min llyList )
maxurx = apply( 'max urxList )
maxury = apply( 'max uryList )
list( minllx:minlly maxurx:maxury )
) ; let
) ; procedure
I would recommend that a different name is used for the procedure, say CCFbBoxUnion() (Cadence CIC Forum...). This should answer your question I think.
In reply to skillUser:
Dear Lawrence ,
Thank you for help .
In reply to Charley Chen:
It can get the union bbox.
But if I want to get the surrounded edge of all select objects? (e.g. polygon points)
How can I do it ?
It sounds as if you're after something like the convex hull - this was discussed in another thread.