Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Kent1Cooper
en respuesta a: j.palmeL29YX


@j.palmeL29YX wrote:

... if an endpoint is inside a circle: compare each endpoint with each centerpoint, if the distance is smaller or equal than the radius of the circles (0.75) then

- change the coordinate of this endpoint to the coordinate of the centerpoint.

....

@JamaL9722060 , do they ever end inside the Circles, or do they just touch the Circles?  The principle is the same, but it could be easier to write code if the endpoints always lie on the Circles.  [I did notice some running through Circles, but it looks like they are extras, overlaying others there that do not run through.]

 

However, that process will be different for the Arcs at street corners.  The change would be to the starting or ending angle of the Arc, since that's what's stored for them, not the coordinates of their endpoints.  That is certainly possible, just different from what would be changed for Lines.

 

Which raises the question:  Are the boundary parts that run from Circle to Circle Lines and Arcs, as I have been assuming, or are they Polylines [or maybe something else]?

Kent Cooper, AIA