Class BorderBuilder
Klasse zum Erzeugen von Border Objekten.
Inheritance
System.Object
BorderBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability.Shapes
Assembly: CADability.dll
Syntax
public class BorderBuilder
Constructors
| Improve this Doc View SourceBorderBuilder()
Declaration
public BorderBuilder()
Properties
| Improve this Doc View SourceEndDirection
Declaration
public GeoVector2D EndDirection { get; }
Property Value
| Type | Description |
|---|---|
| GeoVector2D |
EndPoint
Declaration
public GeoPoint2D EndPoint { get; }
Property Value
| Type | Description |
|---|---|
| GeoPoint2D |
IsClosed
Declaration
public bool IsClosed { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsOriented
Declaration
public bool IsOriented { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
LastCurve
Declaration
public ICurve2D LastCurve { get; }
Property Value
| Type | Description |
|---|---|
| ICurve2D |
Precision
Declaration
public double Precision { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
StartPoint
Declaration
public GeoPoint2D StartPoint { get; }
Property Value
| Type | Description |
|---|---|
| GeoPoint2D |
Methods
| Improve this Doc View SourceAddSegment(ICurve2D)
Fügt das im Parameter gegebene Segment zu. ACHTUNG: die Methode BuildBorder(Boolean) BuildBorder dreht dieses Segment möglicherweise um. Wenn das nicht passieren darf, dann hier mit Clone arbeiten!
Declaration
public bool AddSegment(ICurve2D ToAdd)
Parameters
| Type | Name | Description |
|---|---|---|
| ICurve2D | ToAdd | zuzufügendes Segment |
Returns
| Type | Description |
|---|---|
| System.Boolean |
BuildBorder(Boolean)
Declaration
public Border BuildBorder(bool forceClosed = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | forceClosed |
Returns
| Type | Description |
|---|---|
| Border |
Clear()
Declaration
public void Clear()
Connect(ICurve2D)
Declaration
public void Connect(ICurve2D ToAdd)
Parameters
| Type | Name | Description |
|---|---|---|
| ICurve2D | ToAdd |