FPoint Class

Note: This API is now obsolete.
Single-precision 2D point.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2820.4317
C#
[ObsoleteAttribute("FPoint is obsolete. Please use FVector2.")]
public class FPoint
Inheritance
Object    FPoint

Remarks

This class exists to take advantage of first-class object behavior during operation. It is similar in usage to the System.Windows.PointF, but is accessible by reference wherever it is used. As a result, once the item is assigned in a helper function, its members continue to carry exactly the same information as the root instance until they are changed.

Constructors

FPoint Create a new Instance of the FPoint Item.
FPoint(FPoint) Create a new Instance of the FPoint Item.
FPoint(FVector2) Create a new Instance of the FPoint Item.
FPoint(Single, Single) Create a new Instance of the FPoint Item.

Properties

ReadOnly Get/Set a value indicating whether this item is read-only.
X Get/Set the X value of the coordinate.
Y Get/Set the Y value of the coordinate.

Methods

Clear Clear the values on the specified point.
Clone Return a memberwise clone of the provided point.
ClosestPoint(FPoint, ListFArea) Return the closest point to the check-point.
ClosestPoint(FPoint, ListFPoint) Return the closest point to the check-point.
Delta Return the coordinate difference between two points.
Dot Return the dot product of two points.
Equals Return a value indicating whether this item's members are equal to the members of the caller's item.
(Overrides ObjectEquals(Object))
Finalize
(Inherited from Object)
GetCenter Return the center point of the collection of points.
GetHashCode Return the unique hash code for this instance.
(Overrides ObjectGetHashCode)
GetType
(Inherited from Object)
Invert Invert the values of the caller's coordinate.
IsDifferent Return a value indicating whether two points are different.
IsEmpty Return a value indicating whether the specified point is empty.
Magnitude Return the absolute magnitude of the provided point.
MemberwiseClone
(Inherited from Object)
MiddlePoint Return the middle coordinate between two points.
Negate Negate the values of the caller's coordinate.
Offset Return a new instance the caller's point, translated by the specified offset.
OnCoordinateChanged Raise the CoordinateChanged event whenever coordinates have changed.
Parse Parse a coordinate string and return its FPoint representation.
Rotate(FPoint, Single) Rotate the caller's point around the origin.
Rotate(Single, Single, Single) Rotate the caller's point around the origin.
Scale Scale the caller's point by a uniform factor.
ToString Return the string representation of this item.
(Overrides ObjectToString)
TransferValues(FPoint, FPoint) Transfer the member values of one instance to another.
TransferValues(FPoint, Single, Single) Transfer member values to the specified target.
Translate Translate the values of the caller's point by the provided offset.
Zero Zero the values of the specified point.

Events

CoordinateChanged Fired when a coordinate has changed.

Operators

Addition(FPoint, FPoint) Return the result of the values of two points added together.
Equality(FPoint, FPoint) Return a value indicating whether values of two points are equal.
(FPoint to FVector2) Cast the FPoint instance to a FVector2.
(FVector2 to FPoint) Cast the FVector2 instance to an FPoint.
Inequality(FPoint, FPoint) Return a value indicating whether values of two points are not equal.
Multiply(FPoint, Single) Return the result of a point multiplied by a scalar.
Multiply(Single, FPoint) Return the result of a point multiplied by a scalar.
Subtraction(FPoint, FPoint) Return the result of one point subtracted from another.

See Also