oevislib_net  0.14.3.0
Loading...
Searching...
No Matches

A 2D representation of a ring in the Cartesian space. More...

Inheritance diagram for oevislib_net.Geometry.Ring2D:

Public Member Functions

bool Equals (Ring2D other)
override bool Equals (object obj)
override int GetHashCode ()
override object Clone ()
Ring2D Features
See also
Features
Box GetBoundingBox ()
 Returns the box with minimum area that contains the entire ring.
Ring2D Spatial Transforms
Ring2D Align (UCS2D inRingAlignment)
 Aligns the ring to a new coordinate system.
Ring2D Relations
See also
Relations
bool Contains (Point2D inPoint)
 Returns whether a point is contained inside the ring or not.

Static Public Member Functions

static bool operator== (Ring2D inRing2D1, Ring2D inRing2D2)
static bool operator!= (Ring2D inRing2D1, Ring2D inRing2D2)

Properties

Point2D Center = new Point2D(0.0f, 0.0f) [get, set]
float Radius1 = 0.0f [get, set]
float Radius2 = 0.0f [get, set]

Ring2D Basics

See also
Basics
static Ring2D Deserialize (ByteBuffer inBuffer)
 De-serialize a Ring2D buffer.
 Ring2D ()
 Creates a new Ring2D with default values.
 Ring2D (float inX, float inY, float inRadius1, float inRadius2)
 Creates a new Ring2D given center coordinates and radii.
 Ring2D (Point2D inCenter, float inRadius1, float inRadius2)
 Creates a new Ring2D given center and radii.
 Ring2D (Point2D inPoint, Anchor2D inPointAnchor, float inInnerRadius, float inOuterRadius)
 Creates a new Ring2D given a point and its position relative to the ring bounding box.
 Ring2D (Circle2D inCircle, float inRingWidth, BorderPosition inBorderPosition)
 Creates a new Ring2D given a circle and border width.
ByteBuffer Serialize ()
 Serializes the object.

Detailed Description

A 2D representation of a ring in the Cartesian space.