Class ConicBase

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Ellipse, Ellipsoid

public abstract class ConicBase extends MarkWithPosition
Abstract base class for conic marks (e.g., ellipsoids, spheres).

This class extends MarkWithPosition to provide common functionality for conic-shaped marks in 3D space.

See Also:
  • Constructor Details

    • ConicBase

      protected ConicBase()
      Default constructor.
    • ConicBase

      protected ConicBase(MarkWithPosition source)
      Constructor that copies from another MarkWithPosition.
      Parameters:
      source - the source MarkWithPosition to copy from
  • Method Details

    • createRadiiArrayResolved

      public abstract double[] createRadiiArrayResolved(Optional<Resolution> resolution)
      Creates an array of radii resolved to the given resolution.
      Parameters:
      resolution - an optional resolution to consider
      Returns:
      an array of resolved radii
    • createRadiiArray

      public abstract double[] createRadiiArray()
      Creates an array of radii in their original units.
      Returns:
      an array of radii
    • setMarksExplicit

      public abstract void setMarksExplicit(Point3d pos, Orientation orientation, Point3d radii)
      Sets the mark's properties explicitly.
      Parameters:
      pos - the position of the mark
      orientation - the orientation of the mark
      radii - the radii of the mark
    • setMarksExplicit

      public abstract void setMarksExplicit(Point3d position, Orientation orientation)
      Sets the mark's position and orientation explicitly.
      Parameters:
      position - the position of the mark
      orientation - the orientation of the mark
    • setMarksExplicit

      public abstract void setMarksExplicit(Point3d position)
      Sets the mark's position explicitly.
      Parameters:
      position - the position of the mark
    • radiiOrderedResolved

      public double[] radiiOrderedResolved(Optional<Resolution> resolution)
      Returns an ordered array of radii resolved to the given resolution.
      Parameters:
      resolution - an optional resolution to consider
      Returns:
      an ordered array of resolved radii
    • radiiOrdered

      public double[] radiiOrdered()
      Returns an ordered array of radii in their original units.
      Returns:
      an ordered array of radii