oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
oevislib_net.Geometry.Arc2D Class Reference

A two-dimensional arc represented in the Cartesian system. More...

Inheritance diagram for oevislib_net.Geometry.Arc2D:

Public Member Functions

bool Equals (Arc2D other)
override bool Equals (object obj)
override int GetHashCode ()
override object Clone ()
Arc2D Features
See also
Features
Point2D GetMidpoint ()
 Returns the arc midpoint.
void GetEndpoints (Point2D outPoint1, Point2D outPoint2)
 Returns both arc endpoints.
float GetLength ()
 Returns the arc length.
Circle2D GetCircle ()
 Returns the circle containing the arc.
Arc2D Spatial Transforms
Arc2D Reverse ()
 Returns an object with equal center and radius, but with opposite arc direction.
Arc2D Resize (float inDelta)
 Adds the provided length to the arc radius.
Arc2D Translate (Vector2D inDelta, bool inInverse)
 Translates the arc using the provided vector.
Arc2D Rotate (float inAngle, Optional< Point2D > inCenter=null, bool inInverse=false)
 Rotates the arc using the provided angle.
Arc2D Align (UCS2D inAlignment, bool inInverse)
 Aligns the arc to a new coordinate system.
Arc2D Rescale (float inScale=1.0f, Optional< Point2D > inReferencePoint=null, bool inInverse=false)
 Rescales the arc using a scale factor.

Properties

Point2D Center = new Point2D(0.0f, 0.0f) [get, set]
float Radius = 0.0f [get, set]
float StartAngle = 0.0f [get, set]
float SweepAngle = 0.0f [get, set]

Arc2D Basics

See also
Basics
static bool operator== (Arc2D inArc2D1, Arc2D inArc2D2)
static bool operator!= (Arc2D inArc2D1, Arc2D inArc2D2)
static Arc2D Deserialize (ByteBuffer inBuffer)
 De-serialize an Arc2D buffer.
 Arc2D ()
 Creates an Arc2D object with default values.
 Arc2D (float inX, float inY, float inRadius, float inStartAngle, float inSweepAngle)
 Creates a new Arc2D given center coordinates, radius, startAngle and sweepAngle.
 Arc2D (Point2D inCenter, float inRadius, float inStartAngle, float inSweepAngle)
 Creates a new Arc2D given center, radius, startAngle and sweepAngle.
 Arc2D (Point2D inPoint, Anchor2D inPointAnchor, float inRadius, float inStartAngle, float inSweepAngle)
 Creates a new Arc2D given radius, angles and anchor points.
ByteBuffer Serialize ()
 Serializes the object.

Detailed Description

A two-dimensional arc represented in the Cartesian system.