VLE:SKILL absIsPointInsideFig

S

svilen

Guest
Hi,
I want to check if a point is inside of a selected poligon. I try to
use absIsPointInsideFig() but it requires as first argument database
object type "dl" and i do not know how to get this, and also what type
it returns. If someone can help will be great.

Thanks,
Sivilen
 
Hi,

I think the documentation is wrong here
It says:
absIsPointInsideFig( l_list )
One input argument!

Where list should be a list containing this three
elements d_dbFigID, x_xcoord and x_ycoord.


But the reality expect 2 input arguments
absIsPointInsideFig( d_dbFigID l_list )

Where list is here, a list containing the two
coordinates x_xcoord and x_ycoord as elements.

e.g.
absIsPointInsideFig( car( geGetSelSet( ) ) 14.0:2.0 )


Be aware this is a Preview SKILL function, I'm not sure
if you can use it out of Preview as regular SKILL?!


Bernd


svilen wrote:
Hi,
I want to check if a point is inside of a selected poligon. I try to
use absIsPointInsideFig() but it requires as first argument database
object type "dl" and i do not know how to get this, and also what type
it returns. If someone can help will be great.

Thanks,
Sivilen
 

Welcome to EDABoard.com

Sponsor

Back
Top