PDA

View Full Version : Check if Vertex is within Object



dulo
12-05-2008, 06:32 AM
I there a possibility to check if a Vertex is within or outside of an closed Object in LScript ?
How could this be done? Is there any helper function which could be used for this or do I have to implement a complete Algorithm for this Task?

thx in advance and greetings from Austria

Dulo

evenflcw
12-05-2008, 07:04 AM
There is only the boundingbox function, which would get you through the first stage, and this is only available in Modeler. The rest you'll have to implement yourself. There should be a plethora of algorithms available online.

I suppose you could perform a boolean operation, check what dissapeared, and undo it...

dulo
12-05-2008, 07:08 AM
Thats what i feared, but I wanted to be shure that there is no helper function which does the task. I dont want to reinvent the wheel if I dont have to.

thx a lot