CADability dotNET

The Plane type exposes the following members.

Methods

  NameDescription
Public methodAlign(GeoPoint2D)
Public methodAlign(Plane, Boolean)
Aligns the DirectionX and DirectionY vectors of this plane so that the projection of DirectionX of AlignTo and DircetionX of this plane are parallel. If the two planes are parallel, the DirectionX and DirectionY of both planes will also be parallel. The plane will not be changed. The Location of this plane will be changed to a point closest to the location of AlignTo, if relocate is true, otherwise the location remains unchanged.
Public methodAlign(Plane, Boolean, Boolean)
Aligns the DirectionX and DirectionY vectors of this plane so that the projection of DirectionX of AlignTo and DircetionX of this plane are parallel. If the two planes are parallel, the DirectionX and DirectionY of both planes will also be parallel. The plane will not be changed. The Location of this plane will be changed to a point closest to the location of AlignTo, if relocate is true, otherwise the location remains unchanged. If flip is true there is an additional check whether the angle between the two normal vectors is less than 90°. If not, the y-axis is reversed and the angle between the two normal vectors will be less than 90°
Public methodDistance
Returns the signed distance of the point from the plane. The direction of the normal vector of the plane determins the sign of the result.
Public methodElem
Public methodStatic memberFromPoints
Finds a plane that best fits through the given points. Calculates also the maximum distance of the points from that plane. If MaxDistance is 0.0 or small, the points are coplanar.
Public methodGetProjection
Returns a projection that projects (perpendiccular) from global space to this plane
Public methodInterfere
Public methodIntersect(GeoPoint, GeoVector)
Returns the intersection plane of the line given by the parameters with this plane.
Public methodIntersect(Plane, GeoPoint%, GeoVector%)
Public methodStatic memberIntersect3Planes
Public methodIsValid
An uninitialized plane is invalid, because its normal vector is (0,0,0).
Public methodModify
Public methodOffset
Returns a plane parallel to this plane with the given offset
Public methodProject(GeoPoint)
Projects the given point (perpendicular) onto this plane and returns the two-dimensional point as expressed in the coordinate system of this plane.
Public methodProject(GeoVector)
Projects the given vector (perpendicular) onto this plane and returns the two-dimensional vector as expressed in the coordinate system of this plane.
Public methodReverse
Public methodToGlobal(GeoPoint)
Inverse to the appropriate ToLocal(GeoPoint) method. The given point is assumed in the coordinate ststem of this plane. Returns the point in the global coordinate system.
Public methodToGlobal(GeoPoint2D)
Inverse to the appropriate Project(GeoPoint) method. Returns the point in the global coordinate system
Public methodToGlobal(GeoVector)
Returns the 3D GeoVector corresponding to the given GeoVector in the coordinate system of the plane.
Public methodToGlobal(GeoVector2D)
Inverse to the appropriate Project(GeoVector) method. Returns the vector in the global coordinate system
Public methodToLocal(GeoPoint)
Returns the point as expressed in the coordinate system of this plane
Public methodToLocal(GeoVector)
Returns the vector as expressed in the coordinate system of this plane
Public methodToLocal(Plane)
Returns the plane given in parameter p expressed in the coordinate system of this plane

Explicit Interface Implementations

See Also