|
![]() |
The Point2D type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Point2D()()()() |
Create a zero vector
|
![]() |
Point2D(VariantData) |
Create a point from a data object of type Point2D
|
![]() |
Point2D(Double, Double) |
Create a point from X and Y components
|
Methods
Name | Description | |
---|---|---|
![]() |
Add |
Translates a point by a vector to produce a new point
|
![]() |
Dispose()()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from NativeHandle.) |
![]() |
Dispose(Boolean) | (Inherited from NativeHandle.) |
![]() |
DistanceTo |
Distance from this point to another point
|
![]() |
DistanceToSquared |
Distance squared from this point to another point
|
![]() |
Equals | (Overrides NativeHandle..::..Equals(Object).) |
![]() |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from NativeHandle.) |
![]() |
GetHashCode | (Overrides NativeHandle..::..GetHashCode()()()().) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
Subtract(Point2D) |
Creates a new vector from point to this
|
![]() |
Subtract(Vector2D) |
Translates a point by a vector to produce a new point
|
![]() |
ToData |
Converts point to a data object of type Point3D
|
![]() |
TolerantEquals(Point2D) |
Compare points using a tolerance
|
![]() ![]() |
TolerantEquals(Point2D, Point2D) |
Compare points using a tolerance
|
![]() |
TolerantEquals(Point2D, Double) |
Compare points using a tolerance
|
![]() ![]() |
TolerantEquals(Point2D, Point2D, Double) |
Compare points using a tolerance
|
![]() |
ToString | (Overrides NativeHandle..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
![]() |
Distance |
Distance of point from origin
|
![]() |
DistanceSquared |
Distance of point from origin squared
|
![]() |
IsDisposed |
Gets a value indicating whether the object has been disposed and is no longer available.
(Inherited from NativeHandle.) |
![]() |
IsOrigin |
Is this point at the origin (all components zero) ?
|
![]() |
IsReadOnly | (Overrides NativeHandle..::..IsReadOnly.) |
![]() |
Item | |
![]() ![]() |
Origin |
Return point at the origin (all components zero)
|
![]() |
X |
Returns the X component of the point
|
![]() |
Y |
Returns the Y component of the point
|