discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

SeparatorParams class final

A room separator's parameters (spec 10 D3): both ends in group-local space, in mm. A free two-point line that splits a face as a zero-thickness wall would.

Value-equal with exact == on the doubles: a stored value. fromJson accepts anything well-typed; a separator no longer than roomTrace.linear, or with an end that is not finite, is degenerate and generates nothing.

Constructors

SeparatorParams(double sx, double sy, double ex, double ey)
const

Properties

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

Methods

copyWith({Vector2? start, Vector2? end}) → SeparatorParams
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) → SeparatorParams

Constants

componentTypeId → const String