Skip to content

jsl/geometry/LineRectangle

Package name: jsl/geometry/LineRectangle

Summary

General Definitions

Function Description
LineRectangle (+ 3) Construct a rectangular outline with a Line element

Definitions

General Definitions

LineRectangle

Construct a rectangular outline with a Line element

public defn LineRectangle (d:Dims -- line-width:Double, pose:Pose = ?, anchor:Anchor = ?)

  • d: Dims - Dimensions of the Rectangle - x = width, y = height
  • line-width: Double - Width of the line in mm
  • pose: Pose - Optional transformation for the rectangle. The default is loc(0.0, 0.0)
  • anchor: Anchor - Defines the origin of the LineRectangle before the pose transformation is applied. Default value is C or center aligned vertically and horizontally.

LineRectangle

Construct a rectangular outline with a Line element

public defn LineRectangle (width:Double, height:Double -- line-width:Double, pose:Pose = ?, anchor:Anchor = ?)

  • width: Double - Width (X-dimension) of the generated rectangle in the default coordinate frame before the pose transformation is applied.
  • height: Double - Height (Y-dimension) of the generated rectangle in the default coordinate frame before the pose transformation is applied.
  • line-width: Double - Width of the line in mm
  • pose: Pose - Optional transformation for the rectangle. The default is loc(0.0, 0.0)
  • anchor: Anchor - Defines the origin of the LineRectangle before the pose transformation is applied. Default value is C or center aligned vertically and horizontally.

LineRectangle

public defn LineRectangle (b:Rectangle -- line-width:Double, anchor:Anchor = ?)

LineRectangle

public defn LineRectangle (b:Box -- line-width:Double, anchor:Anchor = ?)