Package org.bytedeco.cuda.nppc
Class NppiRect
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.nppc.NppiRect
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=nppc.class) public class NppiRect extends Pointer
2D Rectangle This struct contains position and size information of a rectangle in two space. The rectangle's position is usually signified by the coordinate of its upper-left corner.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NppiRectgetPointer(long i)intheight()Rectangle height.NppiRectheight(int setter)NppiRectposition(long position)intwidth()Rectangle width.NppiRectwidth(int setter)intx()x-coordinate of upper left corner (lowest memory address).NppiRectx(int setter)inty()y-coordinate of upper left corner (lowest memory address).NppiRecty(int setter)-
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Constructor Detail
-
NppiRect
public NppiRect()
Default native constructor.
-
NppiRect
public NppiRect(long size)
Native array allocator. Access withPointer.position(long).
-
NppiRect
public NppiRect(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
getPointer
public NppiRect getPointer(long i)
- Overrides:
getPointerin classPointer
-
x
public int x()
x-coordinate of upper left corner (lowest memory address).
-
x
public NppiRect x(int setter)
-
y
public int y()
y-coordinate of upper left corner (lowest memory address).
-
y
public NppiRect y(int setter)
-
width
public int width()
Rectangle width.
-
width
public NppiRect width(int setter)
-
height
public int height()
Rectangle height.
-
height
public NppiRect height(int setter)
-
-