Class BRepOperation
Inheritance
System.Object
BRepOperation
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()
Assembly: CADability.dll
Syntax
public class BRepOperation : OctTree<BRepItem>
Constructors
|
Improve this Doc
View Source
BRepOperation(Face, Shell)
Declaration
public BRepOperation(Face toClip, Shell clipBy)
Parameters
| Type |
Name |
Description |
| Face |
toClip |
|
| Shell |
clipBy |
|
|
Improve this Doc
View Source
BRepOperation(Shell, Shell, BRepOperation.Operation)
Declaration
public BRepOperation(Shell s1, Shell s2, BRepOperation.Operation operation)
Parameters
|
Improve this Doc
View Source
BRepOperation(Shell, Shell, Dictionary<Edge, Tuple<Face, Face>>, BRepOperation.Operation)
Declaration
public BRepOperation(Shell s1, Shell s2, Dictionary<Edge, Tuple<Face, Face>> knownIntersections, BRepOperation.Operation operation)
Parameters
|
Improve this Doc
View Source
BRepOperation(Shell, Plane)
Prepare a brep operation for splitting a (closed) shell with a plane. Or for returning the compound shapes on the specified plane.
Here we assume that "toSplit" is properly oriented and han no periodic faces (no seams)
Declaration
public BRepOperation(Shell toSplit, Plane splitBy)
Parameters
| Type |
Name |
Description |
| Shell |
toSplit |
the shell to split (must be closed)
|
| Plane |
splitBy |
the plane to split by
|
Properties
|
Improve this Doc
View Source
AllowOpenEdges
Declaration
public bool AllowOpenEdges { set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
DebugEdgesToSplit
Declaration
public GeoObjectList DebugEdgesToSplit { get; }
Property Value
Methods
|
Improve this Doc
View Source
ClipFace(Face, Shell)
Declaration
public static Face[] ClipFace(Face toClip, Shell clipBy)
Parameters
| Type |
Name |
Description |
| Face |
toClip |
|
| Shell |
clipBy |
|
Returns
|
Improve this Doc
View Source
GetOverlappingFaces(out Face[], out Face[], out ModOp2D[])
Liefert die Vereinigung der beiden Shells. Das können mehrere Shells sein, denn es kann eine innere Höhlung entstehen.
Declaration
public int GetOverlappingFaces(out Face[] onShell1, out Face[] onShell2, out ModOp2D[] firstToSecond)
Parameters
| Type |
Name |
Description |
| Face[] |
onShell1 |
|
| Face[] |
onShell2 |
|
| ModOp2D[] |
firstToSecond |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
Intersect(out GeoPoint)
Checks whether the two shells intersect each other
Declaration
public bool Intersect(out GeoPoint anyIntersectionPoint)
Parameters
| Type |
Name |
Description |
| GeoPoint |
anyIntersectionPoint |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsSameFace(Set<Edge>, Set<Vertex>, Face, Double)
Declaration
public static bool IsSameFace(Set<Edge> edges, Set<Vertex> vertices, Face fce, double precision)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Result()
Declaration
Returns
|
Improve this Doc
View Source
RoundEdges(Shell, Edge[], Double)
Declaration
public static Shell RoundEdges(Shell toRound, Edge[] edges, double radius)
Parameters
| Type |
Name |
Description |
| Shell |
toRound |
|
| Edge[] |
edges |
|
| System.Double |
radius |
|
Returns
|
Improve this Doc
View Source
SplitByPlane(Shell, Plane)
Declaration
public static (Shell[] upperPart, Shell[] lowerPart) SplitByPlane(Shell shell, Plane pln)
Parameters
Returns
| Type |
Description |
| System.ValueTuple<Shell[], Shell[]> |
|
|
Improve this Doc
View Source
SplitNode(OctTree<BRepItem>.Node<BRepItem>, BRepItem)
Declaration
protected override bool SplitNode(OctTree<BRepItem>.Node<BRepItem> node, BRepItem objectToAdd)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
CADability.OctTree<CADability.BRepItem>.SplitNode(CADability.OctTree.Node<CADability.BRepItem>, CADability.BRepItem)
|
Improve this Doc
View Source
SplitResult()
Declaration
public CompoundShape SplitResult()
Returns