@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()
the real and the imaginary parts
|
Complexf |
re(float setter) |
asBuffer, capacity, get, get, get, get, getPointer, limit, position, put, put, put, put, sizeof
address, asByteBuffer, availablePhysicalBytes, calloc, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Complexf(Pointer p)
Pointer(Pointer)
.public Complexf()
public Complexf(float _re, float _im)
public Complexf(float _re)
Copyright © 2024. All rights reserved.