Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: Find Intersection

$
0
0

Hi,

I agree with Frank that MicroStation Programming forum is better place to discuss anything related to MicroStation VBA. Also to follow best practices is quite important, otherwise you decrease a chance for quick and correct answer.

Unfortunately your question cannot be answered, because you provided no facts and there is not any code snippet provided, so there is nothing we can discuss about (and we also don't know what product, version and data do you use).

[quote user="txt"]I have a problem with intersection function[/quote]

What kind of problem? Is there any error message? What intersection function? There are several methods available somehow related to computing intersections.

[quote user="txt"]unfortunatly the function do its job too late.what can i do with that?[/quote]

I guess you mean "too slow". But what does it mean? Slow can be anything depending on a particular condition and requirements.

[quote user="txt"] I use one array in a FOR cirrcel two find intersection of it line elements with one by one with the lines in other array.[/quote]

Where is the code you use?

[quote user="txt"]I need a solution to do it fast in VBA.[/quote]

With all respect, fast and VBA should not be used in the same sentence ;-)  Because we no noting abour your conditions (e.g. how many lines you need to analyse), it cannot be even guessed if it can be implemented using VBA and to reach acceptable speed. All agorithms that leads (typically if a naive simple implementation is used) to interaction of every element with all others have to be analysed in terms of expected amount of data. If you know that you have to check thousands or more elements, some optimization would be probably required.

With regards,

  Jan


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>