PointPlane3D class

A plane with list of points. Used often to present a scale.

Inheritance

Constructors

PointPlane3D(double size, Axis3D axis, double gap, Vector3 position, {Color? color, double? pointWidth})
Creates a new PointPlane3D.

Properties

axis Axis3D
Facing axis (x to left/right, y to up/down, z to far/near).
final
color Color?
Color of the plane. Defaults to DiTreDiConfig setting.
final
figures List<Model3D<Model3D>>
The list of 3D objects in a group.
finalinherited
gap double
Gap between points.
final
hashCode int
The hash code for this object.
no setteroverride
pointWidth double?
Width of points. Defaults to DiTreDiConfig setting.
final
position → Vector3
Center of the plane.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
Size of the plane.
final

Methods

clone() PointPlane3D
Makes a copy of this model.
override
copyWith({Axis3D? axis, double? size, double? gap, Vector3? position, Color? color, double? pointWidth}) PointPlane3D
Copies the plane.
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.
inherited
verticesCount() int
Returns number of vertices.
inherited

Operators

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