Atom class
Constructors
- Atom({required String elementName, required Vector3 position})
- Atom.fromRaw({required double radius, required Vector3 position, required Color? color})
Properties
- color ↔ Color?
-
getter/setter pairinherited
-
figures
→ List<
Model3D< Model3D> > -
The list of 3D objects in a group.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- position ↔ Vector3
-
getter/setter pairinherited
- radius ↔ double
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clone(
) → Group3D -
Makes a copy of this model.
inherited
-
getBounds(
) → Aabb3 -
Gets bounds of a model (min and max coordinates).
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
DiTreDiConfig config, DiTreDiController controller, PaintViewPort viewPort, Group3D model, Matrix4 matrix, int vertexIndex, Float32List zIndices, Int32List colors, Float32List vertices) → void -
Fills the buffer with the
Model3D
data.inherited -
toLines(
) → List< Line3D> -
Converts model to a List of
Line3D
.inherited -
toPoints(
) → List< Point3D> -
Converts model to a List of
Point3D
.inherited -
toString(
) → String -
A string representation of this object.
override
-
verticesCount(
) → int -
Returns number of vertices.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited