An oriented rectangle in 2D coordinate space with double precision coordinates.

Namespace: yWorks.yFiles.Algorithms.Geometry
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.1.0.2

Syntax

C#
public class YOrientedRectangle : IPlaneObject
Visual Basic
Public Class YOrientedRectangle _
	Implements IPlaneObject

Remarks

An oriented rectangle in 2D coordinate space with double precision coordinates. The rectangle's height extends from its anchor point in the direction of its up vector
CopyC#
(
            <see cref="P:yWorks.yFiles.Algorithms.Geometry.YOrientedRectangle.UpX">ux</see>
            ,
            <see cref="P:yWorks.yFiles.Algorithms.Geometry.YOrientedRectangle.UpY">uy</see>
            )
. Its width extends from its
CopyC#
<see cref="P:yWorks.yFiles.Algorithms.Geometry.YOrientedRectangle.Anchor">anchor point</see>
in direction (-uy, ux) (i.e. perpendicular to the up vector). This means that an oriented rectangle with anchor point (0, 0) width 100, height 10, and up vector (0, -1) is a paraxial rectangle with upper left corner (0, -10) and lower right corner (100, 0).

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Algorithms.Geometry..::..YOrientedRectangle

See Also