DSVector4
The DSVector4 class represents a four-dimensional vector.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSVector4 : NSObjectclass 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
@property (nonatomic, copy, readonly) NSArray *values;var value: [Int] { get }
initWithIntegerValue
The constructor. Creates a DSVector4 from the specified parameters.
- Objective-C
- Swift
- (instancetype)initWithIntegerValue:(NSInteger)v1 v2:(NSInteger)v2 v3:(NSInteger)v3 v4:(NSInteger)v4;init(v1: Int, v2: Int, v3: Int, v4: Int)