|
oevislib_net
0.14.3.0
|
The 2D representation of a circle on the Cartesian system. More...
Public Member Functions | |
| bool | Equals (Circle2D other) |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| override object | Clone () |
Circle2D Features | |
| |
| Point2D | GetAnchoredPoint (Anchor2D inPointAnchor) |
| Returns a circle characteristic point. | |
| float | GetArea () |
| Returns the circle area. | |
| float | GetPerimeter () |
| Returns the circle perimeter. | |
| Arc2D | GetArcSection (float inStartAngle, float inSweepAngle) |
| Returns an arc section from the circle using the provided angles. | |
| Box | GetBoundingBox () |
| Returns the box with minimum area that contains the entire circle. | |
| Rectangle2D | GetBoundingRect (Optional< float > inAngle=null) |
| Computes the rectangle with minium area that contains the entire circle. | |
| Array< Line2D > | GetTangents (Point2D inPoint) |
| Returns the lines that are tangents to the Circle2D object. | |
Circle2D Relations | |
| |
| bool | Contains (Point2D inPoint) |
| Returns true if the circle contains the provided point, false otherwise. | |
Circle2D Spatial Transforms | |
| |
| Circle2D | Translate (Vector2D inDelta, bool inInverse) |
| Translates the circle using the provided vector. | |
| Circle2D | Rotate (float inAngle, Point2D inCenter, bool inInverse=false) |
| Rotates the circle around a rotation center. | |
| Circle2D | Align (UCS2D inAlignment, bool inInverse) |
| Aligns the circle to a new coordinate system. | |
| Circle2D | Rescale (float inScale=1.0f, Optional< Point2D > inReferencePoint=null, bool inInverse=false) |
| Rescales the circle using the provided scale factor. | |
| Circle2D | Resize (float inRadiusDelta) |
| Adds a value to the circle radius. | |
Properties | |
| Point2D | Center = new Point2D(0.0f, 0.0f) [get, set] |
| float | Radius = 0.0f [get, set] |
Circle2D Basics | |
| |
| static bool | operator== (Circle2D inCircle2D1, Circle2D inCircle2D2) |
| static bool | operator!= (Circle2D inCircle2D1, Circle2D inCircle2D2) |
| static Circle2D | FromDiameter (Point2D inPoint1, Point2D inPoint2) |
| Creates a new Circle2D given its diameter as two points. | |
| static Circle2D | FromDiameter (Segment2D inDiameter) |
| Creates a new Circle2D given its diameter. | |
| static Circle2D | Deserialize (ByteBuffer inBuffer) |
| De-serialize a Circle2D buffer. | |
| Circle2D () | |
| Creates a Circle2D with default values. | |
| Circle2D (Point2D inCenter, float inRadius) | |
| Creates a new Circle2D given center and radius. | |
| Circle2D (float inX, float inY, float inRadius) | |
| Creates a new Circle2D given center coordinates and radius. | |
| Circle2D (int inX, int inY, int inRadius) | |
| Creates a new Circle2D given center coordinates and radius. | |
| Circle2D (Point2D inPoint, Anchor2D inPointAnchor, float inRadius) | |
| Creates a new Circle2D given the radius and an anchor point. | |
| Circle2D (Point2D inCenter, Point2D inPoint) | |
| Creates a new Circle2D given the center and a point on its circumference. | |
| ByteBuffer | Serialize () |
| Serializes the object. | |
The 2D representation of a circle on the Cartesian system.