discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

WallParams class final

A wall's parameters (spec 07 D2): both centreline endpoints in group-local space, the thickness and the justification, in mm.

Value-equal with exact == on the doubles: a stored value. fromJson accepts a degenerate wall (length ≤ wallJoin.linear or thickness ≤ 0); the geometry gives it no outline.

Constructors

WallParams(double sx, double sy, double ex, double ey, double thickness, Justification justification)
const

Properties

end → Vector2
no setter
ex → double
final
ey → double
final
hashCode → int
The hash code for this object.
no setteroverride
justification → Justification
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → Vector2
no setter
sx → double
final
sy → double
final
thickness → double
final
typeId → String
no setter

Methods

copyWith({Vector2? start, Vector2? end, double? thickness, Justification? justification}) → WallParams
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Map<String, Object?> json) → WallParams
Throws ArgumentError on an unknown justification name.

Constants

componentTypeId → const String