Size2D Class
Name | Description | |
---|---|---|
Size2D(Point2D, Point2D) | Two 2D points constructor. | |
Size2D(double, double) | Standard constructor. |
Name | Description | |
---|---|---|
AsVector | (inherited from Point2D). | |
Diagonal | Returns the rectangle diagonal length. | |
Max | Gets the maximum rectangle dimension. | |
MaxValue | Returns a 2D point with coordinates at double.MaxValue. (inherited from Point2D). | |
MaximumCoordinate | Gets the absolute value of the maximum coordinate. (inherited from Point2D). | |
Min | Gets the minimum rectangle dimension. | |
MinValue | Returns a 2D point with coordinates at double.MinValue. (inherited from Point2D). | |
Origin | Returns a 2D point at origin. (inherited from Point2D). |
Name | Description | |
---|---|---|
AreEqual(Point2D, Point2D, double) | Compares two 2D points in the given domain. (inherited from Point2D). | |
Clone() | Creates a deep copy of this 2D point. (inherited from Point2D). | |
ConvertToSurrogate() | (inherited from Point2D). | |
Distance(Point2D, Point2D) | Computes the distance between two 2D points. (inherited from Point2D). | |
DistanceSquared(Point2D, Point2D) | Computes the squared distance between two 2D points. (inherited from Point2D). | |
DistanceTo(Point2D) | Computes the distance to 2D point b. (inherited from Point2D). | |
DistanceTo(Segment2D) | Computes the point-line distance. (inherited from Point2D). | |
Equals(Point2D) | (inherited from Point2D). | |
Equals(object) | Determines whether the specified object is equal to the current object. (inherited from Point2D). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetHashCode() | Serves as the default hash function. (inherited from Point2D). | |
GetType | Gets the Type of the current instance. (inherited from Object). | |
GetXElement() | (inherited from Point2D). | |
IsValid() | Returns true if the point's coordinates are reasonable values. (inherited from Point2D). | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
MidPoint(Point2D, Point2D) | Computes the midpoint between two 2D points. (inherited from Point2D). | |
ProjectTo(Segment2D) | Project this point onto a 2D segment. (inherited from Point2D). | |
ReadXml(XmlNode) | (inherited from Point2D). | |
ReadXml(string) | (inherited from Point2D). | |
ToArray() | Returns an array of point's coordinates. (inherited from Point2D). | |
ToString() | Converts this 2D point to a human readable string. (inherited from Point2D). | |
ToStringXml() | Converts this 2D point to a human readable string. (inherited from Point2D). | |
TransformBy(Transformation) | Transforms the 2D point by the specified transformation. (inherited from Point2D). | |
WriteXml(XmlTextWriter) | (inherited from Point2D). |
Name | Description | |
---|---|---|
Addition | Addition between two 2D points. (inherited from Point2D). | |
Addition | Addition between a 2D point and a 2D vector. (inherited from Point2D). | |
Addition | Addition between a 2D vector and a 2D point. (inherited from Point2D). | |
Division | Division between a 2D point and a scalar value. (inherited from Point2D). | |
Equality | (inherited from Point2D). | |
Inequality | (inherited from Point2D). | |
Multiply | Product between a 2D point and a scalar value. (inherited from Point2D). | |
Multiply | Product between a scalar value and a 2D point. (inherited from Point2D). | |
Subtraction | Subtraction between two 2D points. (inherited from Point2D). | |
Subtraction | Subtraction between a 2D point and a 2D vector. (inherited from Point2D). | |
Subtraction | Subtraction between a 2D vector and a 2D point. (inherited from Point2D). |
Name | Description | |
---|---|---|
DrawGL(this Point2D) | Calls glVertex2d(X, Y) (Defined by ExtensionMethodsGL). | |
DrawGL(this Point3D) | Calls glVertex3d(X, Y, Z). (Defined by ExtensionMethodsGL). | |
DrawGL(this PointNormalUv) | Calls glNormal3d(Nx, Ny, Nz) and glVertex3d(X, Y, Z) (Defined by ExtensionMethodsGL). | |
DrawGL(this PointNormalUv, Color[]) | For internal use only. (Defined by ExtensionMethodsGL). | |
DrawGL(this PointRGB) | Calls gl.Color3ub(R, G, B) and glVertex3d(X, Y, Z). (Defined by ExtensionMethodsGL). | |
DrawGL(this PointWithDisplacement, double) | Calls gl.Vertex3d(X+UX, Y+UY, Z+UZ). (Defined by ExtensionMethodsGL). | |
DrawGL(this Vector3D) | Calls gl.Normal3d(X, Y, Z) (Defined by ExtensionMethodsGL). |