2
[an error occurred while processing this directive] next up previous contents Next: Hybrid modellers Up: Boundary models Previous: Boundary models Boundary representation BRep models represent a solid indirectly by a representation of its bounding surface. A BRep solid is represented as a volume contained in a set of faces together with topological information which defines the relationships between the faces. Because BRep include such topological information, a solid is represented as a closed space in 3D space. The boundary of a solid separates points inside from points outside of the solid. Brep models can represent a wide class of objects but data structure is complex, and it requires a large memory space. A very simple Brep model constructed using 6 faces is shown in Figure 5 . Figure 5: A simple Brep model constructed using 6 faces Normally a face is a bounded region of a planar, quadratic, toroidal, or sculptured surface. The bounded region of the surface that forms the face is represented by a closed curve that lie on the surface. A face can have several bounding curves to represent holes in a solid The bounding curves of faces are represented by edges. The portion of the curve that forms the edge is represented by two vertices. A BRep model has to fulfil the following conditions: The set of faces forms a complete skin of the solid with no missing parts, and faces do not intersect each other except at common vertices or edges. Furthermore, the boundaries of faces do not intersect themselves. These conditions disallow selfintersecting and open objects. Boundary representation can be divided in three classes: facetted, elementary, and advanced BRep. In facetted BRep, a solid is bounded by planar surfaces. Only points, planes and planar polygons are necessary and are implicitly represented by their vertex points. The surfaces included in elementary BRep are planar, quadric, and toroidal surfaces. The bounding curves of the faces are lines, conics, or 4th order curves. In advanced BRep, the surfaces includes also spline surfaces (BSpline, Bézier, NURBS, etc.) in addition to elementary BRep. The bounding curves are spline curves. Faces, edges, and vertices, and the related geometric information form the basic components of BRep models. The geometric information contains the face and edge equations (or information to compute them), and vertex coordinates. The topology contains the information on the relation of the components, i.e. how the faces, edges and vertices are connected together. In facetted BRep, all edges are straight line segments. Therefore faces can be represented as polygons and each polygon as a set of coordinate values x, y and z. The data structure in this case is simple and easy to implement. Facetted approximation of more sophisticated BRep models are normally used for generation of graphical output since it is cheaper in terms of computations. Due to the complexity of the construction of the BRep models, it is not trivial for a designer to build correct BRep models directly. The designer needs a sufficient collection of more convenient and

Boundary Representation

Embed Size (px)

DESCRIPTION

Boundary representation

Citation preview

  • 3/26/2015 Boundaryrepresentation

    http://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node23.html 1/2

    [anerroroccurredwhileprocessingthisdirective]

    next up previous contents Next:HybridmodellersUp:BoundarymodelsPrevious:Boundarymodels

    Boundaryrepresentation

    BRepmodelsrepresentasolidindirectlybyarepresentationofitsboundingsurface.ABRepsolidisrepresentedasavolumecontainedinasetoffacestogetherwithtopologicalinformationwhichdefinestherelationshipsbetweenthefaces.BecauseBRepincludesuchtopologicalinformation,asolidisrepresentedasaclosedspacein3Dspace.Theboundaryofasolidseparatespointsinsidefrompointsoutsideofthesolid.Brepmodelscanrepresentawideclassofobjectsbutdatastructureiscomplex,anditrequiresalargememoryspace.AverysimpleBrepmodelconstructedusing6facesisshowninFigure5.

    Figure5:AsimpleBrepmodelconstructedusing6faces

    Normallyafaceisaboundedregionofaplanar,quadratic,toroidal,orsculpturedsurface.Theboundedregionofthesurfacethatformsthefaceisrepresentedbyaclosedcurvethatlieonthesurface.AfacecanhaveseveralboundingcurvestorepresentholesinasolidTheboundingcurvesoffacesarerepresentedbyedges.Theportionofthecurvethatformstheedgeisrepresentedbytwovertices.ABRepmodelhastofulfilthefollowingconditions:Thesetoffacesformsacompleteskinofthesolidwithnomissingparts,andfacesdonotintersecteachotherexceptatcommonverticesoredges.Furthermore,theboundariesoffacesdonotintersectthemselves.Theseconditionsdisallowselfintersectingandopenobjects.

    Boundaryrepresentationcanbedividedinthreeclasses:facetted,elementary,andadvancedBRep.InfacettedBRep,asolidisboundedbyplanarsurfaces.Onlypoints,planesandplanarpolygonsarenecessaryandareimplicitlyrepresentedbytheirvertexpoints.ThesurfacesincludedinelementaryBRepareplanar,quadric,andtoroidalsurfaces.Theboundingcurvesofthefacesarelines,conics,or4thordercurves.InadvancedBRep,thesurfacesincludesalsosplinesurfaces(BSpline,Bzier,NURBS,etc.)inadditiontoelementaryBRep.Theboundingcurvesaresplinecurves.

    Faces,edges,andvertices,andtherelatedgeometricinformationformthebasiccomponentsofBRepmodels.Thegeometricinformationcontainsthefaceandedgeequations(orinformationtocomputethem),andvertexcoordinates.Thetopologycontainstheinformationontherelationofthecomponents,i.e.howthefaces,edgesandverticesareconnectedtogether.InfacettedBRep,alledgesarestraightlinesegments.Thereforefacescanberepresentedaspolygonsandeachpolygonasasetofcoordinatevaluesx,yandz.Thedatastructureinthiscaseissimpleandeasytoimplement.FacettedapproximationofmoresophisticatedBRepmodelsarenormallyusedforgenerationofgraphicaloutputsinceitischeaperintermsofcomputations.

    DuetothecomplexityoftheconstructionoftheBRepmodels,itisnottrivialforadesignertobuildcorrectBRepmodelsdirectly.Thedesignerneedsasufficientcollectionofmoreconvenientand

    http://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node24.htmlhttp://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node24.htmlhttp://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node22.htmlhttp://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node22.htmlhttp://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node22.htmlhttp://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node3.htmlhttp://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node22.html

  • 3/26/2015 Boundaryrepresentation

    http://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node23.html 2/2

    efficientsoliddescriptionmethods.ForaBRepmodeller,itisnoteasytoimplementatextualuserinterface.However,itispossibletocreatedescriptionlanguagesthatarebasedonaCSGinput.AcommonsolutionistoconstructBRepmodelsthroughaconversionfromCSGinwhichtheoperationsarelimitedtoBooleanoperations.Forthatpurpose,theBRepmodellermustincludealgorithmsforcreatingBRepmodelsfromtheCSGprimitives,andcomputingBooleanoperationsonthesemodels(i.e.boundaryevaluation).TocomputeBooleanoperationsforBRepmodelsisexpensiveandnumericalproblemsmayoccur.SometimestheboundaryevaluationisnottrivialorevenimpossibletoperformsincesomeCSGmodelshavenoconvenientrepresentationsinBRep.Forexample,aCSGsolidmaybeconstructedasaBooleansubtractionoftwocylinderswherethecylindertobesubtractedisinsidetheothercylinderandtouchesitatoneside.TheresultingBRepmodelwouldhavefoursurfaceedgesatthatpointwhereonlytwoareallowed.

    BRepisusedintheautomotiveandaeroplaneindustriessinceitallowstohavedescriptionsofthesurfacestobeused,forexample,inmakingthepresseswhicharetoformthesheetsforthewings,doorsetc.

    next up previous contents Next:HybridmodellersUp:BoundarymodelsPrevious:Boundarymodels

    [anerroroccurredwhileprocessingthisdirective]

    http://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node24.htmlhttp://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node22.htmlhttp://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node22.htmlhttp://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node22.htmlhttp://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node24.htmlhttp://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node22.htmlhttp://cadd.web.cern.ch/cadd/cad_geant_int/thesis/node3.html