The class representing a point in 2-D space

C# | Visual Basic | Visual C++ |
public class Point : ICloneable
Public Class Point _ Implements ICloneable
public ref class Point : ICloneable

All Members | Constructors | Methods | Fields | ||
Icon | Member | Description |
---|---|---|
![]() | Point()()()() |
Constructor
|
![]() | Point(Single, Single) |
Constructor
|
![]() | Add(Point) |
Adds two points
|
![]() | Clone()()()() | |
![]() | Divide(Single) |
Divides the point X and Y values by a number
|
![]() | Equals(Point) | |
![]() | Equals(Object) | (Overrides Object.Equals(Object).) |
![]() | Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | FromVector2(Vector2) |
Converts Vector2 to Point
|
![]() | GetHashCode()()()() | (Overrides Object.GetHashCode()()()().) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | Invert()()()() |
Inverts the point
|
![]() | Max(Point) |
Finds maximum between 2 points
|
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Min(Point) |
Finds minimum between 2 points
|
![]() | Multiply(Single) |
Multiplies the point with a factor
|
![]() | Subtract(Point) |
Subtracts two points
|
![]() | ToString()()()() | (Overrides Object.ToString()()()().) |
![]() | ToVector2()()()() |
Converts Point to Vector2
|
![]() | X |
X coordinate
|
![]() | Y |
Y coordinate
|
![]() ![]() | Zero |
Zero point
|

Coded by Danko Kozar

Object | |
![]() | Point |