QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_Brep Class Reference

#include <opennurbs_brep.h>

Inheritance diagram for ON_Brep:
ON_Geometry ON_Object CMyBrepIsSolidSetter

Public Member Functions

int AddEdgeCurve (ON_Curve *)
 
int AddSurface (ON_Surface *)
 
int AddTrimCurve (ON_Curve *)
 
void Append (const ON_Brep &)
 
bool AreaMassProperties (ON_MassProperties &mp, bool bArea=true, bool bFirstMoments=true, bool bSecondMoments=true, bool bProductMoments=true, double rel_tol=1.0e-6, double abs_tol=1.0e-6) const
 
const ON_GeometryBrepComponent (ON_COMPONENT_INDEX ci) const
 
ON_BrepBrepForm (ON_Brep *brep=NULL) const
 
bool ChangeVertex (int old_vi, int new_vi, bool bClearTolerances)
 
void Clear_edge_user_i ()
 
void Clear_edge_user_i (int)
 
void Clear_face_user_i ()
 
void Clear_loop_user_i ()
 
void Clear_trim_user_i ()
 
void Clear_user_i ()
 
void Clear_vertex_user_i ()
 
void ClearBoundingBox ()
 
bool CloseTrimGap (ON_BrepTrim &trim0, ON_BrepTrim &trim1)
 
bool CollapseEdge (int edge_index, bool bCloseTrimGap=true, int vertex_index=-1)
 
bool CombineCoincidentEdges (ON_BrepEdge &, ON_BrepEdge &)
 
bool CombineCoincidentVertices (ON_BrepVertex &, ON_BrepVertex &)
 
ON_BrepEdgeCombineContiguousEdges (int edge_index0, int edge_iindex1, double angle_tolerance_radians=ON_PI/180.0)
 
bool Compact ()
 
ON_BrepLoop::TYPE ComputeLoopType (const ON_BrepLoop &) const
 
bool Create (ON_NurbsSurface *&pNurbsSurface)
 
bool Create (ON_PlaneSurface *&pPlaneSurface)
 
bool Create (ON_RevSurface *&pRevSurface)
 
bool Create (ON_SumSurface *&pSumSurface)
 
bool Create (ON_Surface *&pSurface)
 
int CreateMesh (const ON_MeshParameters &mp, ON_SimpleArray< ON_Mesh * > &mesh_list) const
 
bool CullUnused2dCurves ()
 
bool CullUnused3dCurves ()
 
bool CullUnusedEdges ()
 
bool CullUnusedFaces ()
 
bool CullUnusedLoops ()
 
bool CullUnusedSurfaces ()
 
bool CullUnusedTrims ()
 
bool CullUnusedVertices ()
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
void Delete2dCurve (int c2_index)
 
void Delete3dCurve (int c3_index)
 
void DeleteEdge (ON_BrepEdge &edge, ON_BOOL32 bDeleteEdgeVertices)
 
void DeleteFace (ON_BrepFace &face, ON_BOOL32 bDeleteFaceEdges)
 
void DeleteLoop (ON_BrepLoop &loop, ON_BOOL32 bDeleteLoopEdges)
 
void DeleteSurface (int s_index)
 
void DeleteTrim (ON_BrepTrim &trim, ON_BOOL32 bDeleteTrimEdges)
 
void DeleteVertex (ON_BrepVertex &vertex)
 
void Destroy ()
 
void DestroyMesh (ON::mesh_type mesh_type, bool bDeleteMesh=true)
 
void DestroyRegionTopology ()
 
void DestroyRuntimeCache (bool bDelete=true)
 
int Dimension () const
 
void Dump (ON_TextLog &) const
 
ON_BrepDuplicateFace (int, ON_BOOL32) const
 
ON_BrepDuplicateFaces (int, const int *, ON_BOOL32) const
 
ON_BrepEdgeEdge (int edge_index) const
 
ON_BrepEdgeEdge (ON_COMPONENT_INDEX edge_index) const
 
int EdgeCurveUseCount (int c3_index, int max_count=0) const
 
void EmergencyDestroy ()
 
bool EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const
 
ON_BrepExtractFace (int)
 
ON_BrepFaceFace (int face_index) const
 
ON_BrepFaceFace (ON_COMPONENT_INDEX face_index) const
 
bool FaceIsSurface (int) const
 
void Flip ()
 
void FlipFace (ON_BrepFace &)
 
void FlipLoop (ON_BrepLoop &)
 
bool FlipReversedSurfaces ()
 
ON_BOOL32 GetBBox (double *, double *, ON_BOOL32=false) const
 
int GetConnectedComponents (ON_SimpleArray< ON_Brep * > &components, bool bDuplicateMeshes) const
 
virtual bool GetEdgeParameter (int trim_index, double trim_t, double *edge_t) const
 
int GetMesh (ON::mesh_type mesh_type, ON_SimpleArray< const ON_Mesh * > &meshes) const
 
bool GetTrim2dEnd (int, ON_2dPoint &) const
 
bool GetTrim2dStart (int trim_index, ON_2dPoint &) const
 
bool GetTrim3dEnd (int, ON_3dPoint &) const
 
bool GetTrim3dStart (int, ON_3dPoint &) const
 
virtual bool GetTrimParameter (int trim_index, double edge_t, double *trim_t, bool bOkToBuildTrimPline=true) const
 
ON_BOOL32 HasBrepForm () const
 
bool HasRegionTopology () const
 
bool IsDeformable () const
 
bool IsDuplicate (const ON_Brep &other, double tolerance=ON_ZERO_TOLERANCE) const
 
bool IsManifold (ON_BOOL32 *pbIsOriented=NULL, ON_BOOL32 *pbHasBoundary=NULL) const
 
bool IsMorphable () const
 
bool IsPointInside (ON_3dPoint P, double tolerance, bool bStrictlyInside) const
 
bool IsSolid () const
 
bool IsSurface () const
 
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 
bool IsValidForV2 () const
 
bool IsValidForV2 (const ON_BrepEdge &) const
 
bool IsValidForV2 (const ON_BrepTrim &) const
 
bool IsValidGeometry (ON_TextLog *text_log=NULL) const
 
bool IsValidTolerancesAndFlags (ON_TextLog *text_log=NULL) const
 
bool IsValidTopology (ON_TextLog *text_log=NULL) const
 
bool JoinEdges (ON_BrepEdge &edge, ON_BrepEdge &other_edge, double join_tolerance, ON_BOOL32 bCheckFaceOrientaion=true)
 
void LabelConnectedComponent (int face_index, int label)
 
int LabelConnectedComponents ()
 
ON_BrepLoopLoop (int loop_index) const
 
ON_BrepLoopLoop (ON_COMPONENT_INDEX loop_index) const
 
ON_CurveLoop2dCurve (const ON_BrepLoop &loop) const
 
ON_CurveLoop3dCurve (const ON_BrepLoop &loop, ON_BOOL32 bRevCurveIfFaceRevIsTrue=false) const
 
int Loop3dCurve (const ON_BrepLoop &loop, ON_SimpleArray< ON_Curve * > &curve_list, ON_BOOL32 bRevCurveIfFaceRevIsTrue=false) const
 
int LoopDirection (const ON_BrepLoop &) const
 
bool LoopIsSurfaceBoundary (int) const
 
bool MakeDeformable ()
 
bool MakeValidForV2 ()
 
void MemoryRelocate ()
 
bool MergeFaces ()
 
int MergeFaces (int fid0, int fid1)
 
