discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

WorldWall class final

A wall in world space: what every joint computation reads (spec 07 D4).

Built by this one constructor from (params, toWorld), so two walls that compute the same neighbour get the same bits.

Constructors

WorldWall(Handle handle, WallParams p, Transform2 toWorld)

Properties

d → Vector2
The unit direction from start to end. Undefined for a degenerate wall.
latefinal
degenerate → bool
Spec 07 D2: a centreline no longer than wallJoin.linear, or a thickness that is not positive. Such a wall has no outline and is never classified against (a NaN counts as degenerate).
no setter
e → Vector2
The world start and end of the centreline.
final
handle → Handle
final
hashCode → int
The hash code for this object.
no setterinherited
j → Justification
final
offsets → (double, double)
The left and right face offsets along the left normal (-d.y, d.x) (spec 07 D2): (t/2, -t/2), (t, 0) or (0, -t).
no setter
params → WallParams
The stored parameters and the group's accumulated transform this wall was built from: what the host frame (spec 08 D7), computed in the wall's group-local space, reads.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
s → Vector2
The world start and end of the centreline.
final
t → double
The thickness.
final
toWorld → Transform2
final

Methods

endpoint(int k) → Vector2
The start for k == 0, the end otherwise.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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