﻿Precision Members

The Precision type exposes the following members.

# Constructors

NameDescription
Precision
Initializes a new instance of the Precision class

# Methods

NameDescription
IsDirectionInPlane
Determins, whether the given vector is in the given plane
IsEqual(Angle, Angle)
IsEqual(GeoPoint, GeoPoint)
Determins, whether the given points are almost identical, i.e. the distance of the points is less than eps.
IsEqual(GeoPoint, array<GeoPoint>[]()[][])
Returns true if the distance of each point from p to c is less than eps.
IsEqual(GeoPoint2D, GeoPoint2D)
IsEqual(GeoPoint2D, array<GeoPoint2D>[]()[][])
Returns true if the distance of each point from p to c is less than eps.
IsEqual(GeoVector, GeoVector)
IsEqual(GeoVector2D, GeoVector2D)
IsEqual(Plane, Plane)
Determins, whether the two planes are almost identical, i.e. the angular difference is less than epsa and the distance of then location of p2 to the plane p1 is less than eps. The DirectionX, DirectionY and Location properties of the two planes may be completely different, the two coordinate systems of the planes may be different.
IsNormedVector
IsNull(Double)
IsNull(Angle)
IsNull(SweepAngle)
IsNullVector(GeoVector)
Determins, whether the length of the given vector is almost 0, i.e. the length is less than eps
IsNullVector(GeoVector2D)
IsPerpendicular(GeoVector, GeoVector, Boolean)
IsPerpendicular(GeoVector2D, GeoVector2D, Boolean)
IsPointOnLine(GeoPoint, GeoPoint, GeoPoint)
IsPointOnLine(GeoPoint2D, GeoPoint2D, GeoPoint2D)
IsPointOnPlane
Determins, whether the 3D point is on the plane. This is true when either the distance of the point to the plane is less than eps, or the elevation of the vector from the location of the plane to the point is less than epsa
OppositeDirection(GeoVector, GeoVector)
OppositeDirection(GeoVector2D, GeoVector2D)
SameDirection(GeoVector, GeoVector, Boolean)
Determins, whether the directions of the given vectors are almost identical, i.e. the angular difference is less than epsa. This is alos true for opposite directions.
SameDirection(GeoVector2D, GeoVector2D, Boolean)
Determins, whether the directions of the given vectors are almost identical, i.e. the angular difference is less than epsa.
SameNotOppositeDirection(GeoVector, GeoVector)
SameNotOppositeDirection(GeoVector2D, GeoVector2D, Boolean)
SetFromModel

# Fields

NameDescription
eps
The maximum distance for which two points are considered geometrically equal.
epsa
The maximum difference in radians for two angles to be considered geometrically equal.