Give explanation
Develop a set of classes that can be used to create a C++ program to generate a floor plan. The definition of classes should take into consideration all the design needs for the various types of space of a house or a building layout. A) Layout is a drawing or graphic. Its basic underlying concept is geometry. Geometry is the basis for shape, which can be described in terms of geometrical entities, such as point, two points form a line segment, contiguous segments form a polyline, if endpoints of a polyline are the same a polygon is formed. Multiple areas and lines can be contained inside of an envelope. A common data structure or class hierarchy for graphical layout could be: (Graphic (geometry (envelope, multipoint, point, line, polygon, polyline), symbol (marker. textSymbol, lineSymbol, pictureFillSymbol, simpleFillSymbol), attributes, layers) B) For design purposes, space analysis may be required. The analytical tools can use both geometry and topology of the graphical entities involved in the design. (GeomEngine (spatialComp (difference, join, intersect), spatialRelation(contains, crosses, equal. touches, within, intersects, adjacent), spatialMeasure(distance, offset, area, length), took Box (convexHull, extension, expansion, anchor)) C) The layout design activity consists of RSTR STE considering the commonly accepted norms (and local governmental BOO POOCH regulations) of the utilization of the space and its surroundings. BATH WITCHERY In a public venue, such as a school UTIL building, the spaces may consist of offices, hallways, classrooms, restrooms, auditorium, gym, etc. STUDYOST In the example of a house, the space can I CAR GARAGE be arranged based on the purpose or activities within the space, such as bedroom - space for sleep, kitchen for cooking, dining room or breakfast nook for eating, bathroom for washing, etc. (see figure) http:/www.floorplans.com/house-plans/fp/styles/craftsman-home-plans-craftsman-floor-plans/allfpw73237.html The data structure or class hierarchy that can be used to represent the above sample house plan: (Space (Garage (garagel, garage2, garage3), Bedroom (masterSuite, bedRMI, bedRM2), FamilyRM, Kitchen, Bathroom (j&j, mBath, guestBath), commonSpace (foyer, stairwell, study/guestRm, secretary DeskArea, nook, exercisekm, dining Rm, utilityRm, patio, frontPorch, lanai/roofedVeranda, bbqPorch), Surrounding (lawn, landscape, landmark, lot, neighborhood, view) ))3.1. Consider the standard Hamiltonian for a system of NV identical particles H =\\ PL+U(1 1, .., IN). 2m a. Show that the microcanonical partition function can be expressed in the form n ( N, V. E) - MN / dE AND6 ( E Pi E 2m DIV) d' ro ( U( r , . . . . . PN ) - E +E) . which provides a way to separate the kinetic and potential contributions to the partition function. b. Based on the result of part a, show that the partition function can, there- fore, be expressed as Eo 25m 3/27 N n(N. V.E) = NIT (IN) ha dr E-U(1. ...IN )]BN/2-19(E -U(ri. .IN)). where (z) is the Heaviside step function