oevislib_net  0.14.3.0
Loading...
Searching...
No Matches

A 2D point in the discrete space. More...

Inheritance diagram for oevislib_net.Geometry.Point2Di:

Public Member Functions

bool Equals (Point2Di other)
override bool Equals (object obj)
override int GetHashCode ()
override object Clone ()

Static Public Member Functions

static implicit operator Point2D (Point2Di p)
static operator Point2Di (Point2D p)

Properties

int X = 0 [get, set]
int Y = 0 [get, set]

Point2Di Basics

See also
Basics
static bool operator== (Point2Di inPoint2Di1, Point2Di inPoint2Di2)
static bool operator!= (Point2Di inPoint2Di1, Point2Di inPoint2Di2)
static Point2Di operator+ (Point2Di inPoint1, Point2Di inPoint2)
 Sums points' coordinates.
static Point2Di operator- (Point2Di inPoint1, Point2Di inPoint2)
 Subtracts points' coordinates.
static Point2Di operator- (Point2Di inPoint)
static bool operator< (Point2Di inPoint1, Point2Di inPoint2)
 Compare both coordinates using the 'less than' logical operator.
static bool operator> (Point2Di inPoint1, Point2Di inPoint2)
 Compare both coordinates using the 'greater than' logical operator.
static bool operator<= (Point2Di inPoint1, Point2Di inPoint2)
 
Parameters
inPoint1
inPoint2

static bool operator>= (Point2Di inPoint1, Point2Di inPoint2)
 
Parameters
inPoint1
inPoint2

static Point2Di Deserialize (ByteBuffer inBuffer)
 De-serialize a Point2Di buffer.
 Point2Di ()
 Creates a new Point2Di object, with (0,0) coordinates.
 Point2Di (int inX, int inY)
 Creates a new Point2Di object using the provided coordinates.
ByteBuffer Serialize ()
 Serializes Point2Di object.

Detailed Description

A 2D point in the discrete space.

Typically used to identify pixel position inside an Image.