Show / Hide Table of Contents

Class BRepOperation

Inheritance
System.Object
OctTree<BRepItem>
BRepOperation
Inherited Members
OctTree<BRepItem>.precision
OctTree<BRepItem>.node
OctTree<BRepItem>.Initialize(BoundingCube, Double)
OctTree<BRepItem>.InitializePrecise(BoundingCube, Double)
OctTree<BRepItem>.AddObject(BRepItem)
OctTree<BRepItem>.AddObjectAsync(BRepItem)
OctTree<BRepItem>.AddMany(IEnumerable<BRepItem>)
OctTree<BRepItem>.RemoveObject(BRepItem)
OctTree<BRepItem>.GetObjectsFromLine(GeoPoint, GeoVector, Double)
OctTree<BRepItem>.GetObjectsFromRect(Projection, BoundingRect, Boolean)
OctTree<BRepItem>.GetObjectsFromRect(Projection.PickArea, Boolean)
OctTree<BRepItem>.GetObjectsFromBox(BoundingCube)
OctTree<BRepItem>.GetObjectsFromBox(BoundingCube, OctTree.Filter<>)
OctTree<BRepItem>.GetNodesFromBox(BoundingCube, OctTree.FilterNode<>)
OctTree<BRepItem>.GetObjectsFromPoint(GeoPoint)
OctTree<BRepItem>.GetObjectsFromPlane(Plane)
OctTree<BRepItem>.GetObjectsCloseTo(IOctTreeInsertable)
OctTree<BRepItem>.Extend
OctTree<BRepItem>.IsEmpty
OctTree<BRepItem>.GetNodesCloseTo(IOctTreeInsertable)
OctTree<BRepItem>.FindNode(GeoPoint)
OctTree<BRepItem>.FindExactNode(BoundingCube)
OctTree<BRepItem>.GetNeighbours(OctTree.Node<BRepItem>, OctTree.Filter<>)
OctTree<BRepItem>.GetNeighbourNodes(OctTree.Node<BRepItem>, OctTree.FilterNode<>)
OctTree<BRepItem>.GetAllObjects()
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
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
Type Name Description
Shell s1
Shell s2
BRepOperation.Operation operation
| 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
Type Name Description
Shell s1
Shell s2
System.Collections.Generic.Dictionary<Edge, System.Tuple<Face, Face>> knownIntersections
BRepOperation.Operation operation
| 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
Type Description
GeoObjectList

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
Type Description
Face[]
| 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
Type Name Description
Set<Edge> edges
Set<Vertex> vertices
Face fce
System.Double precision
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Result()

Declaration
public Shell[] Result()
Returns
Type Description
Shell[]
| 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
Type Description
Shell
| Improve this Doc View Source

SplitByPlane(Shell, Plane)

Declaration
public static (Shell[] upperPart, Shell[] lowerPart) SplitByPlane(Shell shell, Plane pln)
Parameters
Type Name Description
Shell shell
Plane pln
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
Type Name Description
OctTree.Node<BRepItem> node
BRepItem objectToAdd
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
Type Description
CompoundShape
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX