Click or drag to resize

RectD Structure

Defines a rectangular area in 2D space using double-precision floating-point coordinates.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Clipper2LibRectD

Namespace: Clipper2Lib
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public struct RectD

The RectD type exposes the following members.

Constructors
 NameDescription
Public methodRectD(Boolean) Initializes a new invalid or empty instance of the RectD struct.
Public methodRectD(RectD) Initializes a new instance of the RectD struct from another rectangle.
Public methodRectD(Double, Double, Double, Double) Initializes a new instance of the RectD struct.
Top
Properties
 NameDescription
Public propertyHeight Gets or sets the height of the rectangle.
Public propertyWidth Gets or sets the width of the rectangle.
Top
Methods
 NameDescription
Public methodAsPath Converts the rectangle to a PathD representation.
Public methodContains(PointD) Determines if a point is inside the rectangle.
Public methodContains(RectD) Determines if another rectangle is completely contained within this rectangle.
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIntersects Determines if another rectangle intersects with this rectangle.
Public methodIsEmpty Determines if the rectangle is empty (has no area).
Public methodMidPoint Calculates the midpoint of the rectangle.
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Fields
 NameDescription
Public fieldbottom The Y coordinate of the bottom side of the rectangle.
Public fieldleft The X coordinate of the left side of the rectangle.
Public fieldright The X coordinate of the right side of the rectangle.
Public fieldtop The Y coordinate of the top side of the rectangle.
Top
See Also