Dart Documentationorson_chartsDot3D

Dot3D class

A single point with a color.

Extends

Object3D > Dot3D

Constructors

new Dot3D(num x, num y, num z, Color color) #

Creates a new instance representing the point ( x, y, z) with the specified color.

Properties

Color color #

The color.

final List<Face> faces #

inherited from Object3D

Returns the faces for this object.

final int vertexCount #

inherited from Object3D

Returns the number of vertices for this object.

Methods

void addDoubleSidedFace(List<int> vertices, Color color, bool outline) #

inherited from Object3D

Adds a double-sided face to the object.

void addFace(Face face) #

inherited from Object3D

Adds a face to the object.

void addVertex(Point3D vertex) #

inherited from Object3D

Adds a vertex to the object.

void addVertexXYZ(num x, num y, num z) #

inherited from Object3D

Adds a vertex using coordinates ( x, y, z).

List<Point3D> calculateEyeCoordinates(ViewPoint3D viewPoint) #

inherited from Object3D

Transforms the vertices for the object to eye-coordinates assuming the specified viewPoint.

List<Point> calculateProjectedPoints(ViewPoint3D viewPoint, num d) #

inherited from Object3D

Projects the vertices to 2D-space assuming the specified viewPoint and projection distance d.