Brep Class

BRep solid entity definition. A manifold solid B-rep is a finite, arcwise connected volume bounded by one or more surfaces, each of which is a connected, oriented, finite, closed 2-manifold. There is no restriction on the genus of the volume, nor on the number of voids within the volume.

The Boundary Representation (B-rep) of a manifold solid utilizes a graph of edges and vertices embedded in a connected, oriented, finite, closed two manifold surface. The embedded graph divides the surface into arcwise connected areas known as faces. The edges and vertices, therefore, form the boundaries of the face and the domain of a face does not include its boundaries. The embedded graph may be disconnected and may be a pseudo graph. The graph is labeled; that is, each entity in the graph has a unique identity. The geometric surface definition used to specify the geometry of a face shall be 2-manifold embeddable in the plane within the domain of the face. In other words, it shall be connected, oriented, finite, non-self-intersecting, and of surface genus 0.

Faces do not intersect except along their boundaries. Each edge along the boundary of a face is shared by at most one other face in the assemblage. The assemblage of edges in the B-rep do not intersect except at their boundaries (i.e., vertices). The geometry curve definition used to specify the geometry of an edge shall be arcwise connected and shall not self intersect or overlap within the domain of the edge. The geometry of an edge shall be consistent with the geometry of the faces of which it forms a partial bound. The geometry used to define a vertex shall be consistent with the geometry of the faces and edges of which it forms a partial bound.

A B-rep is represented by one or more closed shells which shall be disjoint. One shell, the outer, shall completely enclose all the other shells and no other shell may enclose a shell.

Public Class Brep 
Inherits Entity 
Implements IFace, _ 
ISelectableSubItems, _ 
IFaceSelectable
This language is not supported or no code example is available.
public class Brep : Entity
IFace
ISelectableSubItems
IFaceSelectable
This language is not supported or no code example is available.
Name Description
Protected constructor Brep(Brep)
Internal protected (Protected Friend) constructor Brep(BrepSurrogate) Proprietary file format constructor.
Public constructor Brep(GBrep) Constructor with primitive.
Public constructor Brep(Point3D[], Edge[], Face[], Face[][], bool, double) Inner shells constructor.
Public constructor Brep(SerializationInfo, StreamingContext)
Top
Name Description
Public property AutodeskProperties Gets or sets the Autodesk common properties. (inherited from Entity).
Public property BoxMax Gets the maximum 3D extent of the entity. (inherited from Entity).
Public property BoxMin Gets the minimum 3D extent of the entity. (inherited from Entity).
Public property BoxSize Gets the 3D extent of the entity. (inherited from Entity).
Public property Color Gets or sets the entity color. (inherited from Entity).
Public property ColorMethod Gets or sets the entity color source. (inherited from Entity).
Protected property Compiling Tells if the entity is being compiled. (inherited from Entity).
Internal protected (Protected Friend) property DynamicSelectionHaloMode Gets or sets the entity halo drawing mode for dynamic selection. (inherited from Entity).
Public property Edges Gets or sets edge array.
Public property EntityData Gets or sets the entity custom data. (inherited from Entity).
Public property Faces Gets or sets outer shell face array.
Public property FacesSelectionInfo List of selected faces per each component instance.
Public property GroupIndex Gets or sets the entity group index. (inherited from Entity).
Public property Static IgnoreSubSelectionRegenData When true, it doesn't force regeneration even if subselection metadata are missing. (inherited from Entity).
Public property Inners Gets or sets inner (void) shells face array.
Public property IsClosed Gets the shell closure status.
Public property LayerName Gets or sets the name of the referenced Layer. (inherited from Entity).
Public property LineTypeMethod Gets or sets the entity line type source. (inherited from Entity).
Public property LineTypeName Gets or sets the line type name of the Workspace.LineTypes collection. In use only if the LineTypeMethod is byEntity. (inherited from Entity).
Public property LineTypeScale Gets or sets the line type scale. (inherited from Entity).
Public property LineWeight Gets or sets the entity line weight. (inherited from Entity).
Public property LineWeightMethod Gets or sets the entity line weight source. (inherited from Entity).
Public property MaterialName Gets or sets the entity material name.
Public property OrientedBounding A bounding volume that can fit the entity in a different orientation than AABB. It can be an OrientedBoundingBox or an OrientedBoundingRect(for planar entities). UpdateOrientedBoundingBox (inherited from Entity).
Public property Primitive Gets the primitive object.
Public property PrintOrder Gets or sets the entity printing order. Entities with a lower value are printed first. Default value is zero. (inherited from Entity).
Public property RebuildTolerance Gets or sets the rebuild tolerance used by Brep section, cut and boolean operations.
Public property RegenMode Gets or sets the entity regeneration mode. (inherited from Entity).
Public property Selectable Gets or sets the value that tells if the top-level item can be selected. (inherited from Entity).
Public property Selected Gets or sets the entity selection status. (inherited from Entity).
Public property SelectionMode Gets or sets the selection mode.
Public property SilhouettesDrawingMode Gets or sets the silhouettes drawing mode.
Public property TessellationFaces Gets tessellated representation of outer shell face array. One-to-one correspondence with Faces.
Public property TessellationInners Gets tessellated representation of inner (void) shells face array. One-to-one correspondence with Inners.
Public property Vertices Gets or sets vertices array.
Public property Visible Gets or sets the entity visibility status for the top-level. (inherited from Entity).
Internal protected (Protected Friend) property entityNature Gets or sets the nature of the entity. (inherited from Entity).
Top
Methods
 