bool Morph (const ON_SpaceMorph &morph)
 
ON_BrepFaceNewConeFace (const ON_BrepVertex &vertex, const ON_BrepEdge &edge, bool bRevEdge)
 
ON_BrepTrimNewCurveOnFace (ON_BrepFace &face, ON_BrepEdge &edge, ON_BOOL32 bRev3d=false, int c2i=-1)
 
ON_BrepEdgeNewEdge (int=-1)
 
ON_BrepEdgeNewEdge (ON_BrepVertex &, ON_BrepVertex &, int=-1, const ON_Interval *=NULL, double edge_tolerance=ON_UNSET_VALUE)
 
ON_BrepFaceNewFace (const ON_Surface &surface)
 
ON_BrepFaceNewFace (int si=-1)
 
ON_BrepFaceNewFace (ON_Surface *pSurface, int vid[4], int eid[4], ON_BOOL32 bRev3d[4])
 
ON_BrepLoopNewLoop (ON_BrepLoop::TYPE loop_type, ON_BrepFace &face)
 
ON_BrepLoopNewLoop (ON_BrepLoop::TYPE)
 
ON_BrepLoopNewOuterLoop (int face_index)
 
ON_BrepLoopNewOuterLoop (int face_index, int vid[4], int eid[4], ON_BOOL32 bRev3d[4])
 
bool NewPlanarFaceLoop (int face_index, ON_BrepLoop::TYPE loop_type, ON_SimpleArray< ON_Curve * > &boundary, ON_BOOL32 bDuplicateCurves=true)
 
ON_BrepVertexNewPointOnFace (ON_BrepFace &face, double s, double t)
 
ON_BrepFaceNewRuledFace (const ON_BrepEdge &edgeA, bool bRevEdgeA, const ON_BrepEdge &edgeB, bool bRevEdgeB)
 
ON_BrepTrimNewSingularTrim (const ON_BrepVertex &vertex, ON_BrepLoop &loop, ON_Surface::ISO iso, int c2i=-1)
 
ON_BrepTrimNewTrim (int c2i=-1)
 
ON_BrepTrimNewTrim (ON_BOOL32 bRev3d, ON_BrepLoop &loop, int c2i=-1)
 
ON_BrepTrimNewTrim (ON_BrepEdge &edge, ON_BOOL32 bRev3d, int c2i=-1)
 
ON_BrepTrimNewTrim (ON_BrepEdge &edge, ON_BOOL32 bRev3d, ON_BrepLoop &loop, int c2i=-1)
 
ON_BrepVertexNewVertex ()
 
ON_BrepVertexNewVertex (ON_3dPoint vertex_point, double vertex_tolerance=ON_UNSET_VALUE)
 
int NextEdge (int current_edge_index, int endi, int *next_endi=NULL) const
 
int NextTrim (int) const
 
ON::object_type ObjectType () const
 
 ON_Brep ()
 
 ON_Brep (const ON_Brep &)
 
ON_Brepoperator= (const ON_Brep &)
 
int PrevEdge (int current_edge_index, int endi, int *prev_endi=NULL) const
 
int PrevTrim (int) const
 
ON_BOOL32 Read (ON_BinaryArchive &)
 
bool RebuildEdges (ON_BrepFace &face, double tolerance, ON_BOOL32 bRebuildSharedEdges, ON_BOOL32 bRebuildVertices)
 
void RebuildTrimsForV2 (ON_BrepFace &face, const ON_NurbsSurface &nurbs_surface)
 
const ON_BrepRegionTopologyRegionTopology () const
 
bool RemoveNesting (bool bExtractSingleSegments, bool bEdges=true, bool bTrimCurves=true)
 
bool RemoveSlits ()
 
bool RemoveSlits (ON_BrepFace &F)
 
int RemoveWireEdges (bool bDeleteVertices=true)
 
int RemoveWireVertices ()
 
void Set_user (ON_U u)
 
bool SetEdgeCurve (ON_BrepEdge &edge, int c3_index, const ON_Interval *sub_domain=NULL)
 
bool SetEdgeDomain (int, const ON_Interval &)
 
virtual bool SetEdgeTolerance (ON_BrepEdge &edge, ON_BOOL32 bLazy=false) const
 
bool SetEdgeTolerances (ON_BOOL32 bLazy=false)
 
void SetTolerancesBoxesAndFlags (ON_BOOL32 bLazy=false, ON_BOOL32 bSetVertexTolerances=true, ON_BOOL32 bSetEdgeTolerances=true, ON_BOOL32 bSetTrimTolerances=true, ON_BOOL32 bSetTrimIsoFlags=true, ON_BOOL32 bSetTrimTypeFlags=true, ON_BOOL32 bSetLoopTypeFlags=true, ON_BOOL32 bSetTrimBoxes=true)
 
virtual bool SetTrimBoundingBox (ON_BrepTrim &trim, ON_BOOL32 bLazy=false)
 
virtual bool SetTrimBoundingBoxes (ON_BOOL32 bLazy=false)
 
virtual bool SetTrimBoundingBoxes (ON_BrepFace &face, ON_BOOL32 bLazy=false)
 
virtual bool SetTrimBoundingBoxes (ON_BrepLoop &loop, ON_BOOL32 bLazy=false)
 
bool SetTrimCurve (ON_BrepTrim &trim, int c2_index, const ON_Interval *sub_domain=NULL)
 
bool SetTrimDomain (int, const ON_Interval &)
 
bool SetTrimIsoFlags ()
 
bool SetTrimIsoFlags (ON_BrepFace &)
 
bool SetTrimIsoFlags (ON_BrepLoop &)
 
bool SetTrimIsoFlags (ON_BrepTrim &)
 
virtual bool SetTrimTolerance (ON_BrepTrim &trim, ON_BOOL32 bLazy=false) const
 
bool SetTrimTolerances (ON_BOOL32 bLazy=false)
 
bool SetTrimTypeFlags (ON_BOOL32 bLazy=false)
 
bool SetTrimTypeFlags (ON_BrepFace &, ON_BOOL32 bLazy=false)
 
bool SetTrimTypeFlags (ON_BrepLoop &, ON_BOOL32 bLazy=false)
 
bool SetTrimTypeFlags (ON_BrepTrim &, ON_BOOL32 bLazy=false)
 
bool SetVertexTolerance (ON_BrepVertex &vertex, ON_BOOL32 bLazy=false) const
 
bool SetVertexTolerances (ON_BOOL32 bLazy=false)
 
void SetVertices (void)
 
bool ShrinkSurface (ON_BrepFace &face, int DisableSide=0)
 
bool ShrinkSurfaces ()
 
unsigned int SizeOf () const
 
virtual int SolidOrientation () const
 
bool SortFaceLoops (ON_BrepFace &face) const
 
bool SplitBipolarFaces ()
 
bool SplitClosedFaces (int min_degree=0)
 
bool SplitEdge (int edge_index, double edge_t, const ON_SimpleArray< double > &trim_t, int vertex_index=-1, bool bSetTrimBoxesAndFlags=true)
 
virtual bool SplitKinkyEdge (int edge_index, double kink_tol_radians=ON_DEFAULT_ANGLE_TOLERANCE)
 
virtual bool SplitKinkyFace (int face_index, double kink_tol_radians=ON_DEFAULT_ANGLE_TOLERANCE)
 
bool SplitKinkyFaces (double kink_tol_radians=ON_DEFAULT_ANGLE_TOLERANCE, bool bCompactIfNeeded=true)
 
