CADability dotNET
The GeoPoint type exposes the following members.
Constructors
Name | Description | |
---|---|---|
GeoPoint(array<GeoPoint>[]()[][]) |
Constructs a ne GeoPoint at the geometric middle of the provided points
| |
GeoPoint(GeoPoint2D) |
Creates a GeoPoint with the z-coordinate 0.0 and x,y set to p.x,p.y
| |
GeoPoint(Double, Double) |
Constructs a new GeoPoint with given x and y components, z-component will be 0.0
| |
GeoPoint(SerializationInfo, StreamingContext) |
Constructor for ISerializable
| |
GeoPoint(GeoPoint, GeoPoint) |
Constructs a new GeoPoint in the middle between two other GeoPoints
| |
GeoPoint(GeoPoint2D, Double) | ||
GeoPoint(Double, Double, Double) |
Constructs a new GeoPoint with given x, y and z components.
| |
GeoPoint(GeoPoint, Double, Double, Double) |
Constructs a new GeoPoint as on offset from an existing GeoPoint.
|
Methods
Name | Description | |
---|---|---|
Center |
Creates a new GeoPoint at the center of the points provided in the parameter list.
| |
Distance |
Returns the distance from this point to the given point.
| |
Equals |
Overrides object.Equals
(Overrides ValueType..::..Equals(Object).) | |
GetHashCode |
Overrides object.GetHashCode()
(Overrides ValueType..::..GetHashCode()()()().) | |
To2D |
returns a 2-dimensional point by ommiting the z-component.
| |
ToPointF |
Returns this point modified by ModOp m as a System.Drawing.PointF
| |
ToString |
Overrides object.ToString()
(Overrides ValueType..::..ToString()()()().) | |
ToVector |
Returns the vector that points from the origin to this point
|
Operators
Name | Description | |
---|---|---|
Addition |
Adds a vector (offset) to a GeoPoint
| |
BitwiseOr |
Returns the distance of the two points
| |
Equality |
Determins whether two GeoPoints are exactly equal. Use IsEqual(GeoPoint, GeoPoint)
if you need more control over precision.
| |
Inequality |
Determins whether two GeoPoints are not equal. Use IsEqual(GeoPoint, GeoPoint)
if you need more control over precision.
| |
Multiply | ||
Subtraction(GeoPoint, GeoPoint) |
Returns the vector that points from p1 to p2.
| |
Subtraction(GeoPoint, GeoVector) |
Subtracts a vector (offset) from a GeoPoint
| |
UnaryNegation |
Fields
Properties
Name | Description | |
---|---|---|
Origin |
returns the origin, same as new GeoPoint(0.0,0.0,0.0);
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
ISerializable..::..GetObjectData |