Name Description
Public method Add(params Brep[]) Adds a list of non-intersecting solids to the original Brep object.
Public method AddFlange(int, double, double, double) Adds a sheet metal flange to the specified edge.
Internal protected (Protected Friend) method AllVerticesInFrustum(FrustumParams)
Internal protected (Protected Friend) method AllVerticesInScreenPolygon(ScreenPolygonParams) Tells if an entity is fully contained inside a polygon defined in screen coordinates. (inherited from Entity).
Internal protected (Protected Friend) method Animate(int) Gives a chance to derived classes to change the entity position/rotation at each timer tick. (inherited from Entity).
Public method Chamfer(Edge, double, double) Creates a constant chamfer from the edge.
Public method Chamfer(int, double, double) Creates a constant chamfer from the edge.
Public method ClearEdgesSelection(Stack<BlockReference>) Clears the edge selection status for a specific instance.
Public method ClearEdgesSelectionForAllInstances() Clears the edge selection status for all instances.
Public method ClearFacesSelection(Stack<BlockReference>) Clears the face selection status for a specific instance.
Public method ClearFacesSelectionForAllInstances() Clears the face selection status for all instances.
Public method ClearSelectability(Stack<BlockReference>) Clear the entity selectability status for the defined nested instance. (inherited from Entity).
Public method ClearSelectabilityForAllInstances() Clears the selectability status for all instances. (inherited from Entity).
Public method ClearSelectionForAllInstances() Clears the selection status for all instances. (inherited from Entity).
Public method ClearVerticesSelection(Stack<BlockReference>) Clears the vertex selection status for a specific instance.
Public method ClearVerticesSelectionForAllInstances()
Public method ClearVisibility(Stack<BlockReference>) Clear the entity visibility status for the defined nested instance. (inherited from Entity).
Public method ClearVisibilityForAllInstances() Clears the visibility status for all instances. (inherited from Entity).
Public method Clone() Creates a deep copy of this Solid.
Public method ClosestPointTo(Point3D, out Point3D) Computes the signed distance between a 3D point and this Brep object.
Internal protected (Protected Friend) method CombineBoundingBox(Transformation, Point3D, Point3D) Combines the entity's bounding box with the given bounding box. (inherited from Entity).
Public method Compile(CompileParams) Compiles the graphic representation of this entity.
Protected method CompilePattern(CompileParams) Compiles the graphics representation of the pattern of wireframe entities. (inherited from Entity).
Protected method CompileWire(CompileParams) Compiles the graphics representation of wireframe entities. (inherited from Entity).
Internal protected (Protected Friend) method ComputeBoundingBox(TraversalParams, out Point3D, out Point3D) Computes the entity's bounding box.
Internal protected (Protected Friend) method ComputeOffsetOnCameraAxes(OffsetOnCameraAxesParams) Computes the intersection of the lines passing from the vertices and oriented like the frustum planes with the X and Y axes of the camera.
Public method ConvertFaceToMesh(int, int, natureType, bool, float) Converts the specified face tessellation to Mesh.
Public method ConvertFaceToSurface(int, int) Convert the specified face in one or more parametric surfaces.
Public method ConvertToMesh(double, double, natureType, bool, MaterialKeyedCollection, linearUnitsType) Converts this Brep to a Mesh using the specified tolerance.
Public method ConvertToMesh(double, double, natureType, bool)
Public method ConvertToMesh(double, bool, double) Converts this Brep to a Mesh using the specified triangle size.
Public method ConvertToSolid(double, double) Converts this Brep to Solid using the specified tolerance.
Public method ConvertToSurfaces(double) Converts this Brep to a list of individual surfaces.
Public method ConvertToSurrogate() Converts the entity to its surrogate, for serialization purpose.
Public method CopyAttributes(Entity) Copies the following attributes to this entity: Color, ColorMethod, GroupIndex, LineTypeName, LineTypeMethod, LineTypeScale, LineWeight, LineWeightMethod, LayerName and MaterialName. (inherited from Entity).
Public method CopyAttributesFast(Entity) Copies the following attributes to this entity: Visible, Color, ColorMethod, LayerName and MaterialName attributes. (inherited from Entity).
Public method Static CreateBox(double, double, double, double) Creates a box primitive.
Public method Static CreateCone(double, double, double, double, double, double, double) Creates an Eccentric Cone primitive.
Public method Static CreateCone(double, double) Creates a Cone primitive.
Public method Static CreateCone(double, double, double, double) Creates a Cone primitive.
Public method Static CreateCylinder(double, double, double) Creates a Cylinder primitive.
Public method Static CreateEntitiesFromPrimitives(IEnumerable<IGCurve>) Creates a new array of ICurve instances starting from the related primitives. (inherited from Entity).
Public method Static CreateEntitiesFromPrimitives<T>(IEnumerable<GEntity>) Creates a new array of Entity instances starting from the related primitives. (inherited from Entity).
Public method Static CreateEntityFromPrimitive(GEntity) Creates a new entity instance starting from the related primitive. (inherited from Entity).
Public method Static CreateSphere(double, double) Creates a Sphere primitive.
Public method Static CreateTorus(double, double, double) Creates a Torus primitive.
Public method CutBy(Plane, bool) Cut the Brep with the Plane, overriding the original Brep with the result of the cut.
Public method CutBy(Plane, out Brep[], bool) Cut the Brep with the Plane, overriding the original Brep with the result of the cut.
Public method CutBy(Surface, bool) Cuts this solid with the specified plane, overriding the original Brep with the result of the cut.
Public method CutBy(Surface, out Brep[], bool) Cuts this solid with the specified plane, overriding the original Brep with the result of the cut.
Public method Static Difference(Brep, Brep) Compute the difference of the solidA with the solidB.
Public method Dispose() Cleans up graphics resources, like display lists, textures, etc.
Internal protected (Protected Friend) method Draw(DrawParams) Draws the entity.
Internal protected (Protected Friend) method DrawDirection(DrawParams) Draws a small arrow to show the entity direction if Workspace.ShowCurveDirection is true. (inherited from Entity).
Internal protected (Protected Friend) method DrawEdges(DrawParams) Draws the entity's edges.
Protected method DrawEntity(RenderContextBase, object) Internal method that draws the entity. (inherited from Entity).
Internal protected (Protected Friend) method DrawFast(DrawParams) Draws the entity in fast inaccurate transparency mode. (inherited from Entity).
Internal protected (Protected Friend) method DrawFlat(DrawParams) Draws entity in displayType.Flat Viewport.DisplayMode. (inherited from Entity).
Internal protected (Protected Friend) method DrawFlatFast(DrawParams) Draws the entity in flat and fast inaccurate transparency mode. (inherited from Entity).
Internal protected (Protected Friend) method DrawFlatSelected(DrawParams) Draws entity selected in displayType.Flat Viewport.DisplayMode. (inherited from Entity).
Internal protected (Protected Friend) method DrawForSelection(GfxDrawForSelectionParams) Draws the entity without specifing any color.
Internal protected (Protected Friend) method DrawForSelectionEdges(GfxDrawForSelectionParams) Draws the entity edges in false-colors (for some kinds of entities only).
Internal protected (Protected Friend) method DrawForSelectionFaces(GfxDrawForSelectionParams) Draws the entity faces in false-colors (for some kinds of entities only).
Internal protected (Protected Friend) method DrawForSelectionSketchCurves(GfxDrawForSelectionParams) Draws the entity curves in false-colors (for some kinds of entities only). (inherited from Entity).
Internal protected (Protected Friend) method DrawForSelectionSketchPoints(GfxDrawForSelectionParams) Draws the entity points in false-colors (for some kinds of entities only). (inherited from Entity).
Internal protected (Protected Friend) method DrawForSelectionSubContours(GfxDrawForSelectionParams) Draws the entity contours in false-colors (for some kinds of entities only). (inherited from Entity).
Internal protected (Protected Friend) method DrawForSelectionSubCurves(GfxDrawForSelectionParams) Draws the entity subCurves in false-colors (for some kinds of entities only). (inherited from Entity).
Internal protected (Protected Friend) method DrawForSelectionVertices(GfxDrawForSelectionParams) Draws the entity vertices in false-colors (for some kinds of entities only).
Internal protected (Protected Friend) method DrawForSelectionWireframe(GfxDrawForSelectionParams) Draws entity as wires without specifing any color.
Internal protected (Protected Friend) method DrawForShadow(RenderParams) Draws the entity planar shadow.
Internal protected (Protected Friend) method DrawHiddenLines(DrawParams) Draw the entity in the displayType.HiddenLines display mode.
Internal protected (Protected Friend) method DrawHiddenLinesFast(DrawParams) Draw the entity in the displayType.HiddenLines display mode in fast inaccurate transparency mode.
Internal protected (Protected Friend) method DrawHiddenLinesMaterial(RenderParams) (inherited from Entity).
Internal protected (Protected Friend) method DrawHiddenLinesMaterialFast(RenderParams) (inherited from Entity).
Internal protected (Protected Friend) method DrawIsocurves(DrawParams) Draws the entity iso curves. For Mesh entities this method draws internal wires. (inherited from Entity).
Internal protected (Protected Friend) method DrawIsocurvesForFlat(DrawParams) Draws the isocurves in Flat display mode. (inherited from Entity).
Internal protected (Protected Friend) method DrawNormals(DrawParams) Draws entity's normal vectors.
Internal protected (Protected Friend) method DrawOnScreen(DrawOnScreenParams) Draws extra things on screen, like the vertex indices (if Viewport.ShowVertexIndices is true). (inherited from Entity).
Internal protected (Protected Friend) method DrawOnScreen(DrawOnScreenParams, int) Draws extra things on screen, like the vertex indices (if Viewport.ShowVertexIndices is true). (inherited from Entity).
Internal protected (Protected Friend) method DrawOnScreenWireframe(DrawOnScreenWireframeParams) Draws extra things on screen, like the vertex Numbers (if Viewport.ShowVertexIndices is true) in wireframe display mode. (inherited from Entity).
Internal protected (Protected Friend) method DrawOnScreenWireframe(DrawOnScreenWireframeParams, int) Draws extra things on screen, like the vertex Numbers (if Viewport.ShowVertexIndices is true) in wireframe dispaly mode. (inherited from Entity).
Internal protected (Protected Friend) method DrawSelected(DrawParams) Draws entity selected.
Internal protected (Protected Friend) method DrawSelectedVertices(DrawParams) Draws the entity selected vertices.
Internal protected (Protected Friend) method DrawSilhouettes(DrawSilhouettesParams) Draws Silhouettes.
Internal protected (Protected Friend) method DrawVertices(DrawParams) Draws entity's vertices. (inherited from Entity).
Protected method DrawWire(DrawParams) Draws a wireframe entity, resolving the LineTypeName for LineTypeMethod colorMethodType.byParent. (inherited from Entity).
Protected method DrawWireEntity(RenderContextBase, object) Draws the Wireframe entity. (inherited from Entity).
Internal protected (Protected Friend) method DrawWireframe(DrawParams) Draws entity as wires.
Internal protected (Protected Friend) method DrawWireframeSelected(DrawParams) Draws entity as selected wires. (inherited from Entity).
Protected method DrawWithPattern(RenderContextBase, object) (inherited from Entity).
Public method Dump(linearUnitsType, massUnitsType, LayerKeyedCollection, MaterialKeyedCollection, BlockKeyedCollection) Returns a description of this entity.
Public method Equals(Object) (inherited from Object).
Public method EstimateBoundingBox(BlockKeyedCollection, LayerKeyedCollection) Returns a small set of points that gives an idea of the entity bounding box. (inherited from Entity).
Protected method EvaluateIntersectEdges(FrustumParams) Tells if must evaluate the intersection of the edges with the frustum.
Protected method EvaluateIntersectTriangles(FrustumParams) Tells if must evaluate the intersection of the triangles with the frustum.
Public method ExtrudeAdd(Region, Interval) Extrudes the specified region and adds it to the original Brep object.
Public method ExtrudeAdd(Region, double) Extrudes the specified region, overriding the original Brep with the result of the cut and adds it to the original Brep object.
Public method ExtrudeAdd(Region, double, double) Extrudes the specified region and adds it to the original Brep object.
Public method ExtrudeAdd(SketchEntity, Interval) Extrudes the specified sketch and adds it to the original Brep object.
Public method ExtrudeAdd(SketchEntity, double) Extrudes the specified sketch, overriding the original Brep with the result of the cut and adds it to the original Brep object.
Public method ExtrudeAdd(SketchEntity, double, double) Extrudes the specified sketch and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, Interval, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, Interval, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, Interval, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, Interval, double, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, Interval, double, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, Interval, double, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, Interval, double, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, Interval, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, double, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, double, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, double, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, double, double, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, double, double, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, double, double, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, double, double, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(Region, double, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, Interval, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, Interval, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, Interval, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, Interval, double, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, Interval, double, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, Interval, double, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, Interval, double, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, Interval, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, double, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, double, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, double, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, double, double, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, double, double, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, double, double, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, double, double, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeAddPattern(SketchEntity, double, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public method ExtrudeFace(int, Vector3D, double) Extrudes the specified Face, overriding the original Brep.
Public method ExtrudeFace(int, double) Extrudes the specified Face, overriding the original Brep.
Public method ExtrudeIntersect(Region, Interval) Extrudes the specified region and intersects it with the original Brep object.
Public method ExtrudeIntersect(Region, double) Extrudes the specified region and intersects it with the original Brep object.
Public method ExtrudeIntersect(Region, double, double) Extrudes the specified region and intersects it with the original Brep object.
Public method ExtrudeIntersect(SketchEntity, Interval) Extrudes the specified region and intersects it with the original Brep object.
Public method ExtrudeIntersect(SketchEntity, double) Extrudes the specified sketch and intersects it with the original Brep object.
Public method ExtrudeIntersect(SketchEntity, double, double) Extrudes the specified region and intersects it with the original Brep object.
Public method ExtrudeRemove(Region, Interval) Extrudes the specified region and removes it from the original Brep object.
Public method ExtrudeRemove(Region, double) Extrudes the specified region and removes it from the original Brep object.
Public method ExtrudeRemove(Region, double, double) Extrudes the specified region with a draft angle and removes it from the original Brep object.
Public method ExtrudeRemove(SketchEntity, Interval) Extrudes the specified sketch and removes it from the original Brep object.
Public method ExtrudeRemove(SketchEntity, double) Extrudes the specified sketch and removes it from the original Brep object.
Public method ExtrudeRemove(SketchEntity, double, double) Extrudes the specified sketch with a draft angle and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, Interval, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, Interval, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, Interval, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, Interval, double, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, Interval, double, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, Interval, double, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, Interval, double, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, Interval, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, double, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, double, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, double, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, double, double, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, double, double, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, double, double, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, double, double, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(Region, double, double, int, double, int) Creates a rectangular pattern by extruding the specified region multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, Interval, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, Interval, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, Interval, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, Interval, double, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, Interval, double, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, Interval, double, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, Interval, double, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, Interval, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, double, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, double, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, double, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, double, double, Plane, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, double, double, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, double, double, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, double, double, Vector3D, Point3D, double, int) Creates a circular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method ExtrudeRemovePattern(SketchEntity, double, double, int, double, int) Creates a rectangular pattern by extruding the specified sketch multiples times and removes it from the original Brep object.
Public method Static ExtrudeWithTwist(ICurve, Vector3D, Point3D, double, double, bool) Creates a brep extruding and twisting a planar curve..
Public method Static ExtrudeWithTwist(ICurve, Vector3D, Point3D, double, int, bool, double) Creates a brep extruding and twisting a planar curve..
Public method Fillet(Edge, double, double) Creates a constant fillet from the edge.
Public method Fillet(int, double, double) Creates a constant fillet from the edge.
Protected method Finalize (inherited from Object).
Public method FindClosestTriangle(Transformation, Segment3D) Returns a list of triangles hit by the provided segment.
Public method FixTopology(out Brep) Obsolete. If the geometry is not created inside Eyeshot, it could be necessary call this method to check and fix/add(if needed) missing data, to correctly perform operations like Section/Intersection and Booleans.
Public method FixTopology() If the geometry is not created inside Eyeshot, it could be necessary call this method to check and fix/add(if needed) missing data, to correctly perform operations like Section/Intersection and Booleans.
Public method FlipNormal()
Protected method Static FrustumEdgesTriangleIntersection(Segment3D[], Point3D, Point3D, Point3D) (inherited from Entity).
Internal protected (Protected Friend) method GetAllVertices(TraversalParams, out IList<Single>) Gets tessellation vertices as float coordinates of the entity.
Public method GetArea(out Point3D)
Protected method Static GetClosestMainAxis(Vector3D) (inherited from Entity).
Public method GetEdgeIndex(Point3D, Vector3D) Gets the edge index containing the 3D input point.
Public method GetEdgeSelection(int, Stack<BlockReference>) Tells if the edge is selected.
Public method GetError() Gets the maximum gap between face loops' edge curves.
Public method GetFaceSelection(int, Stack<BlockReference>) Tells if the face is selected.
Public method GetFaceSelection(int, int, Stack<BlockReference>) Tells if the face is selected.
Public method GetHashCode (inherited from Object).
Public method GetMass(Material, linearUnitsType, massUnitsType, out double)
Protected method GetNormalLength() Gets the entity normal length. (inherited from Entity).
Public method GetObjectData(SerializationInfo, StreamingContext) Populates a SerializationInfo instance with the data needed to serialize the target object.
Protected method Static GetOffsetDistance(Vector3D, Vector3D, double) Computes the offset distance for the extrude with draft angle methods. (inherited from Entity).
Public method GetPlanarFaceIndex(Plane, Point3D) Gets the index of the planar face coincident with the specified plane.
Public method GetPlanarFaceRegion(int) Gets the planar face region.
Public method GetPolygonMeshes()
Public method Static GetPrimitiveFromEntity(Entity) Gets the primitive related to an Entity. (inherited from Entity).
Public method Static GetPrimitiveFromEntity(ICurve) Gets the primitive related to an ICurve object. (inherited from Entity).
Public method Static GetPrimitivesFromEntities(IEnumerable<ICurve>) Gets the primitives related to an ICurve's collection. (inherited from Entity).
Public method Static GetPrimitivesFromEntities<T>(IEnumerable<Entity>) Gets the primitives related to an entity's collection. (inherited from Entity).
Public method GetSelectability(Stack<BlockReference>) Gets the entity selectability status. (inherited from Entity).
Public method GetSelectedEdges(Stack<BlockReference>) Gets the selected edges.
Public method GetSelectedFaces(Stack<BlockReference>) Gets the selected faces.
Public method GetSelectedInnerFaces(Stack<BlockReference>) Gets the selected inner faces.
Public method GetSelectedVertices(Stack<BlockReference>) Gets the selected vertices.
Public method GetSelection(Stack<BlockReference>) Gets the entity selection status. (inherited from Entity).
Public method GetType (inherited from Object).
Public method GetVertexSelection(int, Stack<BlockReference>) Tells if the vertex is selected.
Public method GetVisibility(Stack<BlockReference>) Gets the entity visibility status. (inherited from Entity).
Public method GetVolume(out Point3D)
Internal protected (Protected Friend) method Static InsideFrustumPoint(PlaneEquation[], Transformation, IList<Point3D>, int) (inherited from Entity).
Internal protected (Protected Friend) method InsideOrCrossingFrustum(FrustumParams)
Internal protected (Protected Friend) method Static InsideOrCrossingFrustumInternal(PlaneEquation[], Transformation, IList<Point3D>, int, int) (inherited from Entity).
Internal protected (Protected Friend) method InsideOrCrossingScreenPolygon(ScreenPolygonParams)
Internal protected (Protected Friend) method Static InsideOrCrossingScreenPolygonInternal(ScreenPolygonParams, IList<Point3D>, int, int) (inherited from Entity).
Internal protected (Protected Friend) method Static InsideOrCrossingScreenPolygonPoint(ScreenPolygonParams, IList<Point3D>, int) (inherited from Entity).
Public method Static Intersect(Brep, Brep, out Point3D[]) Checks if two brep intersect each other.
Public method Intersection(Surface) Intersect the Brep with a generic Surface.
Public method Static Intersection(Brep, Brep)

Compute the Intersection of the solidA (gray in the sample picture below) with the solidB (blue), and return the resulting array of Brep (green). The returned array may have more than one element if multiple disjoint intersections are found.

Public method Static IntersectionLoops(Brep, Brep, out ICurve[]) Computes the intersection loops between two Brep objects.
Public method IsAnyEdgeSelected() Tells if there is a selected edge.
Public method IsAnyFaceSelected() Tells if there is a selected face.
Public method IsAnyInstanceSelectable() Tells if there is at least an instance selectable. (inherited from Entity).
Public method IsAnyInstanceSelected() Tells if there is at least an instance selected. (inherited from Entity).
Public method IsAnyInstanceVisible() Tells if there is at least an instance visible. (inherited from Entity).
Public method IsAnyVertexSelected() Tells if there is a selected vertex.
Internal protected (Protected Friend) method IsCrossing(FrustumParams) Tells if the entity is inside or crossing the given planes and edges. (inherited from Entity).
Internal protected (Protected Friend) method IsCrossingScreenPolygon(ScreenPolygonParams) Tells if an entity is fully or partially contained inside a polygon defined in screen coordinates. (inherited from Entity).
Public method IsInFrustum(FrustumParams) Tells if the entity is inside the frustum planes. (inherited from Entity).
Public method IsInFrustum(FrustumParams, Point3D, double) Tells if the sphere surrounding the entity is inside the frustum planes. (inherited from Entity).
Public method IsPointInside(Point3D, bool) Checks if the specified point is inside or onto the Brep.
Public method IsSelected(Stack<BlockReference>) Obsolete. Tells if the instance referred by the stack of parents is selected. (inherited from Entity).
Internal protected (Protected Friend) method IsSmall(IsSmallParams) Checks if an entity is small and can be skipped during the drawing. (inherited from Entity).
Public method IsValid() Returns true if all the entity fields contain reasonable information.
Internal protected (Protected Friend) method IsVisible(Stack<BlockReference>, LayerKeyedCollection, attributeReferenceVisibilityType) Check if the entity is visible. (inherited from Entity).
Internal protected (Protected Friend) method IsVisibleAndInFrustum(Stack<BlockReference>, LayerKeyedCollection, attributeReferenceVisibilityType) Check if the entity is visible. (inherited from Entity).
Public method Static Loft(IList<ICurve>, int, bool, bool, bool, double) Creates a Brep from skinning.
Public method Static Loft(params ICurve[]) Creates a Brep from skinning.
Protected method MemberwiseClone (inherited from Object).
Public method Static MergeAndKeepFaces(Brep, Brep, MaterialKeyedCollection) Merges two Brep objects preserving only one copy of duplicated face.
Public method Static MergeAndKeepFaces(IList<Brep>, MaterialKeyedCollection) Merges a list of Brep objects preserving only one copy of duplicated face.
Public method MergeFaces() Merges coplanar faces when possible.
Public method Static Mirror(Plane, Brep) Create a mirror entity from the input Brep by the provided plane.
Public method Static Mirror(int, Brep) Create a mirror entity from the input Brep by the plane provided.
Internal protected (Protected Friend) method Static PropagateAttributes(Entity, Entity, bool) Propagates the attributes to the entity passed as parameter. (inherited from Entity).
Public method Rebuild(double, bool) Builds parametric face representation using the specified tolerance.
Public method Regen(RegenParams) This method is used for several purposes. For example in arcs and circles is used to generate the curve's linear approximation, in meshes to compute normals and edges and in Nurbs surfaces to generate the triangulation.
Public method Remove(IList<Brep>, out Brep[]) Removes a list of non-intersecting solids from the original Brep object.
Public method Remove(params Brep[]) Removes a list of non-intersecting solids from the original Brep object.
Internal protected (Protected Friend) method Render(RenderParams) Renders the entity. (inherited from Entity).
Internal protected (Protected Friend) method RenderFast(RenderParams) Renders the entity in fast inaccurate transparency mode. (inherited from Entity).
Public method ResetSelectionMode() Resets the SelectionMode to selectionFilterType.Entity if there are no other selected inner elements.
Public method RevolveAdd(Region, double, Vector3D, Point3D) Revolves the specified region and adds it to the Brep object.
Public method RevolveAdd(Region, double, double, Vector3D, Point3D) Revolves the specified region and adds it to the Brep object.
Public method RevolveAdd(SketchEntity, double, Vector3D, Point3D) Revolves the specified sketch and adds it to the Brep object.
Public method RevolveAdd(SketchEntity, double, double, Vector3D, Point3D) Revolves the specified sketch and adds it to the Brep object.
Public method RevolveFace(int, double, Vector3D, Point3D) Revolves the specified Face, overriding the original Brep.
Public method RevolveIntersect(Region, double, Vector3D, Point3D) Revolves the specified region and intersects it with the Brep.
Public method RevolveIntersect(Region, double, double, Vector3D, Point3D) Revolves the specified region and intersects it to the Brep object.
Public method RevolveIntersect(SketchEntity, double, Vector3D, Point3D) Revolves the specified sketch and intersects it with the Brep.
Public method RevolveIntersect(SketchEntity, double, double, Vector3D, Point3D) Revolves the specified region and intersects it to the Brep object.
Public method RevolveRemove(Region, double, Vector3D, Point3D) Revolves the specified region and removes it from the Brep object.
Public method RevolveRemove(Region, double, double, Vector3D, Point3D) Revolves the specified region and removes it from the Brep object.
Public method RevolveRemove(SketchEntity, double, Vector3D, Point3D) Revolves the specified sketch and removes it from the Brep object.
Public method RevolveRemove(SketchEntity, double, double, Vector3D, Point3D) Revolves the specified sketch and removes it from the Brep object.
Public method Rotate(double, Vector3D, Point3D) Rotates the entity around an arbitrary axis by the specified angle. (inherited from Entity).
Public method Rotate(double, Point3D, Point3D) Rotates the entity around an arbitray axis by the specified angle. (inherited from Entity).
Public method Rotate(double, Vector3D) Rotates the entity around an arbitray axis by the specified angle. (inherited from Entity).
Public method Static Ruled(Surface, Surface, double) Create a Brep connecting linearly two surfaces.
Public method Scale(Point3D, double, double, double) Scales the entity of the specified scale factor. (inherited from Entity).
Public method Scale(Point3D, double) Scales the entity of the specified scale factor. (inherited from Entity).
Public method Scale(Vector3D) Scales the entity of the specified scale factor. (inherited from Entity).
Public method Scale(double) Scales the entity of the specified scale factor. (inherited from Entity).
Public method Scale(double, double, double) Scales the entity of the specified scale factor. (inherited from Entity).
Public method Section(Plane, double) Intersect the Brep with the plane.
Public method SelectEdge(int, bool, Stack<BlockReference>) Obsolete. Selects the edge of the instance identified by the parents stack.
Public method SelectFace(int, bool, Stack<BlockReference>) Obsolete. Selects the face of the instance identified by the parents stack.
Public method SelectFace(int, int, bool, Stack<BlockReference>) Obsolete. Selects the face of the instance identified by the parents stack.
Public method SelectVertex(int, bool, Stack<BlockReference>) Obsolete. Selects the vertex of the instance identified by the parents stack.
Internal protected (Protected Friend) method SelectedInternal() Tells if the entity has internal parts selected
Public method SetEdgeSelection(int, bool, Stack<BlockReference>) Sets the selection status of an edge.
Internal protected (Protected Friend) method Static SetEntityColorForFace(DrawParams, Color) Sets the entity color or material depending on the color mode. (inherited from Entity).
Internal protected (Protected Friend) method Static SetEntityColorForSelection(DrawParams) Sets the entity color or material depending on the color mode. (inherited from Entity).
Public method SetFaceSelection(int, bool, Stack<BlockReference>) Sets the selection status of a face.
Public method SetFaceSelection(int, int, bool, Stack<BlockReference>) Sets the selection status of a face.
Public method SetLineWeight(RenderContextBase, float) Line weight changer. (inherited from Entity).
Internal protected (Protected Friend) method SetLineWeightForEdges(DrawParams) (inherited from Entity).
Internal protected (Protected Friend) method SetLineWeightForSilhouettes(DrawSilhouettesParams)
Public method SetSelectability(bool, Stack<BlockReference>) Sets the entity selectability status. (inherited from Entity).
Public method SetSelection(bool, Stack<BlockReference>) Sets the entity selection status. (inherited from Entity).
Internal protected (Protected Friend) method Static SetSelectionColorForSelection(DrawParams) Sets the selection color or material depending on the color mode. (inherited from Entity).
Internal protected (Protected Friend) method SetShader(DrawParams) Sets a Shader before drawing the entity. (inherited from Entity).
Public method SetVertexSelection(int, bool, Stack<BlockReference>) Sets the selection status of a vertex.
Public method SetVisibility(bool, Stack<BlockReference>) Sets the entity visibility status. (inherited from Entity).
Public method Smash(Workspace, int) Shows sequentially all the trimming regions for each face with the correspondent index for each face and the index for each edge.
Public method Smash(Workspace, string) Shows sequentially all the trimming regions for each face with the correspondent index for each face and the index for each edge.
Public method SplitBy(Plane, out Brep[], out Brep[]) Splits this solid with the specified plane.
Public method SplitBy(Surface, out Brep[], out Brep[]) Splits this solid with the specified plane.
Public method SubdivideBy(Plane) Subdivide all the Brep faces by the given plane.
Public method SubdivideBy(int, IList<ICurve>) Subdivide a Brep face by the given curve list.
Public method SubdivideBy(int, Plane) Subdivide a Brep face by the given plane.
Public method SweepAdd(Region, ICurve, sweepMethodType) Sweeps the specified region with a draft angle and adds it to the original Brep object.
Public method SweepAdd(SketchEntity, ICurve, sweepMethodType) Sweeps the specified region with a draft angle and adds it to the original Brep object.
Public method SweepIntersect(Region, ICurve, sweepMethodType) Sweeps the specified region with a draft angle and intersects it with the original Brep object.
Public method SweepIntersect(SketchEntity, ICurve, sweepMethodType) Sweeps the specified region with a draft angle and intersects it with the original Brep object.
Public method SweepRemove(Region, ICurve, sweepMethodType) Sweeps the specified region with a draft angle and removes it from the original Brep object.
Public method SweepRemove(SketchEntity, ICurve, sweepMethodType) Sweeps the specified region with a draft angle and removes it from the original Brep object.
Internal protected (Protected Friend) method ThroughTriangle(FrustumParams)
Public method Static ThroughTriangleQuad(FrustumParams, IList<Point3D>) Tells if the quad defined by the vertices is inside the selection area defined by the edge list. (inherited from Entity).
Internal protected (Protected Friend) method ThroughTriangleScreenPolygon(ScreenPolygonParams)
Public method Static ThroughTriangleScreenPolygonQuad(IList<Point3D>, ScreenPolygonParams) Tells if the quad defined by the vertices is inside the selection area defined by the screen polygon. (inherited from Entity).
Public method ToString (inherited from Object).
Internal protected (Protected Friend) method TransformAllVertices(Transformation, bool, bool) (inherited from Entity).
Internal protected (Protected Friend) method TransformAllVerticesRecursive(Transformation) (inherited from Entity).
Public method TransformBy(Transformation) Transforms all the entity's vertices by the specified transformation.
Public method Translate(double, double, double) Translates the entity. (inherited from Entity).
Public method Translate(Vector3D) Translates the entity. (inherited from Entity).
Public method Static Union(Brep, Brep) Compute the Union of the solidA with the solidB.
Public method UpdateBoundingBox(TraversalParams) Updates the entity's bounding box. (inherited from Entity).
Internal protected (Protected Friend) method UpdateBoundingBoxSphere() (inherited from Entity).
Public method UpdateOrientedBoundingBox(TraversalParams) Updates the entity's oriented bounding box or build it if not present. (inherited from Entity).
Public method UpdateOrientedBoundingBox(TraversalParams, bool) Updates the entity's oriented bounding box or build it if not present. (inherited from Entity).
Protected method WriteObjAsLines(ref int, TextWriter, ref int, ref int, ref int, TextWriter, LayerKeyedCollection, string, MaterialKeyedCollection, double, double, BlockKeyedCollection) Write in Obj file format as set of lines connecting vertices. (inherited from Entity).
Internal protected (Protected Friend) method WriteUsemtl(int, TextWriter, TextWriter, LayerKeyedCollection) (inherited from Entity).
Protected method WriteUsemtl(string, TextWriter) (inherited from Entity).
Top
Events
 
Name Description
Public event VisibleChanged Occurs when the Visible changes. (inherited from Entity).
Top
Name Description
Public enumeration silhouettesDrawingType The Brep silhouettes drawing type.
Top
Fields
 
Name Description
Protected field _localOB (inherited from Entity).
Internal protected (Protected Friend) field drawData Default graphics data. (inherited from Entity).
Internal protected (Protected Friend) field drawPattern Graphics data for line pattern. (inherited from Entity).
Top

.NET Framework

Supported in: 4.7.2

In this article

Definition