Click or drag to resize

Point2D Class

[This is preliminary documentation and is subject to change.]

Defines a point in 2D space, used by polygons which define the shape of a general cross-section
Inheritance Hierarchy
SystemObject
  ModelExchanger.AnalysisDataModel.Subtypes.CrossSectionShapePoint2D

Namespace:  ModelExchanger.AnalysisDataModel.Subtypes.CrossSectionShape
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public sealed class Point2D : IEquatable<Point2D>

The Point2D type exposes the following members.

Constructors
  NameDescription
Public methodPoint2D(Length, Length)
Create a 2D point with given X and Y coordinate
Public methodPoint2D(Double, Double, LengthUnit)
Create a 2D point with given X and Y coordinate values in the given length unit
Top
Properties
  NameDescription
Public propertyCoordinateX
The X coordinate of the point
Public propertyCoordinateY
The Y coordinate of the point
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(Point2D)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodToString
Convert the current point into a user-friendly string representation of the point. X and Y are expressed in millimeters
(Overrides ObjectToString.)
Top
See Also