TorusShape class final

Torus: a closed circular profile revolved around Y.

Inheritance

Constructors

TorusShape({double radius = 0.35, double tubeRadius = 0.15, int segments = 48, int tubeSegments = 24})
const

Properties

delegate → Shape
The shape this one reduces to.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
name → String
Name for diagnostics and UI labels.
no setteroverride
radius → double
Distance from the origin to the tube centre.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
segments → int
final
tubeRadius → double
The tube's own radius.
final
tubeSegments → int
final

Methods

build({VertexLayout layout = VertexLayout.standard}) → MeshData
Generates the geometry for the requested layout.
inherited
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