@Name(value="cv::Complex<float>") @NoOffset @Properties(inherit=opencv_core.class) public class Complexf extends FloatPointer
//////////////////////////////// Complex //////////////////////////////
/** \brief A complex number class.
The template class is similar and compatible with std::complex, however it provides slightly more convenient access to the real and imaginary parts using through the simple field access, as opposite to std::complex::real() and std::complex::imag().
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Complexf()
default constructor
|
Complexf(float _re) |
Complexf(float _re,
float _im) |
Complexf(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Complexf |
conj()
conjugation
|
float |
im() |
Complexf |
im(float setter) |
float |
re() |
Complexf |
re(float setter) |
asBuffer, capacity, get, get, get, get, limit, position, put, put, put, put, sizeof
address, asByteBuffer, availablePhysicalBytes, calloc, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public Complexf(Pointer p)
Pointer.Pointer(Pointer)
.public Complexf()
public Complexf(float _re, float _im)
public Complexf(float _re)
Copyright © 2020. All rights reserved.