# Point2D Class

Name | Description | |
---|---|---|

Point2D(Point2D) | ||

Point2D() | Empty constructor. | |

Point2D(double, double) | Standard constructor. | |

Point2D(double[]) | Double array constructor. |

Name | Description | |
---|---|---|

AreEqual(Point2D, Point2D, double) | Compares two 2D points in the given domain. | |

Clone() | Creates a deep copy of this 2D point. | |

ConvertToSurrogate() | ||

Distance(Point2D, Point2D) | Computes the distance between two 2D points. | |

DistanceSquared(Point2D, Point2D) | Computes the squared distance between two 2D points. | |

DistanceTo(Point2D) | Computes the distance to 2D point b. | |

DistanceTo(Segment2D) | Computes the point-line distance. | |

Equals(Point2D) | ||

Equals(object) | Determines whether the specified object is equal to the current 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). | |

GetHashCode() | Serves as the default hash function. | |

GetType | Gets the Type of the current instance. (inherited from Object). | |

GetXElement() | ||

IsValid() | Returns true if the point's coordinates are reasonable values. | |

MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |

MidPoint(Point2D, Point2D) | Computes the midpoint between two 2D points. | |

ProjectTo(Segment2D) | Project this point onto a 2D segment. | |

ReadXml(XmlNode) | ||

ReadXml(string) | ||

ToArray() | Returns an array of point's coordinates. | |

ToString() | Converts this 2D point to a human readable string. | |

ToStringXml() | Converts this 2D point to a human readable string. | |

TransformBy(Transformation) | Transforms the 2D point by the specified transformation. | |

WriteXml(XmlTextWriter) |

Name | Description | |
---|---|---|

Addition | Addition between two 2D points. | |

Addition | Addition between a 2D point and a 2D vector. | |

Addition | Addition between a 2D vector and a 2D point. | |

Division | Division between a 2D point and a scalar value. | |

Equality | ||

Inequality | ||

Multiply | Product between a 2D point and a scalar value. | |

Multiply | Product between a scalar value and a 2D point. | |

Subtraction | Subtraction between two 2D points. | |

Subtraction | Subtraction between a 2D point and a 2D vector. | |

Subtraction | Subtraction between a 2D vector and a 2D point. |

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). |

devDept.Geometry.Point2D