Class MarkConicFactory
Object
MarkConicFactory
Factory class for creating conic marks (ellipses and ellipsoids) from points.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MarkcreateMarkFromPoint(Point3d point, int size, boolean do3D) Creates a mark from a double-precision 3D point.static MarkcreateMarkFromPoint(Point3i point, int size, boolean do3D) Creates a mark from an integer 3D point.
-
Method Details
-
createMarkFromPoint
Creates a mark from an integer 3D point.- Parameters:
point- the center point of the marksize- the size of the mark (diameter)do3D- if true, creates a 3D ellipsoid; if false, creates a 2D ellipse- Returns:
- a new Mark instance (either Ellipsoid or Ellipse)
-
createMarkFromPoint
Creates a mark from a double-precision 3D point.- Parameters:
point- the center point of the marksize- the size of the mark (diameter)do3D- if true, creates a 3D ellipsoid; if false, creates a 2D ellipse- Returns:
- a new Mark instance (either Ellipsoid or Ellipse)
- Throws:
IllegalArgumentException- if size is not positive or if do3D is false and point.z() is not 0
-