CADability dotNET
The ModOp type exposes the following members.
Methods
Name | Description | |
---|---|---|
Fit(array<GeoPoint>[]()[][], array<GeoPoint>[]()[][], Boolean) |
Constructs a ModOp, that transforms the Src points to the Dst points.
The length of Src and Dst must be equal and less than 5. 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 or 4, the resulting ModOp is any kind of an affinity, that
projects the src points to the dst points.
| |
Fit(GeoPoint, array<GeoVector>[]()[][], GeoPoint, array<GeoVector>[]()[][]) | ||
GetInverse |
Returns the inverse of this modification.
| |
ReflectPlane()()()() |
Constructs a ModOp, that performs a reflection about the y/z plane
| |
ReflectPlane(Plane) |
Constructs a ModOp, that performs a reflection about the given plane
| |
ReflectPoint |
Constructs a ModOp, that performs a reflection about the given point
| |
Rotate(GeoVector, SweepAngle) |
Creates a modification that performs a rotation about an axis through the origina
| |
Rotate(GeoPoint, GeoVector, GeoVector) |
Creates a rotation around the fixpoint that moves the vector from to the vector to.
| |
Rotate(GeoPoint, GeoVector, SweepAngle) |
Creates a modification that performs a rotation about an axis through the given point
| |
Scale(Double) |
Creates a modification that performs a scaling about the origin
| |
Scale(GeoPoint, Double) |
Creates a modification that performs a scaling about a given point
| |
Scale(GeoVector, Double) |
Creates a modification that performs a scaling in a given direction
| |
Scale(Double, Double, Double) |
Creates a modification that performs a scaling with different factors
in x,y and z direction
| |
Scale(GeoPoint, GeoVector, Double) |
Creates a modification that performs a scaling in a given direction with a fixpoint
| |
To2D | ||
Transform |
Constructs a ModOp, that maps the Src coordinate system to the Dst coordinate system
| |
Translate(GeoVector) |
Constructs a ModOp, that performs a translation by the given offset vector
| |
Translate(Double, Double, Double) |
Constructs a ModOp, that performs a translation by the given offsets
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
ISerializable..::..GetObjectData |