public class ImagePoint extends ImageElement
ImagePoint
class has functions for image painting.
title: SystemCoreLib
description: functions for image painting
copyright: (c) 2012 thomas kaffka, born at 11/08/1959 in düsseldorf - germany , all rights reserved.
Constructor and Description |
---|
ImagePoint(double px1,
double py1,
double pz1,
double center_x,
double center_y,
int point_size,
boolean precalc)
The constructor
ImagePoint creates a new instance(object) of the class. |
ImagePoint(double px1,
double py1,
double pz1,
int point_size,
boolean precalc)
The constructor
ImagePoint creates a new instance(object) of the class. |
Modifier and Type | Method and Description |
---|---|
void |
draw2D(GraphicParameter gp,
boolean convert_coordinates)
The method
draw2D draw all points of the line list in 2 dimensions. |
void |
draw2D(GraphicParameter gp,
boolean convert_coordinates,
boolean mirror)
The method
draw2D draw all points of the line list in 2 dimensions. |
void |
draw3D(GraphicParameter gp,
boolean convert_coordinates)
The method
draw2D draw all points of the line list in 2 dimensions. |
int |
getPointSize()
The method
getPointSize returns the poit size.. |
public ImagePoint(double px1, double py1, double pz1, int point_size, boolean precalc)
ImagePoint
creates a new instance(object) of the class.px1
- coordinate.py1
- coordinate.pz1
- coordinate.point_size
- the diameter of a point in pixelsprecalc
- .public ImagePoint(double px1, double py1, double pz1, double center_x, double center_y, int point_size, boolean precalc)
ImagePoint
creates a new instance(object) of the class.px1
- coordinate.py1
- coordinate.pz1
- coordinate.center_x
- the center for 3D graphics.center_y
- the center for 3D graphics.point_size
- the diameter of a point in pixelsprecalc
- .public int getPointSize()
getPointSize
returns the poit size..public void draw2D(GraphicParameter gp, boolean convert_coordinates) throws java.lang.Exception
draw2D
draw all points of the line list in 2 dimensions.draw2D
in class ImageElement
gp
- the graphic parameters.convert_coordinates
- true = coordinates conversion with calculated factors.java.lang.Exception
- if errorpublic void draw2D(GraphicParameter gp, boolean convert_coordinates, boolean mirror) throws java.lang.Exception
draw2D
draw all points of the line list in 2 dimensions.gp
- the graphic parameters.convert_coordinates
- true = coordinates conversion with calculated factors.mirror
- mirrors the points at the y axis.java.lang.Exception
- if errorpublic void draw3D(GraphicParameter gp, boolean convert_coordinates) throws java.lang.Exception
draw2D
draw all points of the line list in 2 dimensions.draw3D
in class ImageElement
gp
- the graphic parameters.convert_coordinates
- true = coordinates conversion with calculated factors.java.lang.Exception
- if error