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 = heightline-width: Double
- Width of the line in mmpose: Pose
- Optional transformation for the rectangle. The default isloc(0.0, 0.0)
anchor: Anchor
- Defines the origin of the LineRectangle before thepose
transformation is applied. Default value isC
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 thepose
transformation is applied.height: Double
- Height (Y-dimension) of the generated rectangle in the default coordinate frame before thepose
transformation is applied.line-width: Double
- Width of the line in mmpose: Pose
- Optional transformation for the rectangle. The default isloc(0.0, 0.0)
anchor: Anchor
- Defines the origin of the LineRectangle before thepose
transformation is applied. Default value isC
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 = ?)