Struct ClipRect
Mit dieser Klasse werden primitive Clip-Funktionen abgehandelt.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: CADability.dll
Syntax
Constructors
|
Improve this Doc
View Source
ClipRect(BoundingRect)
Declaration
public ClipRect(BoundingRect r)
Parameters
|
Improve this Doc
View Source
ClipRect(ref BoundingRect)
Declaration
public ClipRect(ref BoundingRect r)
Parameters
|
Improve this Doc
View Source
ClipRect(Double, Double, Double, Double)
Declaration
public ClipRect(double Left, double Right, double Bottom, double Top)
Parameters
| Type |
Name |
Description |
| System.Double |
Left |
|
| System.Double |
Right |
|
| System.Double |
Bottom |
|
| System.Double |
Top |
|
Fields
|
Improve this Doc
View Source
Bottom
Declaration
Field Value
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
Left
Declaration
Field Value
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
Right
Declaration
Field Value
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
Top
Declaration
Field Value
| Type |
Description |
| System.Double |
|
Properties
|
Improve this Doc
View Source
Center
Declaration
public GeoPoint2D Center { get; }
Property Value
|
Improve this Doc
View Source
Size
Declaration
public double Size { get; }
Property Value
| Type |
Description |
| System.Double |
|
Methods
|
Improve this Doc
View Source
ArcHitTest(GeoPoint2D, Double, Int32, GeoPoint2D, GeoPoint2D)
Declaration
public bool ArcHitTest(GeoPoint2D c, double r, int q, GeoPoint2D ps, GeoPoint2D pe)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ClipCode(ref GeoPoint2D, ref BoundingRect)
Declaration
public static int ClipCode(ref GeoPoint2D p, ref BoundingRect rect)
Parameters
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
ClipLine(ref GeoPoint2D, ref GeoPoint2D)
Verändert die durch die beiden gegebenen Punkte gegebene Linie so, dass sie
vom Clip-Rechteck geklippt wird.
Declaration
public bool ClipLine(ref GeoPoint2D p1, ref GeoPoint2D p2)
Parameters
Returns
| Type |
Description |
| System.Boolean |
true, wenn etwas von der Linie sichtbar bleibt
|
|
Improve this Doc
View Source
Contains(GeoPoint2D)
Declaration
public bool Contains(GeoPoint2D p)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
EllipseArcHitTest(GeoPoint2D, Double, Double, Angle, Int32, GeoPoint2D, GeoPoint2D)
Declaration
public bool EllipseArcHitTest(GeoPoint2D cnt, double rx, double ry, Angle a, int q, GeoPoint2D ps, GeoPoint2D pe)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
LineHitTest(GeoPoint2D, GeoPoint2D)
Testet, ob die durch die beiden Punkte gegebene Linie von dem Rechteck berührt wird.
Declaration
public bool LineHitTest(GeoPoint2D p1, GeoPoint2D p2)
Parameters
Returns
| Type |
Description |
| System.Boolean |
true, wenn die Linie berührt wird
|
|
Improve this Doc
View Source
LineHitTest(GeoPoint2D, GeoPoint2D, ref BoundingRect)
Declaration
public static bool LineHitTest(GeoPoint2D p1, GeoPoint2D p2, ref BoundingRect rect)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ParallelogramHitTest(GeoPoint2D, GeoVector2D, GeoVector2D)
Declaration
public bool ParallelogramHitTest(GeoPoint2D p, GeoVector2D v1, GeoVector2D v2)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
PointsHitTest(GeoPoint2D[])
Declaration
public int PointsHitTest(GeoPoint2D[] points)
Parameters
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
Split()
Declaration
public ClipRect[] Split()
Returns
|
Improve this Doc
View Source
TriangleHitTest(GeoPoint2D, GeoPoint2D, GeoPoint2D)
Declaration
public bool TriangleHitTest(GeoPoint2D p1, GeoPoint2D p2, GeoPoint2D p3)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|