Method that creates four lines to represent a rectangle where the base of the rectangle is defined by two points and the height is defined by a third point. The input points for the base can be either Point2d objects defining an X-Y point in space, or an existing SketchPoint object.
BasePointOne |
Object |
Input object that defines the first base point of the rectangle. Either a SketchPoint or Point2d object can be used. If an existing sketch point is input, that lines become connected to the point. |
BasePointTwo |
Object |
Input object that defines the second base point of the rectangle. Either a SketchPoint or Point2d object can be used. If an existing sketch point is input, the lines become connected to the point. |
HeightPoint |
Point2d |
Input Point2d object that defines the height of the rectangle. The point can be anywhere in space and the height of the rectangle is computed by finding the shortest distance of this point to an infinite line defined by the two base points. |