Represents a room object. A room represents a volume bounded actually or theoretically.
More...
Represents a room object. A room represents a volume bounded actually or theoretically.
This interface can be obtained as an additional interface from IModelObject with Room type.
◆ CalculateRegion()
Calculates the region of the room around the given point and returns the result of the calculation as a IRoomRegionDescription. Returns null, if the given point is located outside the room or on its boundaries.
- Parameters
-
| [in] | roomPoint | The point in the global coordinate system inside the room around which the region will be calculated. For automatic room, this point can be obtained using ControlPoint, and for non-automatic room, for example, by analyzing its baseline. |
| [out] | ppRoomRegionDescription | The description of the calculated room region. |
- See also
- Automatic, ControlPoint, IRegion2D, IRoomRegionDescription
◆ Automatic
Indicates whether the room is automatically constructed by point.
- Returns
- TRUE if the room is automatically constructed by point, FALSE otherwise.
◆ ControlPoint
The point of automatically constructed room in the global coordinate system.
- Returns
- The requested point if the room is automatically constructed by point, (0, 0) point otherwise.
- See also
- Automatic
- Note
- This property can only be set when the room is Automatic.
◆ RoomName
◆ RoomNumber