Question

finding correct line

  • 20 April 2018
  • 1 reply
  • 0 views

Badge

Hi,

I refer to the following situation in the screenshot.

The red lines touch the black building outlines. The grey small arrows indicate the coordinate direction

of the building outline part, where the red lines touches the building. The different colors of the building outline parts stand für the quadrant the azimuth of the lines belong to (pls. also see the small legend in the upper left corner of the screenshot). My goal is to find the positions of the yellow dots. There, I need to place text objects perpendicular to the outline.

My idea:

1. Determine at which build. outline part the red lines touches the building

2. Determine the azimuth of this line

3. Creating the dashed lines, perpendicular to the outline

-> The question: I would like to have only the dashed line which is opposite the side whe the red line touches the building outline. With other words, it should lie within the building. In the sscreenshot it looks as if it would always be the right side. But I want to sure that this is always true.

Any ideas?

4. Creating the midpoint of the correct dashed line

5. Calculating the text orientation


1 reply

Badge +3

you can duplicate it and move it with a vector displacement (using for instance affiner). (Offset*cos(angle), offset*sin(angle))

I believe there is a transformer for that nowadays.

Where angel is per. to you building line.

Buildings in pic all have same orientation, left hand.

Reply