Table of contents

DSVector4

The DSVector4 class represents a four-dimensional vector.

Definition

Assembly: DynamsoftCaptureVisionBundle.xcframework

  • Objective-C
  • Swift
  1. @interface DSVector4 : NSObject
    
  2. class Vector4 : NSObject
    

Attributes & Methods

Attributes Type Description
value NSArray The components value of a four-dimensional vector.
Method Description
initWithIntegerValue The constructor. Creates a DSVector4 from the specified parameters.

value

The components value of a four-dimensional vector.

  • Objective-C
  • Swift
  1. @property (nonatomic, copy, readonly) NSArray *values;
    
  2. var value: [Int] { get }
    

initWithIntegerValue

The constructor. Creates a DSVector4 from the specified parameters.

  • Objective-C
  • Swift
  1. - (instancetype)initWithIntegerValue:(NSInteger)v1
                                  v2:(NSInteger)v2
                                  v3:(NSInteger)v3
                                  v4:(NSInteger)v4;
    
  2. init(v1: Int, v2: Int, v3: Int, v4: Int)
    

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: