Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/l/a/ladybug-HEAD/src/Ladybug_Shade Benefit Evaluator.py   ladybug(Download)
    boundary = rc.Geometry.Curve.JoinCurves(edges)
    for point in regionTestPtsInit:
        closestPtInit =  rc.Geometry.Curve.ClosestPoint(boundary[0], point)
        closestPt = boundary[0].PointAt(closestPtInit[1])
        if point.DistanceTo(closestPt) < sc.doc.ModelAbsoluteTolerance: pass

src/h/o/Honeybee-HEAD/src/Honeybee_Energy Shade Benefit Evaluator.py   Honeybee(Download)
    boundary = rc.Geometry.Curve.JoinCurves(edges)
    for point in windowTestPtsInit:
        closestPtInit =  rc.Geometry.Curve.ClosestPoint(boundary[0], point)
        closestPt = boundary[0].PointAt(closestPtInit[1])
        if point.DistanceTo(closestPt) < sc.doc.ModelAbsoluteTolerance: pass