Click or drag to resize

RectangleD3D Structure

RectangleD describes a rectangle in 3D space.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Altaxo.GeometryRectangleD3D

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
[SerializableAttribute]
public struct RectangleD3D

The RectangleD3D type exposes the following members.

Constructors
 NameDescription
Public methodRectangleD3D(PointD3D, VectorD3D) Initializes a new instance of the RectangleD3D struct.
Public methodRectangleD3D(Double, Double, Double, Double, Double, Double) Initializes a new instance of the RectangleD3D struct.
Top
Properties
 NameDescription
Public propertyCenter Gets the center of this rectangle.
Public propertyEdges Gets the edges of the rectangle (first bottom edges, then the pillars, and then the top edges).
Public propertyStatic memberEmpty Gets the empty rectangle.
Public propertyIsEmpty Gets a value indicating whether this rectangle is empty (all sizes are zero).
Public propertyLocation Gets the location (left-top-front corner) of the rectangle.
Public propertyLocationPlusSize Gets the location plus size (right-bottom-back corner) of the rectangle.
Public propertyOuterCircleBoundingBox Gets a rectangle that includes the smallest circle around this rectangle.
Public propertyPlanes Gets an enumeration of the planes of the faces of this rectangle (left, right, front, back, bottom, top).
Public propertySize Gets the size vector of this rectangle.
Public propertySizeX Gets the size in x-direction.
Public propertySizeY Gets the size in y-direction.
Public propertySizeZ Gets the size in z-direction.
Public propertyTriangleIndices Gets the triangle indices of all faces using the vertices returned by Vertices. The order is front, back, top, bottom, left, right.
Public propertyVertices Gets the vertices in binary order (x: 0th digit, y: 1st digit, z: 2nd digit).
Public propertyX Gets the x-coordinate of the left side.
Public propertyXCenter Gets the x-coordinate of the rectangle center.
Public propertyXPlusSizeX Gets the x-coordinate of the right side.
Public propertyY Gets the y-coordinate of the top side.
Public propertyYCenter Gets the y-coordinate of the rectangle center.
Public propertyYPlusSizeY Gets the y-coordinate of the bottom side.
Public propertyZ Gets the z-coordinate of the front side.
Public propertyZCenter Gets the z-coordinate of the rectangle center.
Public propertyZPlusSizeZ Gets the z-coordinate of the back side.
Top
Methods
 NameDescription
Public methodContains Determines whether the specified point is contained in this rectangle.
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodStatic memberGetTriangleIndices Gets the triangle indices of all faces using the vertices returned by Vertices. The order is front, back, top, bottom, left, right.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberNewRectangleIncludingAllPoints Creates a new rectangle that includes all the provided points.
Public methodToStringReturns the fully qualified type name of this instance.
(Overrides ValueTypeToString)
Public methodWithLocation Returns a new instance with the specified location.
Public methodWithOffsetChanges the location of the rectangle by the specified values for x and y.
Public methodWithPaddingInflates the rectangle by the specified values x and y.
Public methodWithPointsIncluded Returns a rectangle that is based on the current rectangle, but was expanded to include all the provided points.
Public methodWithRectangleIncluded Returns a rectangle that is based on the current rectangle, but was expanded to include all vertex points of the provided rectangle r.
Public methodWithSize Returns a new instance with the specified size.
Public methodWithSizePlus Returns a new instance with the specified size offset applied.
Public methodWithSizeX Returns a new instance with SizeX set to the provided value.
Public methodWithSizeXPlus Returns a new instance with SizeX increased by the provided value.
Public methodWithSizeY Returns a new instance with SizeY set to the provided value.
Public methodWithSizeYPlus Returns a new instance with SizeY increased by the provided value.
Public methodWithSizeZ Returns a new instance with SizeZ set to the provided value.
Public methodWithSizeZPlus Returns a new instance with SizeZ increased by the provided value.
Public methodWithX Returns a new instance with X set to the provided value.
Public methodWithXPlus Returns a new instance with X set to the X plus the provided value.
Public methodWithY Returns a new instance with Y set to the provided value.
Public methodWithYPlus Returns a new instance with Y set to the Y plus the provided value.
Public methodWithZ Returns a new instance with Z set to the provided value.
Public methodWithZPlus Returns a new instance with Z set to the Z plus the provided value.
Top
Operators
 NameDescription
Public operatorStatic memberEquality(RectangleD3D, RectangleD3D) Determines whether two rectangles are equal.
Public operatorStatic memberInequality(RectangleD3D, RectangleD3D) Determines whether two rectangles are not equal.
Top
See Also