iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIPoint3D

@interface SCIPoint3D : NSObject

Represents the [x, y, z] coordinates point in 3-D space.

Note

The x, y and z components are single-precision floating-point values.
  • x

    The x-component of this SCIPoint3D.

    Declaration

    Objective-C

    @property (readonly, nonatomic) float x;

    Swift

    var x: Float { get }
  • y

    The y-component of this SCIPoint3D.

    Declaration

    Objective-C

    @property (readonly, nonatomic) float y;

    Swift

    var y: Float { get }
  • z

    The z-component of this SCIPoint3D.

    Declaration

    Objective-C

    @property (readonly, nonatomic) float z;

    Swift

    var z: Float { get }
  • Assign new values to the the x, y and z components from passed in SCIPoint3D.

    Declaration

    Objective-C

    - (void)assign:(SCIPoint3D *)point;

    Swift

    func assign(_ point: SCIPoint3D!)

    Parameters

    point

    The SCIPoint3D object to copy x, y and z components from.

  • Assign new values to the the x, y and z components.

    Declaration

    Objective-C

    - (void)assignX:(float)x y:(float)y z:(float)z;

    Swift

    func assignX(_ x: Float, y: Float, z: Float)

    Parameters

    x

    The new x value.

    y

    The new y value.

    z

    The new z value.

  • Clears the x, y and z components.

    Declaration

    Objective-C

    - (void)clear;

    Swift

    func clear()