smile.modeling

package smile.modeling

Members list

Type members

Classlikes

Provides factory methods for creating common affine transformations, including flips and rotations, relative to various axes and points.

Provides factory methods for creating common affine transformations, including flips and rotations, relative to various axes and points.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class AffineTransformation(alpha: Double, gamma: Double, tauX: Double, delta: Double, beta: Double, tauY: Double)

Represents an affine transformation defined by matrix coefficients for scaling, rotating, and translating points in 2D space.

Represents an affine transformation defined by matrix coefficients for scaling, rotating, and translating points in 2D space.

Value parameters

alpha

The X scaling component.

beta

The Y scaling component.

delta

The Y to X shearing component.

gamma

The X to Y shearing component.

tauX

The X translation component.

tauY

The Y translation component.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Angle

Provides constants and utilities for angle measurements and conversions.

Provides constants and utilities for angle measurements and conversions.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Angle.type
class Angle(val inDegrees: Double)

Represents an angle with utility methods for trigonometric operations and conversions.

Represents an angle with utility methods for trigonometric operations and conversions.

Value parameters

inDegrees

The angle in degrees.

Attributes

Constructor

Creates an angle given in degrees.

Companion
object
Supertypes
class Object
trait Matchable
class Any

Provides utility methods for calculating boundaries around picture elements and positions.

Provides utility methods for calculating boundaries around picture elements and positions.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Bounds

Provides factory methods for creating Bounds objects, which represent rectangular areas in a coordinate space.

Provides factory methods for creating Bounds objects, which represent rectangular areas in a coordinate space.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Bounds.type
case class Bounds(upperLeftCorner: Pos, lowerRightCorner: Pos)

Represents the boundaries of a rectangular area, defined by its upper left and lower right corners.

Represents the boundaries of a rectangular area, defined by its upper left and lower right corners.

Value parameters

lowerRightCorner

The lower right corner position.

upperLeftCorner

The upper left corner position.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object NullBounds
enum HorizontalAlignment(val sideIndependent: SideIndependentAlignment)

Enum for horizontal alignment options with a corresponding side-independent alignment.

Enum for horizontal alignment options with a corresponding side-independent alignment.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Provides utility methods for calculating boundaries around picture elements and positions.

Provides utility methods for calculating boundaries around picture elements and positions.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Len

Companion object for the Len case class, providing a constant for zero length.

Companion object for the Len case class, providing a constant for zero length.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Len.type
case class Len(inPixels: Double)

Represents a length in a graphical context, measured in pixels.

Represents a length in a graphical context, measured in pixels.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object NullBounds extends Bounds

Represents a special Bounds instance that effectively has no size and no position.

Represents a special Bounds instance that effectively has no size and no position.

Attributes

Supertypes
class Bounds
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
NullBounds.type
object Pos

Companion object for the Pos case class, providing a constant for the origin position.

Companion object for the Pos case class, providing a constant for the origin position.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Pos.type
case class Pos(x: Double, y: Double)

Represents a position in a 2D coordinate system.

Represents a position in a 2D coordinate system.

Value parameters

x

The x-coordinate of the position.

y

The y-coordinate of the position.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Enumerates the types of positions used in positioning and aligning elements within a graphical context.

Enumerates the types of positions used in positioning and aligning elements within a graphical context.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
enum Side

Enum representing the four cardinal sides.

Enum representing the four cardinal sides.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Enum for side-independent alignment, which can be converted to either horizontal or vertical alignment.

Enum for side-independent alignment, which can be converted to either horizontal or vertical alignment.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Transformer

Contains methods for transforming positions, particularly for rotation and scaling operations.

Contains methods for transforming positions, particularly for rotation and scaling operations.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
enum VerticalAlignment(val sideIndependent: SideIndependentAlignment)

Enum for vertical alignment options with a corresponding side-independent alignment.

Enum for vertical alignment options with a corresponding side-independent alignment.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all