RECTANGLE in English translation

rectangle
矩形
长方形
的长方形

Examples of using Rectangle in Chinese and their translations into English

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
之前,如果它们在OBJ_RECTANGLE_LABEL和OBJ_RECTANGLE类型的其他对象之内,事件生成错误。
Previously, the events were generated incorrectly if they were within other objects of OBJ_RECTANGLE_LABEL and OBJ_RECTANGLE types.
创建三个rectangle.
Create another rectangle.
确定此Rectangle是否为空。
Determines whether this rectangle is empty.
最典型的问题就是largestrectangleinhistogram。
The problem is known as the biggest rectangle below a histogram.
示例5-13:在Rectangle结构体上定义area方法.
Listing 5-13: Defining an area method on the Rectangle struct.
这里我们定义了一个结构体并称其为Rectangle
Here we have defined a struct and named it Rectangle.
返回一个新的Rectangle,它表示两个矩形的交集。
Returns a new rectangle that represents the intersection of the two rectangles..
Shapes("Rectangle2")将返回对该形状的引用。
Shapes("Rectangle 2") will return a reference to that shape.
前一页上一篇:LeetCode_084:LargestRectangleinHistogram.
Plan to work on hard level algorithm Leetcode 84: Largest Rectangle in Histogram.
构造一个新的Rectangle,并将其初始化,以匹配指定Rectangle的值。
Constructs a new rectangle, initialized to match the values of the specificed rectangle.
示例11-5:第五章中Rectangle结构体和其can_hold方法.
Listing 11-5: Using the Rectangle struct and its can_hold method from Chapter 5.
将此Rectangle的大小设置为指定的宽度和高度。
Sets the size of this rectangle to the specified width and height.
如果该矩形不相交,则此方法返回一个空的Rectangle对象;.
If the Rectangles do not intersect, this method returns an empty Rectangle object;
Rect:Rectangle-所检查的Rectangle对象。
Rect: Rectangle- the rectangle to check against.
我们将测试命名为larger_can_hold_smaller,并创建所需的两个Rectangle实例。
We have named our test larger_can_hold_smaller, and we have created the two Rectangle instances that we need.
我们做个练习,编写一个叫做move_rectangle的函数,接受一个Rectangle以及两个数字dx和dy。
Exercise 15.2 Write a function named move_rectangle that takes a Rectangle and two numbers named dx and dy.
示例5-15:在Rectangle上实现can_hold方法,它获取另一个Rectangle实例作为参数.
Listing 5-15: Implementing the can_hold method on Rectangle that takes another Rectangle instance as a parameter.
示例5-15:在Rectangle上实现can_hold方法,它获取另一个Rectangle实例作为参数.
Listing 5-15: Implementing the can_hold method on Rectangle that takes another Rectangleinstance as a parameter.
Rectangle在坐标空间中仍有一个位置,改变其大小或位置的方法仍然有效。
An empty rectangle still has a location in the coordinate space, and methods that change its size or location remain valid.
我们做个练习,编写另一个版本的move_rectangle,函数创建并返回一个新的Rectangle对象而非修改原先的那个。
Exercise 15.3 Write a version of move_rectangle that creates and returns a new Rectangle instead of modifying the old one.
Results: 80, Time: 0.0188

Top dictionary queries

Chinese - English