Pattern

public struct Pattern : OptionSet, Encodable

Sets the surface pattern of the iso-surface 3-D sections.

The default pattern of the surface is all meaning that the rest of surface elements would be shaded. The check options (either 1 or 2) could be used to draw half of the squares on the surface. Using various combinations of capital A, B, C, D and E may also be used to reduce the number of triangles on the iso-surfaces and creating other patterns of interest.

  • Declaration

    Swift

    public let rawValue: Int
  • a

    Undocumented

    Declaration

    Swift

    public static var a: Pattern { get }
  • b

    Undocumented

    Declaration

    Swift

    public static var b: Pattern { get }
  • c

    Undocumented

    Declaration

    Swift

    public static var c: Pattern { get }
  • d

    Undocumented

    Declaration

    Swift

    public static var d: Pattern { get }
  • e

    Undocumented

    Declaration

    Swift

    public static var e: Pattern { get }
  • all

    Undocumented

    Declaration

    Swift

    public static var all: Pattern { get }
  • odd

    Undocumented

    Declaration

    Swift

    public static var odd: Pattern { get }
  • Undocumented

    Declaration

    Swift

    public static var even: Pattern { get }
  • Declaration

    Swift

    public init(rawValue: Int)
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws