CADability dotNET

The GeoPoint type exposes the following members.

Constructors

  NameDescription
Public methodGeoPoint(array<GeoPoint>[]()[][])
Constructs a ne GeoPoint at the geometric middle of the provided points
Public methodGeoPoint(GeoPoint2D)
Creates a GeoPoint with the z-coordinate 0.0 and x,y set to p.x,p.y
Public methodGeoPoint(Double, Double)
Constructs a new GeoPoint with given x and y components, z-component will be 0.0
Public methodGeoPoint(SerializationInfo, StreamingContext)
Constructor for ISerializable
Public methodGeoPoint(GeoPoint, GeoPoint)
Constructs a new GeoPoint in the middle between two other GeoPoints
Public methodGeoPoint(GeoPoint2D, Double)
Public methodGeoPoint(Double, Double, Double)
Constructs a new GeoPoint with given x, y and z components.
Public methodGeoPoint(GeoPoint, Double, Double, Double)
Constructs a new GeoPoint as on offset from an existing GeoPoint.

Methods

  NameDescription
Public methodStatic memberCenter
Creates a new GeoPoint at the center of the points provided in the parameter list.
Public methodDistance
Returns the distance from this point to the given point.
Public methodEquals
Overrides object.Equals
(Overrides ValueType..::..Equals(Object).)
Public methodGetHashCode
Overrides object.GetHashCode()
(Overrides ValueType..::..GetHashCode()()()().)
Public methodTo2D
returns a 2-dimensional point by ommiting the z-component.
Public methodToPointF
Returns this point modified by ModOp m as a System.Drawing.PointF
Public methodToString
Overrides object.ToString()
(Overrides ValueType..::..ToString()()()().)
Public methodToVector
Returns the vector that points from the origin to this point

Operators

  NameDescription
Public operatorStatic memberAddition
Adds a vector (offset) to a GeoPoint
Public operatorStatic memberBitwiseOr
Returns the distance of the two points
Public operatorStatic memberEquality
Determins whether two GeoPoints are exactly equal. Use IsEqual(GeoPoint, GeoPoint) if you need more control over precision.
Public operatorStatic memberInequality
Determins whether two GeoPoints are not equal. Use IsEqual(GeoPoint, GeoPoint) if you need more control over precision.
Public operatorStatic memberMultiply
Public operatorStatic memberSubtraction(GeoPoint, GeoPoint)
Returns the vector that points from p1 to p2.
Public operatorStatic memberSubtraction(GeoPoint, GeoVector)
Subtracts a vector (offset) from a GeoPoint
Public operatorStatic memberUnaryNegation

Fields

  NameDescription
Public fieldx
x-component
Public fieldy
y-component
Public fieldz
z-component

Properties

  NameDescription
Public propertyStatic memberOrigin
returns the origin, same as new GeoPoint(0.0,0.0,0.0);

Explicit Interface Implementations

See Also