CADability dotNET
The CompoundShape type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CompoundShape()()()() |
Constructs an empty shape
| |
CompoundShape(array<SimpleShape>[]()[][]) |
Constructs a compund shape from one or many simple shapes. The simple shapes must be non overlapping
NoteIf you are not sure, whether | |
CompoundShape(SerializationInfo, StreamingContext) |
Constructor required by deserialization
|
Methods
Name | Description | |
---|---|---|
Clip | ||
Clone | ||
Contains | ||
CreateFromConnectedList | ||
CreateFromList(array<ICurve2D>[]()[][], Double) | ||
CreateFromList(GeoObjectList, Double, Plane%) | ||
CreateFromList(GeoObjectList, GeoPoint, Boolean, Boolean, Double, Plane%) | ||
CreateGraphicsPath | ||
Difference | ||
Expand | ||
GetDisplayExtent | ||
GetExtent | ||
GetModified | ||
GetObjectData | ||
HitTest(BoundingRect%) | ||
HitTest(BoundingRect%, Boolean) | ||
Intersection | ||
MakeFaces |
Returns planar faces, one for each contained SimpleShape.
| |
MakePaths |
Converts the shape to one or more Path objects according to the provided plane.
| |
Paint | ||
Project |
The 2d-compund shape is assumed to reside in plane "fromPlane". It will be projected
perpendicular onto the plane "toPlane". If the planes are perpendicular, the result
will be am empty shape
| |
Set2DRepresentation |
Only used to set additional information if this CompoundShape is used as a I2DRepresentation.
| |
Shrink | ||
Split |
Das im Parameter gegebene Objekt muss eine offene Kurve sein, die dieses CompoundShape
Objekt durchschneidet. Das Ergebniss ist ein CompoundShape, was aus mehreren SimpleShapes
besteht, die durch das Durchschneiden entstanden sind.
| |
Union |
Operators
Name | Description | |
---|---|---|
Addition | ||
Multiply | ||
Subtraction |
Returns the difference of the two CompoundShapes s1 and s2 (s1-s2).
The result may be empty.
|
Properties
Name | Description | |
---|---|---|
Area | ||
Empty | ||
GeoObject | ||
Layer | ||
ReferencedObject | ||
SimpleShapes | ||
UserData |
Explicit Interface Implementations
Name | Description | |
---|---|---|
I2DRepresentation..::..IsVisible |