TheSwamp

Code Red => .NET => Topic started by: nobody on August 25, 2017, 12:10:22 AM

Title: Object Distance from Another
Post by: nobody on August 25, 2017, 12:10:22 AM
Is there a way to check a polylines distance from another object without iterating through every point?
Title: Re: Object Distance from Another
Post by: It's Alive! on August 25, 2017, 03:12:42 AM
maybe AcDbCurve::getClosestPointTo ?
Title: Re: Object Distance from Another
Post by: Bryco on August 25, 2017, 11:32:44 AM
Usually you use the bounding box first to check whether the object is within the desired range, then find out if the polyline is simpler than the object you are checking to define the next step