CADability dotNET

The ModOp2D type exposes the following members.

Methods

  NameDescription
Public methodStatic memberFit(array<GeoVector2D>[]()[][], array<GeoVector2D>[]()[][])
Constructs a modification, that transforms the src vectors to the dst vectors. The length of src and dst must be 2. The resulting modification is any kind of an affinity, that projects the src vectors to the dst vectors. The origin (0,0) remains fixed.
Public methodStatic memberFit(array<GeoPoint2D>[]()[][], array<GeoPoint2D>[]()[][], Boolean)
Constructs a modification, that transforms the Src points to the Dst points. The length of Src and Dst must be equal and less than 4. If the length is 1, the resulting ModOp is a translation, if the length is 2, the parameter DoScale decides whether the resulting ModOp is a translation and rotation (DoScale==false) or translation, rotation and scaling (DoScale==true). If the length is 3, the resulting modification is any kind of an affinity, that projects the src points to the dst points.
Public methodGetInverse
Returns the inverse of this modification.
Public methodStatic memberPlaneToplane
Returns a 2d modification, that transforms from the coordinate system of the first plane to the coordinate system of the second plane. If the planes ar not coincident, the first plane is projected onto the second plane.
Public methodStatic memberRotate(SweepAngle)
Creates a rotation about the origin
Public methodStatic memberRotate(GeoPoint2D, SweepAngle)
Creates a rotation about a fixpoint
Public methodStatic memberScale(Double)
Public methodStatic memberScale(Double, Double)
Public methodStatic memberScale(GeoPoint2D, Double)
Public methodTo3D
Public methodStatic memberTranslate(GeoVector2D)
Creates a translation
Public methodStatic memberTranslate(Double, Double)
Creates a translation
Public methodStatic memberXYPart
Returns a 2d ModOp which represents the 2d part of a 3d ModOp.

See Also