void Standardize ()
 
bool StandardizeEdgeCurve (int edge_index, bool bAdjustEnds)
 
bool StandardizeEdgeCurve (int edge_index, bool bAdjustEnds, int EdgeCurveUse)
 
void StandardizeEdgeCurves (bool bAdjustEnds)
 
bool StandardizeFaceSurface (int face_index)
 
bool StandardizeTrimCurve (int trim_index)
 
void StandardizeTrimCurves ()
 
void StardardizeFaceSurfaces ()
 
ON_BrepSubBrep (int subfi_count, const int *sub_fi, ON_Brep *sub_brep=0) const
 
int SurfaceUseCount (int surface_index, int max_count=0) const
 
ON_BOOL32 SwapCoordinates (int, int)
 
ON_BOOL32 Transform (const ON_Xform &)
 
ON_BrepTrimTrim (int trim_index) const
 
ON_BrepTrimTrim (ON_COMPONENT_INDEX trim_index) const
 
int TrimCurveUseCount (int c2_index, int max_count=0) const
 
ON_BrepTrim::TYPE TrimType (const ON_BrepTrim &trim, ON_BOOL32 bLazy=true) const
 
ON_BrepVertexVertex (int vertex_index) const
 
ON_BrepVertexVertex (ON_COMPONENT_INDEX vertex_index) const
 
bool VolumeMassProperties (ON_MassProperties &mp, bool bVolume=true, bool bFirstMoments=true, bool bSecondMoments=true, bool bProductMoments=true, ON_3dPoint base_point=ON_UNSET_POINT, double rel_tol=1.0e-6, double abs_tol=1.0e-6) const
 
ON_BOOL32 Write (ON_BinaryArchive &) const
 
 ~ON_Brep ()
 
- Public Member Functions inherited from ON_Geometry
ON_BoundingBox BoundingBox () const
 
virtual ON_COMPONENT_INDEX ComponentIndex () const
 
ON_BOOL32 GetBoundingBox (ON_3dPoint &bbox_min, ON_3dPoint &bbox_max, int bGrowBox=false) const
 
ON_BOOL32 GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const
 
virtual bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
 
 ON_Geometry ()
 
 ON_Geometry (const ON_Geometry &)
 
ON_Geometryoperator= (const ON_Geometry &)
 
