Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

Give explanation

image text in transcribedimage text in transcribed
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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Differential Equations With Boundary-Value Problems

Authors: Dennis G Zill, Brad Strong, Michael Cullen

7th Edition

1111798524, 9781111798529

More Books

Students also viewed these Mathematics questions

Question

What is the difference between free slack and total slack?

Answered: 1 week ago

Question

3. Vary your pace and volume in speaking. Use silence for emphasis.

Answered: 1 week ago