Package smile.plot.swing
Class Wireframe
java.lang.Object
smile.plot.swing.Shape
smile.plot.swing.Plot
smile.plot.swing.Wireframe
A wire frame model specifies each edge of the physical object where two
mathematically continuous smooth surfaces meet, or by connecting an
object's constituent vertices using straight lines or curves.
-
Constructor Details
-
Wireframe
Constructor.- Parameters:
vertices
- an n-by-2 or n-by-3 array which are coordinates of n vertices.edges
- an m-by-2 array of which each row is the vertex indices of two end points of each edge.
-
-
Method Details
-
getLowerBound
public double[] getLowerBound()Description copied from class:Plot
Returns the lower bound of data.- Specified by:
getLowerBound
in classPlot
-
getUpperBound
public double[] getUpperBound()Description copied from class:Plot
Returns the upper bound of data.- Specified by:
getUpperBound
in classPlot
-
paint
Description copied from class:Shape
Draws the shape. -
of
Constructor.- Parameters:
vertices
- an n-by-2 or n-by-3 array which are coordinates of n vertices.edges
- an m-by-2 array of which each row is the vertex indices of two end points of each edge.
-