|
oevislib_net
0.14.3.0
|
AnnotatedPoint2D Basics | |||||
| |||||
| static bool | oevislib_net.Geometry.AnnotatedPoint2D.operator< (AnnotatedPoint2D inAnnotatedPoint1, AnnotatedPoint2D inAnnotatedPoint2) | ||||
| Compare both point's coordinates using the 'less than' logical operator. | |||||
| static bool | oevislib_net.Geometry.AnnotatedPoint2D.operator> (AnnotatedPoint2D inAnnotatedPoint1, AnnotatedPoint2D inAnnotatedPoint2) | ||||
| Compare both point's coordinates using the 'greater than' logical operator. | |||||
| static bool | oevislib_net.Geometry.AnnotatedPoint2D.operator<= (AnnotatedPoint2D inAnnotatedPoint1, AnnotatedPoint2D inAnnotatedPoint2) | ||||
| |||||
| static bool | oevislib_net.Geometry.AnnotatedPoint2D.operator>= (AnnotatedPoint2D inAnnotatedPoint1, AnnotatedPoint2D inAnnotatedPoint2) | ||||
| |||||
| oevislib_net.Geometry.AnnotatedPoint2D.AnnotatedPoint2D () | |||||
| Creates an AnnotatedPoint2D in (0,0). | |||||
| oevislib_net.Geometry.AnnotatedPoint2D.AnnotatedPoint2D (Point2D inPoint, Point2D inAnnotation) | |||||
| Creates a new AnnotatedPoint2D given the coordinates. | |||||
| ByteBuffer | oevislib_net.Geometry.AnnotatedPoint2D.Serialize () | ||||
| Serializes the object. | |||||
| static AnnotatedPoint2D | oevislib_net.Geometry.AnnotatedPoint2D.Deserialize (ByteBuffer inBuffer) | ||||
| De-serialize a AnnotatedPoint2D buffer. | |||||
Arc2D Basics | |
| |
| oevislib_net.Geometry.Arc2D.Arc2D () | |
| Creates an Arc2D object with default values. | |
| oevislib_net.Geometry.Arc2D.Arc2D (float inX, float inY, float inRadius, float inStartAngle, float inSweepAngle) | |
| Creates a new Arc2D given center coordinates, radius, startAngle and sweepAngle. | |
| oevislib_net.Geometry.Arc2D.Arc2D (Point2D inCenter, float inRadius, float inStartAngle, float inSweepAngle) | |
| Creates a new Arc2D given center, radius, startAngle and sweepAngle. | |
| oevislib_net.Geometry.Arc2D.Arc2D (Point2D inPoint, Anchor2D inPointAnchor, float inRadius, float inStartAngle, float inSweepAngle) | |
| Creates a new Arc2D given radius, angles and anchor points. | |
| ByteBuffer | oevislib_net.Geometry.Arc2D.Serialize () |
| Serializes the object. | |
| static Arc2D | oevislib_net.Geometry.Arc2D.Deserialize (ByteBuffer inBuffer) |
| De-serialize an Arc2D buffer. | |
Box Basics | |
| |
| oevislib_net.Geometry.Box.Box () | |
| Creates a new empty box. | |
| oevislib_net.Geometry.Box.Box (int inX, int inY, int inWidth, int inHeight) | |
| Creates a new box, given the top-left corner, width and height. | |
| ByteBuffer | oevislib_net.Geometry.Box.Serialize () |
| Serializes the object. | |
| static Box | oevislib_net.Geometry.Box.Deserialize (ByteBuffer inBuffer) |
| De-serialize a Box buffer. | |
| int | oevislib_net.Geometry.Box.GetArea () |
| Returns the area of the box. | |
| Point2D | oevislib_net.Geometry.Box.GetCenter () |
| Returns the box's center point. | |
Circle2D Basics | |
| |
| oevislib_net.Geometry.Circle2D.Circle2D () | |
| Creates a Circle2D with default values. | |
| oevislib_net.Geometry.Circle2D.Circle2D (Point2D inCenter, float inRadius) | |
| Creates a new Circle2D given center and radius. | |
| oevislib_net.Geometry.Circle2D.Circle2D (float inX, float inY, float inRadius) | |
| Creates a new Circle2D given center coordinates and radius. | |
| oevislib_net.Geometry.Circle2D.Circle2D (int inX, int inY, int inRadius) | |
| Creates a new Circle2D given center coordinates and radius. | |
| oevislib_net.Geometry.Circle2D.Circle2D (Point2D inPoint, Anchor2D inPointAnchor, float inRadius) | |
| Creates a new Circle2D given the radius and an anchor point. | |
| oevislib_net.Geometry.Circle2D.Circle2D (Point2D inCenter, Point2D inPoint) | |
| Creates a new Circle2D given the center and a point on its circumference. | |
| static Circle2D | oevislib_net.Geometry.Circle2D.FromDiameter (Point2D inPoint1, Point2D inPoint2) |
| Creates a new Circle2D given its diameter as two points. | |
| static Circle2D | oevislib_net.Geometry.Circle2D.FromDiameter (Segment2D inDiameter) |
| Creates a new Circle2D given its diameter. | |
| ByteBuffer | oevislib_net.Geometry.Circle2D.Serialize () |
| Serializes the object. | |
| static Circle2D | oevislib_net.Geometry.Circle2D.Deserialize (ByteBuffer inBuffer) |
| De-serialize a Circle2D buffer. | |
Ellipse2D Basics | |
| |
| oevislib_net.Geometry.Ellipse2D.Ellipse2D () | |
| Creates an Ellipse2D with default values. | |
| oevislib_net.Geometry.Ellipse2D.Ellipse2D (Point2D inCenter, float inAngle, float inWidth, float inHeight) | |
| Creates a new Ellipse2D given center, angle, width and height. | |
| oevislib_net.Geometry.Ellipse2D.Ellipse2D (float inX, float inY, float inAngle, float inWidth, float inHeight) | |
| Creates a new Ellipse2D given center coordinates, angle, width and height. | |
| ByteBuffer | oevislib_net.Geometry.Ellipse2D.Serialize () |
| Serializes the object. | |
| static Ellipse2D | oevislib_net.Geometry.Ellipse2D.Deserialize (ByteBuffer inBuffer) |
| De-serialize an Ellipse2D buffer. | |
Line2D Basics | |
| |
| oevislib_net.Geometry.Line2D.Line2D () | |
| Creates a default Line2D. | |
| oevislib_net.Geometry.Line2D.Line2D (float inA, float inB, float inC) | |
| Creates a new Line2D from A, B and C values. | |
| oevislib_net.Geometry.Line2D.Line2D (Point2D inPoint1, Point2D inPoint2) | |
| Creates a new Line2D object passing through two points. | |
| oevislib_net.Geometry.Line2D.Line2D (Point2D inPoint, float inAngle) | |
| Creates a new Line2D object passing through a point and having the provided direction. | |
| float | oevislib_net.Geometry.Line2D.GetA () |
| Returns the coefficient A of the equation. | |
| float | oevislib_net.Geometry.Line2D.GetB () |
| Returns the coefficient B of the equation. | |
| float | oevislib_net.Geometry.Line2D.GetC () |
| Returns the coefficient C of the equation. | |
| void | oevislib_net.Geometry.Line2D.SetA (float inA) |
| Sets a new value for the coefficient A in the equation. | |
| void | oevislib_net.Geometry.Line2D.SetB (float inB) |
| Sets a new value for the coefficient B in the equation. | |
| void | oevislib_net.Geometry.Line2D.SetC (float inC) |
| Sets a new value for the coefficient C in the equation. | |
| void | oevislib_net.Geometry.Line2D.SetCoefficients (Optional< float > inA=null, Optional< float > inB=null, Optional< float > inC=null) |
| Set all the coefficients of the line. | |
| float | oevislib_net.Geometry.Line2D.GetM () |
| Returns the slope of the line. | |
| float | oevislib_net.Geometry.Line2D.GetQ () |
| Returns the intercept of the line. | |
| bool | oevislib_net.Geometry.Line2D.IsVertical () |
| Returns true if the line is vertical, false otherwise. | |
| bool | oevislib_net.Geometry.Line2D.IsHorizontal () |
| Returns true if the line is horizontal, false otherwise. | |
| bool | oevislib_net.Geometry.Line2D.HasSlope () |
| Returns true if the line is neither vertical nor horizontal. | |
| ByteBuffer | oevislib_net.Geometry.Line2D.Serialize () |
| Serializes the object. | |
| static Line2D | oevislib_net.Geometry.Line2D.Deserialize (ByteBuffer inBuffer) |
| De-serialize a Line2D buffer. | |
Point2D Basics | |||||
| |||||
| static Point2D | oevislib_net.Geometry.Point2D.operator+ (Point2D inPoint, Vector2D inVector) | ||||
| Sums the vector dimension to the point coordinates. | |||||
| static Point2D | oevislib_net.Geometry.Point2D.operator- (Point2D inPoint, Vector2D inVector) | ||||
| Subtracts the vector dimension to the point coordinates. | |||||
| static Point2D | oevislib_net.Geometry.Point2D.operator- (Point2D inPoint) | ||||
| |||||
| static Point2D | oevislib_net.Geometry.Point2D.operator* (Point2D inPoint, float inVector) | ||||
| Multiples the point coordinates by a scalar. | |||||
| static Point2D | oevislib_net.Geometry.Point2D.operator/ (Point2D inPoint, float inVector) | ||||
| Divides the point coordinates by a scalar. | |||||
| static Vector2D | oevislib_net.Geometry.Point2D.operator- (Point2D inPoint1, Point2D inPoint2) | ||||
| Subtracts both points coordinates. | |||||
| static bool | oevislib_net.Geometry.Point2D.operator< (Point2D inPoint1, Point2D inPoint2) | ||||
| Compare both coordinates using the 'less than' logical operator. | |||||
| static bool | oevislib_net.Geometry.Point2D.operator> (Point2D inPoint1, Point2D inPoint2) | ||||
| Compare both coordinates using the 'greater than' logical operator. | |||||
| static bool | oevislib_net.Geometry.Point2D.operator<= (Point2D inPoint1, Point2D inPoint2) | ||||
| |||||
| static bool | oevislib_net.Geometry.Point2D.operator>= (Point2D inPoint1, Point2D inPoint2) | ||||
| |||||
| oevislib_net.Geometry.Point2D.Point2D () | |||||
| Creates a Point2D in (0,0). | |||||
| oevislib_net.Geometry.Point2D.Point2D (float inX, float inY) | |||||
| Creates a new Point2D given the coordinates. | |||||
| oevislib_net.Geometry.Point2D.Point2D (int inX, int inY) | |||||
| Creates a new Point2D given the coordinates. | |||||
| oevislib_net.Geometry.Point2D.Point2D (float inX, int inY) | |||||
| Creates a new Point2D given a float and an integer. | |||||
| oevislib_net.Geometry.Point2D.Point2D (int inX, float inY) | |||||
| Creates a new Point2D given an integer and a float. | |||||
| ByteBuffer | oevislib_net.Geometry.Point2D.Serialize () | ||||
| Serializes the object. | |||||
| static Point2D | oevislib_net.Geometry.Point2D.Deserialize (ByteBuffer inBuffer) | ||||
| De-serialize a Point2D buffer. | |||||
Point2Di Basics | |||||
| |||||
| static Point2Di | oevislib_net.Geometry.Point2Di.operator+ (Point2Di inPoint1, Point2Di inPoint2) | ||||
| Sums points' coordinates. | |||||
| static Point2Di | oevislib_net.Geometry.Point2Di.operator- (Point2Di inPoint1, Point2Di inPoint2) | ||||
| Subtracts points' coordinates. | |||||
| static bool | oevislib_net.Geometry.Point2Di.operator< (Point2Di inPoint1, Point2Di inPoint2) | ||||
| Compare both coordinates using the 'less than' logical operator. | |||||
| static bool | oevislib_net.Geometry.Point2Di.operator> (Point2Di inPoint1, Point2Di inPoint2) | ||||
| Compare both coordinates using the 'greater than' logical operator. | |||||
| static bool | oevislib_net.Geometry.Point2Di.operator<= (Point2Di inPoint1, Point2Di inPoint2) | ||||
| |||||
| static bool | oevislib_net.Geometry.Point2Di.operator>= (Point2Di inPoint1, Point2Di inPoint2) | ||||
| |||||
| oevislib_net.Geometry.Point2Di.Point2Di () | |||||
| Creates a new Point2Di object, with (0,0) coordinates. | |||||
| oevislib_net.Geometry.Point2Di.Point2Di (int inX, int inY) | |||||
| Creates a new Point2Di object using the provided coordinates. | |||||
| ByteBuffer | oevislib_net.Geometry.Point2Di.Serialize () | ||||
| Serializes Point2Di object. | |||||
| static Point2Di | oevislib_net.Geometry.Point2Di.Deserialize (ByteBuffer inBuffer) | ||||
| De-serialize a Point2Di buffer. | |||||
Rectangle2D Basics | |
| |
| oevislib_net.Geometry.Rectangle2D.Rectangle2D () | |
| Creates a Rectangle2D with default values. | |
| oevislib_net.Geometry.Rectangle2D.Rectangle2D (Point2D inOrigin, float inAngle, float inWidth, float inHeight) | |
| Creates a new Rectangle2D given origin, angle, width and height. | |
| oevislib_net.Geometry.Rectangle2D.Rectangle2D (float inX, float inY, float inAngle, float inWidth, float inHeight) | |
| Creates a new Rectangle2D given origin coordinates, angle, width and height. | |
| oevislib_net.Geometry.Rectangle2D.Rectangle2D (Point2D inPoint, Anchor2D inPointAnchor, float inAngle, float inWidth, float inHeight) | |
| Creates a new Rectangle2D using the provided anchor point. | |
| oevislib_net.Geometry.Rectangle2D.Rectangle2D (Point2D inOrigin, Point2D inPoint, float inAngle) | |
| Creates a new Rectangle2D given its origin, the opposite point and the angle. | |
| ByteBuffer | oevislib_net.Geometry.Rectangle2D.Serialize () |
| Serializes the object. | |
| static Rectangle2D | oevislib_net.Geometry.Rectangle2D.Deserialize (ByteBuffer inBuffer) |
| De-serialize a Rectangle2D buffer. | |
Ring2D Basics | |
| |
| oevislib_net.Geometry.Ring2D.Ring2D () | |
| Creates a new Ring2D with default values. | |
| oevislib_net.Geometry.Ring2D.Ring2D (float inX, float inY, float inRadius1, float inRadius2) | |
| Creates a new Ring2D given center coordinates and radii. | |
| oevislib_net.Geometry.Ring2D.Ring2D (Point2D inCenter, float inRadius1, float inRadius2) | |
| Creates a new Ring2D given center and radii. | |
| oevislib_net.Geometry.Ring2D.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. | |
| oevislib_net.Geometry.Ring2D.Ring2D (Circle2D inCircle, float inRingWidth, BorderPosition inBorderPosition) | |
| Creates a new Ring2D given a circle and border width. | |
| ByteBuffer | oevislib_net.Geometry.Ring2D.Serialize () |
| Serializes the object. | |
| static Ring2D | oevislib_net.Geometry.Ring2D.Deserialize (ByteBuffer inBuffer) |
| De-serialize a Ring2D buffer. | |
Segment2D Basics | |
| |
| oevislib_net.Geometry.Segment2D.Segment2D () | |
| Creates a new Segment2D object where both points are (0, 0). | |
| oevislib_net.Geometry.Segment2D.Segment2D (Point2D inPoint1, Point2D inPoint2) | |
| Creates a new Segment2D object using the provided points. | |
| oevislib_net.Geometry.Segment2D.Segment2D (float inX1, float inY1, float inX2, float inY2) | |
| Creates a new Segment2D using the provided points coordinates. | |
| oevislib_net.Geometry.Segment2D.Segment2D (Point2D inPoint, float inDirection, float inLength, float inPointAnchor=0.5f) | |
| Creates a new Segment2D given direction, length and a contained point. | |
| bool | oevislib_net.Geometry.Segment2D.IsHorizontal () |
| Returns true if the segment is horizontal, false otherwise. | |
| bool | oevislib_net.Geometry.Segment2D.IsVertical () |
| Returns true if the segment is vertical, false otherwise. | |
| bool | oevislib_net.Geometry.Segment2D.HasSlope () |
| Returns true if the segment is neither horizontal nor vertical, false otherwise. | |
| float | oevislib_net.Geometry.Segment2D.GetSlope () |
| Returns the slope of the segment. | |
| float | oevislib_net.Geometry.Segment2D.GetDirection () |
| Returns the segment direction. | |
| ByteBuffer | oevislib_net.Geometry.Segment2D.Serialize () |
| Serializes the object. | |
| static Segment2D | oevislib_net.Geometry.Segment2D.Deserialize (ByteBuffer inBuffer) |
| De-serialize a Segment2D buffer. | |
UCS2D Basics | |
| |
| oevislib_net.Geometry.UCS2D.UCS2D () | |
| Creates the default UCS2D with default values. | |
| oevislib_net.Geometry.UCS2D.UCS2D (Point2D inOrigin, float inAngle=0.0f, float inScale=1.0f) | |
| Creates a new UCS2D given origin, angle and scale. | |
| oevislib_net.Geometry.UCS2D.UCS2D (Vector2D inDelta, float inAngle, float inScale=1.0f) | |
| Creates a new UCS2D given a translation vector, angle and scale. | |
| oevislib_net.Geometry.UCS2D.UCS2D (float inX, float inY, float inAngle, float inScale=1.0f) | |
| Creates a new UCS2D given origin coordinates, angle and scale. | |
| oevislib_net.Geometry.UCS2D.UCS2D (Point2D inPoint1, Point2D inPoint2, float inAngle, float inScale=1.0f, float inScaleDivisor=1.0f) | |
| Creates a new UCS2D given two points on its axes. | |
| oevislib_net.Geometry.UCS2D.UCS2D (Rectangle2D inRectangle, float inRelativeAngle, float inScale=1.0f, float inScaleDivisor=1.0f, Anchor2D inPointAnchor=Anchor2D.TopLeft) | |
| Creates a new UCS2D from a reference rectangle. | |
| oevislib_net.Geometry.UCS2D.UCS2D (Segment2D inSegment, float inRelativeAngle, float inScale=1.0f, float inScaleDivisor=1.0f, float inPointAnchor=0.0f) | |
| Creates a new UCS2D from a reference segment. | |
| ByteBuffer | oevislib_net.Geometry.UCS2D.Serialize () |
| Serializes the object. | |
| static UCS2D | oevislib_net.Geometry.UCS2D.Deserialize (ByteBuffer inBuffer) |
| De-serialize a UCS2D buffer. | |
Vector2D Basics | |
| |
| static Vector2D | oevislib_net.Geometry.Vector2D.operator- (Vector2D inVector) |
| Returns a new vector rotated by 180 deg. | |
| static Vector2D | oevislib_net.Geometry.Vector2D.operator* (Vector2D inVector, float inValue) |
| Multiplies the vector coordinates by a scalar. | |
| static Vector2D | oevislib_net.Geometry.Vector2D.operator* (float inValue, Vector2D inVector) |
| Multiplies the vector coordinates by a scalar. | |
| static Vector2D | oevislib_net.Geometry.Vector2D.operator+ (Vector2D inVector1, Vector2D inVector2) |
| Sums both vector dimensions. | |
| static Vector2D | oevislib_net.Geometry.Vector2D.operator- (Vector2D inVector1, Vector2D inVector2) |
| Subtracts both vector dimensions. | |
| oevislib_net.Geometry.Vector2D.Vector2D () | |
| Creates a default Vector2D with length 0. | |
| oevislib_net.Geometry.Vector2D.Vector2D (int inDeltaX, int inDeltaY) | |
| Creates a new Vector2D given its dimensions. | |
| oevislib_net.Geometry.Vector2D.Vector2D (float inDeltaX, float inDeltaY) | |
| Creates a new Vector2D given its dimensions. | |
| oevislib_net.Geometry.Vector2D.Vector2D (Point2D inFrom, Point2D inTo) | |
| Creates a new Vector2D using the provided points. | |
| ByteBuffer | oevislib_net.Geometry.Vector2D.Serialize () |
| Serializes the object. | |
| static Vector2D | oevislib_net.Geometry.Vector2D.Deserialize (ByteBuffer inBuffer) |
| De-serialize a Vector2D buffer. | |
| static float | oevislib_net.Geometry.Vector2D.CrossProduct (Vector2D inVector1, Vector2D inVector2) |
| Returns the cross product of two vectors. | |
| static float | oevislib_net.Geometry.Vector2D.DotProduct (Vector2D inVector1, Vector2D inVector2) |
| Returns the dot product of two vectors. | |
|
inline |
Creates an AnnotatedPoint2D in (0,0).
|
inline |
Creates a new AnnotatedPoint2D given the coordinates.
| inPoint | X coordinate. |
| inAnnotation | Y coordinate. |
|
inline |
Creates an Arc2D object with default values.
|
inline |
Creates a new Arc2D given center coordinates, radius, startAngle and sweepAngle.
| inX | X coordinate of the center point. |
| inY | Y coordinate of the center point. |
| inRadius | Input radius. |
| inStartAngle | Input start angle. |
| inSweepAngle | Input sweep angle. |
|
inline |
Creates a new Arc2D given center, radius, startAngle and sweepAngle.
| inCenter | Input center. |
| inRadius | Input radius. |
| inStartAngle | Input start angle. |
| inSweepAngle | Input sweep angle. |
|
inline |
Creates a new Arc2D given radius, angles and anchor points.
| inPoint | Input point. |
| inPointAnchor | Input point alignment with respect to arc's bounding box. |
| inRadius | Input radius. |
| inStartAngle | Input start angle. |
| inSweepAngle | Input sweep angle. |
|
inline |
Creates a new empty box.
|
inline |
Creates a new box, given the top-left corner, width and height.
| inX | X coordinate of the top-left corner. |
| inY | Y coordinate of the top-right corner. |
| inWidth | Width. Range: [0, +inf). |
| inHeight | Height. Range: [0, +inf). |
|
inline |
Creates a Circle2D with default values.
|
inline |
Creates a new Circle2D given center coordinates and radius.
| inX | X coordinate of the center point. |
| inY | Y coordinate of the center point. |
| inRadius | Input radius. Range: [0, +inf). |
|
inline |
Creates a new Circle2D given center coordinates and radius.
| inX | X coordinate of the center point. |
| inY | Y coordinate of the center point. |
| inRadius | Input radius. Range: [0, +inf). |
|
inline |
Creates a new Circle2D given center and radius.
| inCenter | Input center. |
| inRadius | Input radius. Range: [0, +inf). |
Creates a new Circle2D given the center and a point on its circumference.
| inCenter | Circle's center. |
| inPoint | A point on the object circumference. |
|
inline |
Creates a new Circle2D given the radius and an anchor point.
| inPoint | Input point. |
| inPointAnchor | Input point alignment with respect to circle's bounding box. |
| inRadius | Input radius. Range: [0, +inf). |
|
inlinestatic |
Returns the cross product of two vectors.
| inVector1 | First vector. |
| inVector2 | Second vector. |
|
inlinestatic |
De-serialize a AnnotatedPoint2D buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
De-serialize an Arc2D buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
De-serialize a Box buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
De-serialize a Circle2D buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
De-serialize an Ellipse2D buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
De-serialize a Line2D buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
De-serialize a Point2D buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
De-serialize a Point2Di buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
De-serialize a Rectangle2D buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
De-serialize a Ring2D buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
De-serialize a Segment2D buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
De-serialize a UCS2D buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
De-serialize a Vector2D buffer.
| inBuffer | Buffer containing the object. |
|
inlinestatic |
Returns the dot product of two vectors.
| inVector1 | First vector. |
| inVector2 | Second vector. |
|
inline |
Creates an Ellipse2D with default values.
|
inline |
Creates a new Ellipse2D given center coordinates, angle, width and height.
| inX | X coordinate of the center point. |
| inY | Y coordinate of the center point. |
| inAngle | Input orientation [deg]. |
| inWidth | Input width. Range: [0, +inf). |
| inHeight | Input height. Range: [0, +inf). |
|
inline |
Creates a new Ellipse2D given center, angle, width and height.
| inCenter | Input center. |
| inAngle | Input orientation [deg]. |
| inWidth | Input width. Range: [0, +inf). |
| inHeight | Input height. Range: [0, +inf). |
|
inlinestatic |
Creates a new Circle2D given its diameter as two points.
| inPoint1 | First point of the diameter. |
| inPoint2 | Second point of the diameter. |
Creates a new Circle2D given its diameter.
| inDiameter | Circle's diameter. |
|
inline |
Returns the coefficient A of the equation.
|
inline |
Returns the area of the box.
|
inline |
Returns the coefficient B of the equation.
|
inline |
Returns the coefficient C of the equation.
|
inline |
Returns the box's center point.
|
inline |
Returns the segment direction.
|
inline |
Returns the slope of the line.
|
inline |
Returns the intercept of the line.
|
inline |
Returns the slope of the segment.
If the segment is vertical, returns NaN.
|
inline |
Returns true if the line is neither vertical nor horizontal.
|
inline |
Returns true if the segment is neither horizontal nor vertical, false otherwise.
|
inline |
Returns true if the line is horizontal, false otherwise.
|
inline |
Returns true if the segment is horizontal, false otherwise.
|
inline |
Returns true if the line is vertical, false otherwise.
|
inline |
Returns true if the segment is vertical, false otherwise.
|
inline |
Creates a default Line2D.
|
inline |
Creates a new Line2D from A, B and C values.
| inA | Input A coefficient. |
| inB | Input B coefficient. |
| inC | Input C coefficient. |
|
inline |
Creates a new Line2D object passing through a point and having the provided direction.
| inPoint | Reference point. |
| inAngle | Line angle inclination [deg]. |
Creates a new Line2D object passing through two points.
| inPoint1 | First point. |
| inPoint2 | Second point. |
Multiples the point coordinates by a scalar.
| inPoint | Point. |
| inVector | Vector. |
Multiplies the vector coordinates by a scalar.
| inValue | Multiplier. |
| inVector | Vector object. |
Multiplies the vector coordinates by a scalar.
| inVector | Vector object. |
| inValue | Multiplier. |
Sums the vector dimension to the point coordinates.
| inPoint | Point. |
| inVector | Vector. |
|
inlinestatic |
Sums points' coordinates.
| inPoint1 | First point. |
| inPoint2 | Second point. |
|
inlinestatic |
Sums both vector dimensions.
| inVector1 | First vector. |
| inVector2 | Second vector. |
Subtracts the vector dimension to the point coordinates.
| inPoint | Point. |
| inVector | Vector. |
|
inlinestatic |
Subtracts both points coordinates.
| inPoint1 | First point. |
| inPoint2 | Second point. |
|
inlinestatic |
Subtracts points' coordinates.
| inPoint1 | First point. |
| inPoint2 | Second point. |
Returns a new vector rotated by 180 deg.
| inVector |
|
inlinestatic |
Subtracts both vector dimensions.
| inVector1 | First vector. |
| inVector2 | Second vector. |
Divides the point coordinates by a scalar.
| inPoint | Point. |
| inVector | Vector. |
|
inlinestatic |
Compare both point's coordinates using the 'less than' logical operator.
| inAnnotatedPoint1 | First annotated point. |
| inAnnotatedPoint2 | Second annotated point. |
Compare both coordinates using the 'less than' logical operator.
| inPoint1 | First point. |
| inPoint2 | Second point. |
Compare both coordinates using the 'less than' logical operator.
| inPoint1 | First point. |
| inPoint2 | Second point. |
|
inlinestatic |
| inAnnotatedPoint1 | |
| inAnnotatedPoint2 |
| inPoint1 | |
| inPoint2 |
|
inlinestatic |
| inPoint1 | |
| inPoint2 |
|
inlinestatic |
Compare both point's coordinates using the 'greater than' logical operator.
| inAnnotatedPoint1 | First annotated point. |
| inAnnotatedPoint2 | Second annotated point. |
Compare both coordinates using the 'greater than' logical operator.
| inPoint1 | First point. |
| inPoint2 | Second point. |
Compare both coordinates using the 'greater than' logical operator.
| inPoint1 | First point. |
| inPoint2 | Second point. |
|
inlinestatic |
| inAnnotatedPoint1 | |
| inAnnotatedPoint2 |
| inPoint1 | |
| inPoint2 |
|
inlinestatic |
| inPoint1 | |
| inPoint2 |
|
inline |
Creates a Point2D in (0,0).
|
inline |
Creates a new Point2D given the coordinates.
| inX | X coordinate. |
| inY | Y coordinate. |
|
inline |
Creates a new Point2D given a float and an integer.
| inX | X coordinate. |
| inY | Y coordinate. |
|
inline |
Creates a new Point2D given an integer and a float.
| inX | X coordinate. |
| inY | Y coordinate. |
|
inline |
Creates a new Point2D given the coordinates.
| inX | X coordinate. |
| inY | Y coordinate. |
|
inline |
Creates a new Point2Di object, with (0,0) coordinates.
|
inline |
Creates a new Point2Di object using the provided coordinates.
| inX | X coordinate. |
| inY | Y coordinate. |
|
inline |
Creates a Rectangle2D with default values.
|
inline |
Creates a new Rectangle2D given origin coordinates, angle, width and height.
| inX | X coordinate of the origin point. |
| inY | Y coordinate of the origin point. |
| inAngle | Input orientation angle [deg]. |
| inWidth | Input width. Range: [0, +inf). |
| inHeight | Input height. Range: [0, +inf). |
|
inline |
Creates a new Rectangle2D given origin, angle, width and height.
| inOrigin | Input origin. |
| inAngle | Input orientation angle [deg]. |
| inWidth | Input width. Range: [0, +inf). |
| inHeight | Input height. Range: [0, +inf). |
|
inline |
Creates a new Rectangle2D given its origin, the opposite point and the angle.
| inOrigin | Rectangle's origin. |
| inPoint | Rectangle's corner opposite to the origin. |
| inAngle | Input orientation angle [deg]. |
|
inline |
Creates a new Rectangle2D using the provided anchor point.
| inPoint | Input point. |
| inPointAnchor | Position of input point. |
| inAngle | Input orientation angle [deg]. |
| inWidth | Input width. Range: [0, +inf). |
| inHeight | Input height. Range: [0, +inf). |
|
inline |
Creates a new Ring2D with default values.
|
inline |
Creates a new Ring2D given a circle and border width.
| inCircle | Input circle. |
| inRingWidth | Ring width. Range: [0, +inf). |
| inBorderPosition | Border position. |
|
inline |
Creates a new Ring2D given center coordinates and radii.
| inX | X coordinate of the center point. |
| inY | Y coordinate of the center point. |
| inRadius1 | Inner radius. Range: [0, +inf). |
| inRadius2 | Outer radius. Range: [0, +inf). |
|
inline |
Creates a new Ring2D given center and radii.
| inCenter | Center point. |
| inRadius1 | Inner radius. Range: [0, +inf). |
| inRadius2 | Outer radius. Range: [0, +inf). |
|
inline |
Creates a new Ring2D given a point and its position relative to the ring bounding box.
| inPoint | Input point. |
| inPointAnchor | Point anchor. |
| inInnerRadius | Internal radius. Range: [0, +inf). |
| inOuterRadius | External radius. Range: [0, +inf). |
|
inline |
Creates a new Segment2D object where both points are (0, 0).
|
inline |
Creates a new Segment2D using the provided points coordinates.
| inX1 | X coordinate of the starting point. |
| inY1 | Y coordinate of the starting point. |
| inX2 | X coordinate of the ending point. |
| inY2 | Y coordinate of the ending point. |
|
inline |
Creates a new Segment2D given direction, length and a contained point.
| inPoint | Input point. |
| inDirection | Segment direction. |
| inLength | Segment length. Range: [0, +inf). |
| inPointAnchor | Position of the point in the segment. If 0, the point is the starting point while, if 1, the point is the end point. |
Creates a new Segment2D object using the provided points.
| inPoint1 | Starting point. |
| inPoint2 | Ending point. |
|
inline |
Serializes the object.
|
inline |
Serializes the object.
|
inline |
Serializes the object.
|
inline |
Serializes the object.
|
inline |
Serializes the object.
|
inline |
Serializes the object.
|
inline |
Serializes the object.
|
inline |
Serializes Point2Di object.
|
inline |
Serializes the object.
|
inline |
Serializes the object.
|
inline |
Serializes the object.
|
inline |
Serializes the object.
|
inline |
Serializes the object.
|
inline |
Sets a new value for the coefficient A in the equation.
| inA | New A. |
|
inline |
Sets a new value for the coefficient B in the equation.
| inB | New B. |
|
inline |
Sets a new value for the coefficient C in the equation.
| inC | New C. |
|
inline |
Set all the coefficients of the line.
| inA | Input A coefficient. |
| inB | Input B coefficient. |
| inC | Input C coefficient. |
|
inline |
Creates the default UCS2D with default values.
|
inline |
Creates a new UCS2D given origin coordinates, angle and scale.
| inX | X coordinate of the origin point. |
| inY | Y coordinate of the origin point. |
| inAngle | Input orientation [deg]. |
| inScale | Input scale. Range: (0, +inf). |
|
inline |
Creates a new UCS2D given origin, angle and scale.
| inOrigin | Input origin. |
| inAngle | Input orientation [deg]. |
| inScale | Input scale. Range: (0, +inf). |
|
inline |
Creates a new UCS2D given two points on its axes.
| inPoint1 | First point. |
| inPoint2 | Second point. |
| inAngle | Input orientation [deg]. |
| inScale | Relative scale. Range: (0, +inf). |
| inScaleDivisor | Scale divisor. Range: (0, +inf). |
|
inline |
Creates a new UCS2D from a reference rectangle.
| inRectangle | Input reference rectangle. |
| inRelativeAngle | Relative angle [deg]. |
| inScale | Input scale. Range: (0, +inf). |
| inScaleDivisor | Scale divisor. Range: (0, +inf). |
| inPointAnchor | Relative position of the rectangle origin with respect to the coordinate system origin. |
|
inline |
Creates a new UCS2D from a reference segment.
| inSegment | Reference segment. |
| inRelativeAngle | Relative angle [deg]. |
| inScale | Coordinate system scale. Range: (0, +inf). |
| inScaleDivisor | Scale divisor. Range: (0, +inf). |
| inPointAnchor | Relative position of the coordinate system origin between the segment points. Range [0, 1]. |
|
inline |
Creates a new UCS2D given a translation vector, angle and scale.
| inDelta | Shift from (0,0). |
| inAngle | Input orientation [deg]. |
| inScale | Input scale. Range: (0, +inf). |
|
inline |
Creates a default Vector2D with length 0.
|
inline |
Creates a new Vector2D given its dimensions.
| inDeltaX | Vector length along the X axis. |
| inDeltaY | Vector length along the Y axis. |
|
inline |
Creates a new Vector2D given its dimensions.
| inDeltaX | Vector length along the X axis. |
| inDeltaY | Vector length along the Y axis. |