ON_BOOL32 Rotate (double rotation_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Rotate (double sin_angle, double cos_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Scale (double scale_factor)
 
ON_BOOL32 Translate (const ON_3dVector &translation_vector)
 
virtual ~ON_Geometry ()
 
- Public Member Functions inherited from ON_Object
ON_BOOL32 AttachUserData (ON_UserData *pUserData)
 
bool CopyFrom (const ON_Object *src)
 
void CopyUserData (const ON_Object &source_object)
 
ON_BOOL32 DetachUserData (ON_UserData *pUserData)
 
ON_UserDataFirstUserData () const
 
ON_UserDataGetUserData (const ON_UUID &userdata_uuid) const
 
bool GetUserString (const wchar_t *key, ON_wString &string_value) const
 
int GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const
 
int GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const
 
ON_BOOL32 IsKindOf (const ON_ClassId *pClassId) const
 
virtual ON_UUID ModelObjectId () const
 
void MoveUserData (ON_Object &source_object)
 
 ON_Object ()
 
 ON_Object (const ON_Object &)
 
ON_Objectoperator= (const ON_Object &)
 
void PurgeUserData ()
 
bool SetUserString (const wchar_t *key, const wchar_t *string_value)
 
void TransformUserData (const ON_Xform &xform)
 
virtual ~ON_Object ()
 

Static Public Member Functions

static ON_BrepNew ()
 
static ON_BrepNew (const ON_Brep &)
 

Public Attributes

ON_U m_brep_user
 
ON_CurveArray m_C2
 
ON_CurveArray m_C3
 
ON_BrepEdgeArray m_E
 
ON_BrepFaceArray m_F
 
ON_BrepLoopArray m_L
 
ON_SurfaceArray m_S
 
ON_BrepTrimArray m_T
 
ON_BrepVertexArray m_V
 
- Public Attributes inherited from ON_Object
ON_MEMORY_POOLm_mempool
 

Protected Member Functions

void ClearEdgeVertices ()
 
void ClearTrimVertices ()
 
bool HopAcrossEdge (int &, int &) const
 
void Initialize ()
 
bool IsValidEdge (int edge_index, ON_TextLog *text_log) const
 
bool IsValidEdgeGeometry (int edge_index, ON_TextLog *text_log) const
 
bool IsValidEdgeTolerancesAndFlags (int edge_index, ON_TextLog *text_log) const
 
bool IsValidEdgeTopology (int edge_index, ON_TextLog *text_log) const
 
bool IsValidFace (int face_index, ON_TextLog *text_log) const
 
bool IsValidFaceGeometry (int face_index, ON_TextLog *text_log) const
 
bool IsValidFaceTolerancesAndFlags (int face_index, ON_TextLog *text_log) const
 
bool IsValidFaceTopology (int face_index, ON_TextLog *text_log) const
 
bool IsValidLoop (int loop_index, ON_TextLog *text_log) const
 
bool IsValidLoopGeometry (int loop_index, ON_TextLog *text_log) const
 
bool IsValidLoopTolerancesAndFlags (int loop_index, ON_TextLog *text_log) const
 
bool IsValidLoopTopology (int loop_index, ON_TextLog *text_log) const
 
bool IsValidTrim (int trim_index, ON_TextLog *text_log) const
 
bool IsValidTrimGeometry (int trim_index, ON_TextLog *text_log) const
 
bool IsValidTrimTolerancesAndFlags (int trim_index, ON_TextLog *text_log) const
 
bool IsValidTrimTopology (int trim_index, ON_TextLog *text_log) const
 
bool IsValidVertex (int vertex_index, ON_TextLog *text_log) const
 
bool IsValidVertexGeometry (int vertex_index, ON_TextLog *text_log) const
 
bool IsValidVertexTolerancesAndFlags (int vertex_index, ON_TextLog *text_log) const
 
bool IsValidVertexTopology (int vertex_index, ON_TextLog *text_log) const
 
ON_CurveRead100_BrepCurve (ON_BinaryArchive &) const
 
ON_SurfaceRead100_BrepSurface (ON_BinaryArchive &) const
 
bool ReadOld100 (ON_BinaryArchive &)
 
bool ReadOld101 (ON_BinaryArchive &)
 
bool ReadOld200 (ON_BinaryArchive &, int)
 
bool ReadV1_LegacyFaceStuff (ON_BinaryArchive &)
 
bool ReadV1_LegacyLoop (ON_BinaryArchive &, ON_BrepFace &)
 
bool ReadV1_LegacyLoopStuff (ON_BinaryArchive &, ON_BrepFace &)
 
bool ReadV1_LegacyShellStuff (ON_BinaryArchive &)
 
bool ReadV1_LegacyTrim (ON_BinaryArchive &, ON_BrepFace &, ON_BrepLoop &)
 
bool ReadV1_LegacyTrimStuff (ON_BinaryArchive &, ON_BrepFace &, ON_BrepLoop &)
 
bool SetEdgeVertex (const int, const int, const int)
 
void SetLoopVertices (const int)
 
void SetTolsFromLegacyValues ()
 
void SetTrimIsoFlag (int)
 
void SetTrimIsoFlag (int, double[6])
 
bool SetTrimStartVertex (const int, const int)
 
bool SwapLoopParameters (int)
 
bool SwapTrimParameters (int)
 

Protected Attributes

ON_BoundingBox m_bbox
 
int m_is_solid
 

Private Member Functions

 ON_OBJECT_DECLARE (ON_Brep)
 

Friends

bool ON_BinaryArchive::ReadV1_TCODE_LEGACY_FAC (ON_Object **, ON_3dmObjectAttributes *)
 
bool ON_BinaryArchive::ReadV1_TCODE_LEGACY_SHL (ON_Object **, ON_3dmObjectAttributes *)
 
class ON_BrepFace
 
class ON_BrepFaceSide
 
class ON_BrepRegion
 

Constructor & Destructor Documentation

◆ ON_Brep() [1/2]

ON_Brep::ON_Brep ( )

◆ ~ON_Brep()

ON_Brep::~ON_Brep ( )

◆ ON_Brep() [2/2]

ON_Brep::ON_Brep ( const ON_Brep & src)

Member Function Documentation

◆ AddEdgeCurve()

int ON_Brep::AddEdgeCurve ( ON_Curve * pC)

◆ AddSurface()

int ON_Brep::AddSurface ( ON_Surface * pS)

◆ AddTrimCurve()

int ON_Brep::AddTrimCurve ( ON_Curve * pC)

◆ Append()

void ON_Brep::Append ( const ON_Brep & b)

◆ AreaMassProperties()

bool ON_Brep::AreaMassProperties ( ON_MassProperties & mp,
bool bArea = true,
bool bFirstMoments = true,
bool bSecondMoments = true,
bool bProductMoments = true,
double rel_tol = 1.0e-6,
double abs_tol = 1.0e-6 ) const

◆ BrepComponent()

const ON_Geometry * ON_Brep::BrepComponent ( ON_COMPONENT_INDEX ci) const

◆ BrepForm()

ON_Brep * ON_Brep::BrepForm ( ON_Brep * brep = NULL) const
virtual

Reimplemented from ON_Geometry.

◆ ChangeVertex()

bool ON_Brep::ChangeVertex ( int old_vi,
int new_vi,
bool bClearTolerances )

◆ Clear_edge_user_i() [1/2]

void ON_Brep::Clear_edge_user_i ( )

◆ Clear_edge_user_i() [2/2]

void ON_Brep::Clear_edge_user_i ( int i)

◆ Clear_face_user_i()

void ON_Brep::Clear_face_user_i ( )

◆ Clear_loop_user_i()

void ON_Brep::Clear_loop_user_i ( )

◆ Clear_trim_user_i()

void ON_Brep::Clear_trim_user_i ( )

◆ Clear_user_i()

void ON_Brep::Clear_user_i ( )

◆ Clear_vertex_user_i()

void ON_Brep::Clear_vertex_user_i ( )

◆ ClearBoundingBox()

void ON_Brep::ClearBoundingBox ( )
virtual

Reimplemented from ON_Geometry.

◆ ClearEdgeVertices()

void ON_Brep::ClearEdgeVertices ( )
protected

◆ ClearTrimVertices()

void ON_Brep::ClearTrimVertices ( )
protected

◆ CloseTrimGap()

bool ON_Brep::CloseTrimGap ( ON_BrepTrim & trim0,
ON_BrepTrim & trim1 )

◆ CollapseEdge()

bool ON_Brep::CollapseEdge ( int edge_index,
bool bCloseTrimGap = true,
int vertex_index = -1 )

◆ CombineCoincidentEdges()

bool ON_Brep::CombineCoincidentEdges ( ON_BrepEdge & edge0,
ON_BrepEdge & edge1 )

◆ CombineCoincidentVertices()

bool ON_Brep::CombineCoincidentVertices ( ON_BrepVertex & vertex0,
ON_BrepVertex & vertex1 )

◆ CombineContiguousEdges()

ON_BrepEdge * ON_Brep::CombineContiguousEdges ( int edge_index0,
int edge_iindex1,
double angle_tolerance_radians = ON_PI/180.0 )

◆ Compact()

bool ON_Brep::Compact ( )

◆ ComputeLoopType()

ON_BrepLoop::TYPE ON_Brep::ComputeLoopType ( const ON_BrepLoop & loop) const

◆ Create() [1/5]

bool ON_Brep::Create ( ON_NurbsSurface *& pNurbsSurface)

◆ Create() [2/5]

bool ON_Brep::Create ( ON_PlaneSurface *& pPlaneSurface)

◆ Create() [3/5]

bool ON_Brep::Create ( ON_RevSurface *& pRevSurface)

◆ Create() [4/5]

bool ON_Brep::Create ( ON_SumSurface *& pSumSurface)

◆ Create() [5/5]

bool ON_Brep::Create ( ON_Surface *& pSurface)

◆ CreateMesh()

int ON_Brep::CreateMesh ( const ON_MeshParameters & mp,
ON_SimpleArray< ON_Mesh * > & mesh_list ) const

◆ CullUnused2dCurves()

bool ON_Brep::CullUnused2dCurves ( )

◆ CullUnused3dCurves()

bool ON_Brep::CullUnused3dCurves ( )

◆ CullUnusedEdges()

bool ON_Brep::CullUnusedEdges ( )

◆ CullUnusedFaces()

bool ON_Brep::CullUnusedFaces ( )

◆ CullUnusedLoops()

bool ON_Brep::CullUnusedLoops ( )

◆ CullUnusedSurfaces()

bool ON_Brep::CullUnusedSurfaces ( )

◆ CullUnusedTrims()

bool ON_Brep::CullUnusedTrims ( )

◆ CullUnusedVertices()

bool ON_Brep::CullUnusedVertices ( )

◆ DataCRC()

ON__UINT32 ON_Brep::DataCRC ( ON__UINT32 current_remainder) const
virtual

Reimplemented from ON_Object.

◆ Delete2dCurve()

void ON_Brep::Delete2dCurve ( int c2_index)

◆ Delete3dCurve()

void ON_Brep::Delete3dCurve ( int c3_index)

◆ DeleteEdge()

void ON_Brep::DeleteEdge ( ON_BrepEdge & edge,
ON_BOOL32 bDeleteEdgeVertices )

◆ DeleteFace()

void ON_Brep::DeleteFace ( ON_BrepFace & face,
ON_BOOL32 bDeleteFaceEdges )

◆ DeleteLoop()

void ON_Brep::DeleteLoop ( ON_BrepLoop & loop,
ON_BOOL32 bDeleteLoopEdges )

◆ DeleteSurface()

void ON_Brep::DeleteSurface ( int s_index)

◆ DeleteTrim()

void ON_Brep::DeleteTrim ( ON_BrepTrim & trim,
ON_BOOL32 bDeleteTrimEdges )

◆ DeleteVertex()

void ON_Brep::DeleteVertex ( ON_BrepVertex & vertex)

◆ Destroy()

void ON_Brep::Destroy ( )

◆ DestroyMesh()

void ON_Brep::DestroyMesh ( ON::mesh_type mesh_type,
bool bDeleteMesh = true )

◆ DestroyRegionTopology()

void ON_Brep::DestroyRegionTopology ( )

◆ DestroyRuntimeCache()

void ON_Brep::DestroyRuntimeCache ( bool bDelete = true)
virtual

Reimplemented from ON_Object.

◆ Dimension()

int ON_Brep::Dimension ( ) const
virtual

Implements ON_Geometry.

◆ Dump()

void ON_Brep::Dump ( ON_TextLog & dump) const
virtual

Reimplemented from ON_Object.

◆ DuplicateFace()

ON_Brep * ON_Brep::DuplicateFace ( int face_index,
ON_BOOL32 bDuplicateMeshes ) const

◆ DuplicateFaces()

ON_Brep * ON_Brep::DuplicateFaces ( int face_count,
const int * face_index,
ON_BOOL32 bDuplicateMeshes ) const

◆ Edge() [1/2]

ON_BrepEdge * ON_Brep::Edge ( int edge_index) const

◆ Edge() [2/2]

ON_BrepEdge * ON_Brep::Edge ( ON_COMPONENT_INDEX edge_index) const

◆ EdgeCurveUseCount()

int ON_Brep::EdgeCurveUseCount ( int c3_index,
int max_count = 0 ) const

◆ EmergencyDestroy()

void ON_Brep::EmergencyDestroy ( )

◆ EvaluatePoint()

bool ON_Brep::EvaluatePoint ( const class ON_ObjRef & objref,
ON_3dPoint & P ) const
virtual

Reimplemented from ON_Geometry.

◆ ExtractFace()

ON_Brep * ON_Brep::ExtractFace ( int face_index)

◆ Face() [1/2]

ON_BrepFace * ON_Brep::Face ( int face_index) const

◆ Face() [2/2]

ON_BrepFace * ON_Brep::Face ( ON_COMPONENT_INDEX face_index) const

◆ FaceIsSurface()

bool ON_Brep::FaceIsSurface ( int face_index) const

◆ Flip()

void ON_Brep::Flip ( )

◆ FlipFace()

void ON_Brep::FlipFace ( ON_BrepFace & face)

◆ FlipLoop()

void ON_Brep::FlipLoop ( ON_BrepLoop & loop)

◆ FlipReversedSurfaces()

bool ON_Brep::FlipReversedSurfaces ( )

◆ GetBBox()

ON_BOOL32 ON_Brep::GetBBox ( double * box_min,
double * box_max,
ON_BOOL32 bGrowBox = false ) const
virtual

Implements ON_Geometry.

◆ GetConnectedComponents()

int ON_Brep::GetConnectedComponents ( ON_SimpleArray< ON_Brep * > & components,
bool bDuplicateMeshes ) const

◆ GetEdgeParameter()

bool ON_Brep::GetEdgeParameter ( int trim_index,
double trim_t,
double * edge_t ) const
virtual

◆ GetMesh()

int ON_Brep::GetMesh ( ON::mesh_type mesh_type,
ON_SimpleArray< const ON_Mesh * > & meshes ) const

◆ GetTrim2dEnd()

bool ON_Brep::GetTrim2dEnd ( int trim_index,
ON_2dPoint & P ) const

◆ GetTrim2dStart()

bool ON_Brep::GetTrim2dStart ( int trim_index,
ON_2dPoint & P ) const

◆ GetTrim3dEnd()

bool ON_Brep::GetTrim3dEnd ( int trim_index,
ON_3dPoint & P ) const

◆ GetTrim3dStart()

bool ON_Brep::GetTrim3dStart ( int trim_index,
ON_3dPoint & P ) const

◆ GetTrimParameter()

bool ON_Brep::GetTrimParameter ( int trim_index,
double edge_t,
double * trim_t,
bool bOkToBuildTrimPline = true ) const
virtual

◆ HasBrepForm()

ON_BOOL32 ON_Brep::HasBrepForm ( ) const
virtual

Reimplemented from ON_Geometry.

◆ HasRegionTopology()

bool ON_Brep::HasRegionTopology ( ) const

◆ HopAcrossEdge()

bool ON_Brep::HopAcrossEdge ( int & ti,
int & tvi ) const
protected

◆ Initialize()

void ON_Brep::Initialize ( )
protected

◆ IsDeformable()

bool ON_Brep::IsDeformable ( ) const
virtual

Reimplemented from ON_Geometry.

◆ IsDuplicate()

bool ON_Brep::IsDuplicate ( const ON_Brep & other,
double tolerance = ON_ZERO_TOLERANCE ) const

◆ IsManifold()

bool ON_Brep::IsManifold ( ON_BOOL32 * pbIsOriented = NULL,
ON_BOOL32 * pbHasBoundary = NULL ) const

◆ IsMorphable()

bool ON_Brep::IsMorphable ( ) const
virtual

Reimplemented from ON_Geometry.

◆ IsPointInside()

bool ON_Brep::IsPointInside ( ON_3dPoint P,
double tolerance,
bool bStrictlyInside ) const

◆ IsSolid()

bool ON_Brep::IsSolid ( ) const

◆ IsSurface()

bool ON_Brep::IsSurface ( ) const

◆ IsValid()

ON_BOOL32 ON_Brep::IsValid ( ON_TextLog * text_log = NULL) const
virtual

Implements ON_Object.

◆ IsValidEdge()

bool ON_Brep::IsValidEdge ( int edge_index,
ON_TextLog * text_log ) const
protected

◆ IsValidEdgeGeometry()

bool ON_Brep::IsValidEdgeGeometry ( int edge_index,
ON_TextLog * text_log ) const
protected

◆ IsValidEdgeTolerancesAndFlags()

bool ON_Brep::IsValidEdgeTolerancesAndFlags ( int edge_index,
ON_TextLog * text_log ) const
protected

◆ IsValidEdgeTopology()

bool ON_Brep::IsValidEdgeTopology ( int edge_index,
ON_TextLog * text_log ) const
protected

◆ IsValidFace()

bool ON_Brep::IsValidFace ( int face_index,
ON_TextLog * text_log ) const
protected

◆ IsValidFaceGeometry()

bool ON_Brep::IsValidFaceGeometry ( int face_index,
ON_TextLog * text_log ) const
protected

◆ IsValidFaceTolerancesAndFlags()

bool ON_Brep::IsValidFaceTolerancesAndFlags ( int face_index,
ON_TextLog * text_log ) const
protected

◆ IsValidFaceTopology()

bool ON_Brep::IsValidFaceTopology ( int face_index,
ON_TextLog * text_log ) const
protected

◆ IsValidForV2() [1/3]

bool ON_Brep::IsValidForV2 ( ) const

◆ IsValidForV2() [2/3]

bool ON_Brep::IsValidForV2 ( const ON_BrepEdge & edge) const

◆ IsValidForV2() [3/3]

bool ON_Brep::IsValidForV2 ( const ON_BrepTrim & trim) const

◆ IsValidGeometry()

bool ON_Brep::IsValidGeometry ( ON_TextLog * text_log = NULL) const

◆ IsValidLoop()

bool ON_Brep::IsValidLoop ( int loop_index,
ON_TextLog * text_log ) const
protected

◆ IsValidLoopGeometry()

bool ON_Brep::IsValidLoopGeometry ( int loop_index,
ON_TextLog * text_log ) const
protected

◆ IsValidLoopTolerancesAndFlags()

bool ON_Brep::IsValidLoopTolerancesAndFlags ( int loop_index,
ON_TextLog * text_log ) const
protected

◆ IsValidLoopTopology()

bool ON_Brep::IsValidLoopTopology ( int loop_index,
ON_TextLog * text_log ) const
protected

◆ IsValidTolerancesAndFlags()

bool ON_Brep::IsValidTolerancesAndFlags ( ON_TextLog * text_log = NULL) const

◆ IsValidTopology()

bool ON_Brep::IsValidTopology ( ON_TextLog * text_log = NULL) const

◆ IsValidTrim()

bool ON_Brep::IsValidTrim ( int trim_index,
ON_TextLog * text_log ) const
protected

◆ IsValidTrimGeometry()

bool ON_Brep::IsValidTrimGeometry ( int trim_index,
ON_TextLog * text_log ) const
protected

◆ IsValidTrimTolerancesAndFlags()

bool ON_Brep::IsValidTrimTolerancesAndFlags ( int trim_index,
ON_TextLog * text_log ) const
protected

◆ IsValidTrimTopology()

bool ON_Brep::IsValidTrimTopology ( int trim_index,
ON_TextLog * text_log ) const
protected

◆ IsValidVertex()

bool ON_Brep::IsValidVertex ( int vertex_index,
ON_TextLog * text_log ) const
protected

◆ IsValidVertexGeometry()

bool ON_Brep::IsValidVertexGeometry ( int vertex_index,
ON_TextLog * text_log ) const
protected

◆ IsValidVertexTolerancesAndFlags()

bool ON_Brep::IsValidVertexTolerancesAndFlags ( int vertex_index,
ON_TextLog * text_log ) const
protected

◆ IsValidVertexTopology()

bool ON_Brep::IsValidVertexTopology ( int vertex_index,
ON_TextLog * text_log ) const
protected

◆ JoinEdges()

bool ON_Brep::JoinEdges ( ON_BrepEdge & edge,
ON_BrepEdge & other_edge,
double join_tolerance,
ON_BOOL32 bCheckFaceOrientaion = true )

◆ LabelConnectedComponent()

void ON_Brep::LabelConnectedComponent ( int face_index,
int label )

◆ LabelConnectedComponents()

int ON_Brep::LabelConnectedComponents ( )

◆ Loop() [1/2]

ON_BrepLoop * ON_Brep::Loop ( int loop_index) const

◆ Loop() [2/2]

ON_BrepLoop * ON_Brep::Loop ( ON_COMPONENT_INDEX loop_index) const

◆ Loop2dCurve()

ON_Curve * ON_Brep::Loop2dCurve ( const ON_BrepLoop & loop) const

◆ Loop3dCurve() [1/2]

ON_Curve * ON_Brep::Loop3dCurve ( const ON_BrepLoop & loop,
ON_BOOL32 bRevCurveIfFaceRevIsTrue = false ) const

◆ Loop3dCurve() [2/2]

int ON_Brep::Loop3dCurve ( const ON_BrepLoop & loop,
ON_SimpleArray< ON_Curve * > & curve_list,
ON_BOOL32 bRevCurveIfFaceRevIsTrue = false ) const

◆ LoopDirection()

int ON_Brep::LoopDirection ( const ON_BrepLoop & loop) const

◆ LoopIsSurfaceBoundary()

bool ON_Brep::LoopIsSurfaceBoundary ( int loop_index) const

◆ MakeDeformable()

bool ON_Brep::MakeDeformable ( )
virtual

Reimplemented from ON_Geometry.

◆ MakeValidForV2()

bool ON_Brep::MakeValidForV2 ( )

◆ MemoryRelocate()

void ON_Brep::MemoryRelocate ( )
virtual

Reimplemented from ON_Object.

◆ MergeFaces() [1/2]

bool ON_Brep::MergeFaces ( )

◆ MergeFaces() [2/2]

int ON_Brep::MergeFaces ( int fid0,
int fid1 )

◆ Morph()

bool ON_Brep::Morph ( const ON_SpaceMorph & morph)
virtual

Reimplemented from ON_Geometry.

◆ New() [1/2]

ON_Brep * ON_Brep::New ( )
static

◆ New() [2/2]

ON_Brep * ON_Brep::New ( const ON_Brep & src)
static

◆ NewConeFace()

ON_BrepFace * ON_Brep::NewConeFace ( const ON_BrepVertex & vertex,
const ON_BrepEdge & edge,
bool bRevEdge )

◆ NewCurveOnFace()

ON_BrepTrim & ON_Brep::NewCurveOnFace ( ON_BrepFace & face,
ON_BrepEdge & edge,
ON_BOOL32 bRev3d = false,
int c2i = -1 )

◆ NewEdge() [1/2]

ON_BrepEdge & ON_Brep::NewEdge ( int c3i = -1)

◆ NewEdge() [2/2]

ON_BrepEdge & ON_Brep::NewEdge ( ON_BrepVertex & v0,
ON_BrepVertex & v1,
int c3i = -1,
const ON_Interval * edomain = NULL,
double edge_tolerance = ON_UNSET_VALUE )

◆ NewFace() [1/3]

ON_BrepFace * ON_Brep::NewFace ( const ON_Surface & surface)

◆ NewFace() [2/3]

ON_BrepFace & ON_Brep::NewFace ( int si = -1)

◆ NewFace() [3/3]

ON_BrepFace * ON_Brep::NewFace ( ON_Surface * pSurface,
int vid[4],
int eid[4],
ON_BOOL32 bRev3d[4] )

◆ NewLoop() [1/2]

ON_BrepLoop & ON_Brep::NewLoop ( ON_BrepLoop::TYPE loop_type,
ON_BrepFace & face )

◆ NewLoop() [2/2]

ON_BrepLoop & ON_Brep::NewLoop ( ON_BrepLoop::TYPE looptype)

◆ NewOuterLoop() [1/2]

ON_BrepLoop * ON_Brep::NewOuterLoop ( int face_index)

◆ NewOuterLoop() [2/2]

ON_BrepLoop * ON_Brep::NewOuterLoop ( int face_index,
int vid[4],
int eid[4],
ON_BOOL32 bRev3d[4] )

◆ NewPlanarFaceLoop()

bool ON_Brep::NewPlanarFaceLoop ( int face_index,
ON_BrepLoop::TYPE loop_type,
ON_SimpleArray< ON_Curve * > & boundary,
ON_BOOL32 bDuplicateCurves = true )

◆ NewPointOnFace()

ON_BrepVertex & ON_Brep::NewPointOnFace ( ON_BrepFace & face,
double s,
double t )

◆ NewRuledFace()

ON_BrepFace * ON_Brep::NewRuledFace ( const ON_BrepEdge & edgeA,
bool bRevEdgeA,
const ON_BrepEdge & edgeB,
bool bRevEdgeB )

◆ NewSingularTrim()

ON_BrepTrim & ON_Brep::NewSingularTrim ( const ON_BrepVertex & vertex,
ON_BrepLoop & loop,
ON_Surface::ISO iso,
int c2i = -1 )

◆ NewTrim() [1/4]

ON_BrepTrim & ON_Brep::NewTrim ( int c2i = -1)

◆ NewTrim() [2/4]

ON_BrepTrim & ON_Brep::NewTrim ( ON_BOOL32 bRev3d,
ON_BrepLoop & loop,
int c2i = -1 )

◆ NewTrim() [3/4]

ON_BrepTrim & ON_Brep::NewTrim ( ON_BrepEdge & edge,
ON_BOOL32 bRev3d,
int c2i = -1 )

◆ NewTrim() [4/4]

ON_BrepTrim & ON_Brep::NewTrim ( ON_BrepEdge & edge,
ON_BOOL32 bRev3d,
ON_BrepLoop & loop,
int c2i = -1 )

◆ NewVertex() [1/2]

ON_BrepVertex & ON_Brep::NewVertex ( )

◆ NewVertex() [2/2]

ON_BrepVertex & ON_Brep::NewVertex ( ON_3dPoint vertex_point,
double vertex_tolerance = ON_UNSET_VALUE )

◆ NextEdge()

int ON_Brep::NextEdge ( int current_edge_index,
int endi,
int * next_endi = NULL ) const

◆ NextTrim()

int ON_Brep::NextTrim ( int ti) const

◆ ObjectType()

ON::object_type ON_Brep::ObjectType ( ) const
virtual

Reimplemented from ON_Object.

◆ ON_OBJECT_DECLARE()

ON_Brep::ON_OBJECT_DECLARE ( ON_Brep )
private

◆ operator=()

ON_Brep & ON_Brep::operator= ( const ON_Brep & src)

◆ PrevEdge()

int ON_Brep::PrevEdge ( int current_edge_index,
int endi,
int * prev_endi = NULL ) const

◆ PrevTrim()

int ON_Brep::PrevTrim ( int ti) const

◆ Read()

ON_BOOL32 ON_Brep::Read ( ON_BinaryArchive & file)
virtual

Reimplemented from ON_Object.

◆ Read100_BrepCurve()

ON_Curve * ON_Brep::Read100_BrepCurve ( ON_BinaryArchive & ) const
protected

◆ Read100_BrepSurface()

ON_Surface * ON_Brep::Read100_BrepSurface ( ON_BinaryArchive & ) const
protected

◆ ReadOld100()

bool ON_Brep::ReadOld100 ( ON_BinaryArchive & file)
protected

◆ ReadOld101()

bool ON_Brep::ReadOld101 ( ON_BinaryArchive & file)
protected

◆ ReadOld200()

bool ON_Brep::ReadOld200 ( ON_BinaryArchive & file,
int minor_version )
protected

◆ ReadV1_LegacyFaceStuff()

bool ON_Brep::ReadV1_LegacyFaceStuff ( ON_BinaryArchive & file)
protected

◆ ReadV1_LegacyLoop()

bool ON_Brep::ReadV1_LegacyLoop ( ON_BinaryArchive & file,
ON_BrepFace & face )
protected

◆ ReadV1_LegacyLoopStuff()

bool ON_Brep::ReadV1_LegacyLoopStuff ( ON_BinaryArchive & file,
ON_BrepFace & face )
protected

◆ ReadV1_LegacyShellStuff()

bool ON_Brep::ReadV1_LegacyShellStuff ( ON_BinaryArchive & file)
protected

◆ ReadV1_LegacyTrim()

bool ON_Brep::ReadV1_LegacyTrim ( ON_BinaryArchive & file,
ON_BrepFace & face,
ON_BrepLoop & loop )
protected

◆ ReadV1_LegacyTrimStuff()

bool ON_Brep::ReadV1_LegacyTrimStuff ( ON_BinaryArchive & file,
ON_BrepFace & ,
ON_BrepLoop & loop )
protected

◆ RebuildEdges()

bool ON_Brep::RebuildEdges ( ON_BrepFace & face,
double tolerance,
ON_BOOL32 bRebuildSharedEdges,
ON_BOOL32 bRebuildVertices )

◆ RebuildTrimsForV2()

void ON_Brep::RebuildTrimsForV2 ( ON_BrepFace & face,
const ON_NurbsSurface & nurbs_surface )

◆ RegionTopology()

const ON_BrepRegionTopology & ON_Brep::RegionTopology ( ) const

◆ RemoveNesting()

bool ON_Brep::RemoveNesting ( bool bExtractSingleSegments,
bool bEdges = true,
bool bTrimCurves = true )

◆ RemoveSlits() [1/2]

bool ON_Brep::RemoveSlits ( )

◆ RemoveSlits() [2/2]

bool ON_Brep::RemoveSlits ( ON_BrepFace & F)

◆ RemoveWireEdges()

int ON_Brep::RemoveWireEdges ( bool bDeleteVertices = true)

◆ RemoveWireVertices()

int ON_Brep::RemoveWireVertices ( )

◆ Set_user()

void ON_Brep::Set_user ( ON_U u)

◆ SetEdgeCurve()

bool ON_Brep::SetEdgeCurve ( ON_BrepEdge & edge,
int c3_index,
const ON_Interval * sub_domain = NULL )

◆ SetEdgeDomain()

bool ON_Brep::SetEdgeDomain ( int edge_index,
const ON_Interval & domain )

◆ SetEdgeTolerance()

bool ON_Brep::SetEdgeTolerance ( ON_BrepEdge & edge,
ON_BOOL32 bLazy = false ) const
virtual

◆ SetEdgeTolerances()

bool ON_Brep::SetEdgeTolerances ( ON_BOOL32 bLazy = false)

◆ SetEdgeVertex()

bool ON_Brep::SetEdgeVertex ( const int ei,
const int evi,
const int vi )
protected

◆ SetLoopVertices()

void ON_Brep::SetLoopVertices ( const int li)
protected

◆ SetTolerancesBoxesAndFlags()

void ON_Brep::SetTolerancesBoxesAndFlags ( ON_BOOL32 bLazy = false,
ON_BOOL32 bSetVertexTolerances = true,
ON_BOOL32 bSetEdgeTolerances = true,
ON_BOOL32 bSetTrimTolerances = true,
ON_BOOL32 bSetTrimIsoFlags = true,
ON_BOOL32 bSetTrimTypeFlags = true,
ON_BOOL32 bSetLoopTypeFlags = true,
ON_BOOL32 bSetTrimBoxes = true )

◆ SetTolsFromLegacyValues()

void ON_Brep::SetTolsFromLegacyValues ( )
protected

◆ SetTrimBoundingBox()

bool ON_Brep::SetTrimBoundingBox ( ON_BrepTrim & trim,
ON_BOOL32 bLazy = false )
virtual

◆ SetTrimBoundingBoxes() [1/3]

bool ON_Brep::SetTrimBoundingBoxes ( ON_BOOL32 bLazy = false)
virtual

◆ SetTrimBoundingBoxes() [2/3]

bool ON_Brep::SetTrimBoundingBoxes ( ON_BrepFace & face,
ON_BOOL32 bLazy = false )
virtual

◆ SetTrimBoundingBoxes() [3/3]

bool ON_Brep::SetTrimBoundingBoxes ( ON_BrepLoop & loop,
ON_BOOL32 bLazy = false )
virtual

◆ SetTrimCurve()

bool ON_Brep::SetTrimCurve ( ON_BrepTrim & trim,
int c2_index,
const ON_Interval * sub_domain = NULL )

◆ SetTrimDomain()

bool ON_Brep::SetTrimDomain ( int trim_index,
const ON_Interval & domain )

◆ SetTrimIsoFlag() [1/2]

void ON_Brep::SetTrimIsoFlag ( int )
protected

◆ SetTrimIsoFlag() [2/2]

void ON_Brep::SetTrimIsoFlag ( int ,
double [6] )
protected

◆ SetTrimIsoFlags() [1/4]

bool ON_Brep::SetTrimIsoFlags ( )

◆ SetTrimIsoFlags() [2/4]

bool ON_Brep::SetTrimIsoFlags ( ON_BrepFace & face)

◆ SetTrimIsoFlags() [3/4]

bool ON_Brep::SetTrimIsoFlags ( ON_BrepLoop & loop)

◆ SetTrimIsoFlags() [4/4]

bool ON_Brep::SetTrimIsoFlags ( ON_BrepTrim & trim)

◆ SetTrimStartVertex()

bool ON_Brep::SetTrimStartVertex ( const int ti0,
const int vi )
protected

◆ SetTrimTolerance()

bool ON_Brep::SetTrimTolerance ( ON_BrepTrim & trim,
ON_BOOL32 bLazy = false ) const
virtual

◆ SetTrimTolerances()

bool ON_Brep::SetTrimTolerances ( ON_BOOL32 bLazy = false)

◆ SetTrimTypeFlags() [1/4]

bool ON_Brep::SetTrimTypeFlags ( ON_BOOL32 bLazy = false)

◆ SetTrimTypeFlags() [2/4]

bool ON_Brep::SetTrimTypeFlags ( ON_BrepFace & face,
ON_BOOL32 bLazy = false )

◆ SetTrimTypeFlags() [3/4]

bool ON_Brep::SetTrimTypeFlags ( ON_BrepLoop & loop,
ON_BOOL32 bLazy = false )

◆ SetTrimTypeFlags() [4/4]

bool ON_Brep::SetTrimTypeFlags ( ON_BrepTrim & trim,
ON_BOOL32 bLazy = false )

◆ SetVertexTolerance()

bool ON_Brep::SetVertexTolerance ( ON_BrepVertex & vertex,
ON_BOOL32 bLazy = false ) const

◆ SetVertexTolerances()

bool ON_Brep::SetVertexTolerances ( ON_BOOL32 bLazy = false)

◆ SetVertices()

void ON_Brep::SetVertices ( void )

◆ ShrinkSurface()

bool ON_Brep::ShrinkSurface ( ON_BrepFace & face,
int DisableSide = 0 )

◆ ShrinkSurfaces()

bool ON_Brep::ShrinkSurfaces ( )

◆ SizeOf()

unsigned int ON_Brep::SizeOf ( ) const
virtual

Reimplemented from ON_Object.

◆ SolidOrientation()

int ON_Brep::SolidOrientation ( ) const
virtual

◆ SortFaceLoops()

bool ON_Brep::SortFaceLoops ( ON_BrepFace & face) const

◆ SplitBipolarFaces()

bool ON_Brep::SplitBipolarFaces ( )

◆ SplitClosedFaces()

bool ON_Brep::SplitClosedFaces ( int min_degree = 0)

◆ SplitEdge()

bool ON_Brep::SplitEdge ( int edge_index,
double edge_t,
const ON_SimpleArray< double > & trim_t,
int vertex_index = -1,
bool bSetTrimBoxesAndFlags = true )

◆ SplitKinkyEdge()

bool ON_Brep::SplitKinkyEdge ( int edge_index,
double kink_tol_radians = ON_DEFAULT_ANGLE_TOLERANCE )
virtual

◆ SplitKinkyFace()

bool ON_Brep::SplitKinkyFace ( int face_index,
double kink_tol_radians = ON_DEFAULT_ANGLE_TOLERANCE )
virtual

◆ SplitKinkyFaces()

bool ON_Brep::SplitKinkyFaces ( double kink_tol_radians = ON_DEFAULT_ANGLE_TOLERANCE,
bool bCompactIfNeeded = true )

◆ Standardize()

void ON_Brep::Standardize ( )

◆ StandardizeEdgeCurve() [1/2]

bool ON_Brep::StandardizeEdgeCurve ( int edge_index,
bool bAdjustEnds )

◆ StandardizeEdgeCurve() [2/2]

bool ON_Brep::StandardizeEdgeCurve ( int edge_index,
bool bAdjustEnds,
int EdgeCurveUse )

◆ StandardizeEdgeCurves()

void ON_Brep::StandardizeEdgeCurves ( bool bAdjustEnds)

◆ StandardizeFaceSurface()

bool ON_Brep::StandardizeFaceSurface ( int face_index)

◆ StandardizeTrimCurve()

bool ON_Brep::StandardizeTrimCurve ( int trim_index)

◆ StandardizeTrimCurves()

void ON_Brep::StandardizeTrimCurves ( )

◆ StardardizeFaceSurfaces()

void ON_Brep::StardardizeFaceSurfaces ( )

◆ SubBrep()

ON_Brep * ON_Brep::SubBrep ( int subfi_count,
const int * sub_fi,
ON_Brep * sub_brep = 0 ) const

◆ SurfaceUseCount()

int ON_Brep::SurfaceUseCount ( int surface_index,
int max_count = 0 ) const

◆ SwapCoordinates()

ON_BOOL32 ON_Brep::SwapCoordinates ( int i,
int j )
virtual

Reimplemented from ON_Geometry.

◆ SwapLoopParameters()

bool ON_Brep::SwapLoopParameters ( int loop_index)
protected

◆ SwapTrimParameters()

bool ON_Brep::SwapTrimParameters ( int trim_index)
protected

◆ Transform()

ON_BOOL32 ON_Brep::Transform ( const ON_Xform & xform)
virtual

Reimplemented from ON_Geometry.

◆ Trim() [1/2]

ON_BrepTrim * ON_Brep::Trim ( int trim_index) const

◆ Trim() [2/2]

ON_BrepTrim * ON_Brep::Trim ( ON_COMPONENT_INDEX trim_index) const

◆ TrimCurveUseCount()

int ON_Brep::TrimCurveUseCount ( int c2_index,
int max_count = 0 ) const

◆ TrimType()

ON_BrepTrim::TYPE ON_Brep::TrimType ( const ON_BrepTrim & trim,
ON_BOOL32 bLazy = true ) const

◆ Vertex() [1/2]

ON_BrepVertex * ON_Brep::Vertex ( int vertex_index) const

◆ Vertex() [2/2]

ON_BrepVertex * ON_Brep::Vertex ( ON_COMPONENT_INDEX vertex_index) const

◆ VolumeMassProperties()

bool ON_Brep::VolumeMassProperties ( ON_MassProperties & mp,
bool bVolume = true,
bool bFirstMoments = true,
bool bSecondMoments = true,
bool bProductMoments = true,
ON_3dPoint base_point = ON_UNSET_POINT,
double rel_tol = 1.0e-6,
double abs_tol = 1.0e-6 ) const

◆ Write()

ON_BOOL32 ON_Brep::Write ( ON_BinaryArchive & file) const
virtual

Reimplemented from ON_Object.

Friends And Related Symbol Documentation

◆ ON_BinaryArchive::ReadV1_TCODE_LEGACY_FAC

◆ ON_BinaryArchive::ReadV1_TCODE_LEGACY_SHL

◆ ON_BrepFace

friend class ON_BrepFace
friend

◆ ON_BrepFaceSide

friend class ON_BrepFaceSide
friend

◆ ON_BrepRegion

friend class ON_BrepRegion
friend

Member Data Documentation

◆ m_bbox

ON_BoundingBox ON_Brep::m_bbox
protected

◆ m_brep_user

ON_U ON_Brep::m_brep_user

◆ m_C2

ON_CurveArray ON_Brep::m_C2

◆ m_C3

ON_CurveArray ON_Brep::m_C3

◆ m_E

ON_BrepEdgeArray ON_Brep::m_E

◆ m_F

ON_BrepFaceArray ON_Brep::m_F

◆ m_is_solid

int ON_Brep::m_is_solid
protected

◆ m_L

ON_BrepLoopArray ON_Brep::m_L

◆ m_S

ON_SurfaceArray ON_Brep::m_S

◆ m_T

ON_BrepTrimArray ON_Brep::m_T

◆ m_V

ON_BrepVertexArray ON_Brep::m_V

The documentation for this class was generated from the following files: