Lines Matching defs:Distance
78 self_width: Distance, in to_thick_boundary()
79 boundary_width: Distance, in to_thick_boundary()
186 pub fn length(&self) -> Distance { in length()
191 pub fn slice(&self, start: Distance, end: Distance) -> Result<(PolyLine, Distance), String> { in slice() argument
267 pub fn exact_slice(&self, start: Distance, end: Distance) -> PolyLine { in exact_slice()
270 pub fn maybe_exact_slice(&self, start: Distance, end: Distance) -> Result<PolyLine, String> { in maybe_exact_slice()
390 fn shift_with_sharp_angles(&self, width: Distance, miter_threshold: f64) -> Vec<Pt2D> { in shift_with_sharp_angles()
446 width: Distance, in make_polygons_with_miter_threshold()
473 width: Distance, in exact_dashed_polygons()
474 dash_len: Distance, in exact_dashed_polygons()
475 dash_separation: Distance, in exact_dashed_polygons()
500 width: Distance, in dashed_lines()
501 dash_len: Distance, in dashed_lines()
502 dash_separation: Distance, in dashed_lines()
511 pub fn make_arrow(&self, thickness: Distance, cap: ArrowCap) -> Polygon { in make_arrow()
545 pub fn make_double_arrow(&self, thickness: Distance, cap: ArrowCap) -> Polygon { in make_double_arrow()
597 width: Distance, in dashed_arrow()
598 dash_len: Distance, in dashed_arrow()
599 dash_separation: Distance, in dashed_arrow()
699 pub fn dist_along_of_point(&self, pt: Pt2D) -> Option<(Distance, Angle)> { in dist_along_of_point()