CIVectorMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to CIVectorMBS class.

CIVectorMBS.CGAffineTransformValue as CGAffineTransformMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the values stored in the CIVector object as an affine transform.
Example
dim p as new CGAffineTransformMBS
dim v as new CIVectorMBS(p)
dim x as CGAffineTransformMBS = v.CGAffineTransformValue
MsgBox str(x.A)+" "+str(x.B)+" "+str(x.C)+" "+str(x.D)+" "+str(x.TX)+" "+str(x.TY)

The first six values in the vector become the values that comprise the affine transform.
Available in OS X v10.9 and later.

CIVectorMBS.CGPointValue as CGPointMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the values stored in the CIVector object as a point.
Example
dim p as new CGPointMBS(10, 20)
dim v as CIVectorMBS = CIVectorMBS.vectorWithCGPoint(p)

dim x as CGPointMBS = v.CGPointValue
MsgBox str(x.x)+" "+str(x.y)

The vector's X and Y property values become the CGPoint's X and Y values.
Available in OS X v10.9 and later.

CIVectorMBS.CGRectValue as CGRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the values stored in the CIVector object as an rect.
Example
dim p as new CGRectMBS(10, 20, 30, 40)
dim v as CIVectorMBS = CIVectorMBS.vectorWithCGRect(p)

dim x as CGRectMBS = v.CGRectValue
MsgBox str(x.Origin.X)+" "+str(x.Origin.y)+" "+str(x.Size.Width)+" "+str(x.Size.Height)

The vector's X, Y, Z and W property values become the CGRect's X, Y, height and width values.
Available in OS X v10.9 and later.

CIVectorMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 12.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes object with given object reference.

ref should be a CIVector* and the object is retained.
Raises UnsupportedOperationException if object is not a CIVector.

See also:

CIVectorMBS.Constructor(p as CGPointMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes a vector that is initialized with values provided by a CGPoint.
Example
dim p as new CGPointMBS(10, 20)
dim v as new CIVectorMBS(p)

MsgBox str(v.x)+" "+str(v.y)

The CGPoint's X and Y values are stored in the vector's X and Y properties.
Available in OS X v10.9 and later.

See also:

CIVectorMBS.Constructor(r as CGRectMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes a vector that is initialized with values provided by a CGRect.
Example
dim p as new CGRectMBS(10, 20, 30, 40)
dim v as new CIVectorMBS(p)
dim x as CGRectMBS = v.CGRectValue
MsgBox str(x.Origin.X)+" "+str(x.Origin.y)+" "+str(x.Size.Width)+" "+str(x.Size.Height)

The CGRect structure's X, Y, height and width values are stored in the vector's X, Y, Z and W properties.
Available in OS X v10.9 and later.

See also:

CIVectorMBS.Constructor(StringRepresentation as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new vector based on content of the string.
Example
dim v as CIVectorMBS
v=New CIVectorMBS("[1 2 3]")

See also:

CIVectorMBS.Constructor(t as CGAffineTransformMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes a vector that is initialized with values provided by a CGAffineTransform.
Example
dim p as new CGAffineTransformMBS
dim v as new CIVectorMBS(p)
dim x as CGAffineTransformMBS = v.CGAffineTransformValue
MsgBox str(x.A)+" "+str(x.B)+" "+str(x.C)+" "+str(x.D)+" "+str(x.TX)+" "+str(x.TY)

The six values that comprise the affine transform fill the first six positions of the resulting CIVector object.
Available in OS X v10.9 and later.

See also:

CIVectorMBS.Constructor(values() as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 12.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes a new vector with given values.

See also:

CIVectorMBS.Constructor(values() as single)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 12.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes a new vector with given values.

See also:

CIVectorMBS.Constructor(x as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new vector based on one value.
Example
dim x as Double
dim v as CIVectorMBS
v=New CIVectorMBS(x)

See also:

CIVectorMBS.Constructor(x as Double, y as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new vector based on two values.
Example
dim x,y as Double
dim v as CIVectorMBS
v=New CIVectorMBS(x,y)

See also:

CIVectorMBS.Constructor(x as Double, y as Double, z as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new vector based on three values.
Example
dim x,y,z as Double
dim v as CIVectorMBS
v=New CIVectorMBS(x,y,z)

See also:

CIVectorMBS.Constructor(x as Double, y as Double, z as Double, w as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new vector based on 4 values.
Example
dim x,y,z,w as Double
dim v as CIVectorMBS
v=New CIVectorMBS(x,y,z,w)

See also:

CIVectorMBS.copy as CIVectorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 12.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a copy of the vector object.

CIVectorMBS.Value(index as Integer) as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreImage MBS MacCI Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The value with the given index.

Index is zero based.

The items on this page are in the following plugins: MBS MacCI Plugin.


💬 Ask a question or report a problem