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

AnnotatedPoint2D Basics

See also
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)
 
Parameters
inAnnotatedPoint1
inAnnotatedPoint2

static bool oevislib_net.Geometry.AnnotatedPoint2D.operator>= (AnnotatedPoint2D inAnnotatedPoint1, AnnotatedPoint2D inAnnotatedPoint2)
 
Parameters
inAnnotatedPoint1
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

See also
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

See also
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

See also
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

See also
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

See also
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

See also
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)
 
Parameters
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)
 
Parameters
inPoint1
inPoint2

static bool oevislib_net.Geometry.Point2D.operator>= (Point2D inPoint1, Point2D inPoint2)
 
Parameters
inPoint1
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

See also
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)
 
Parameters
inPoint1
inPoint2

static bool oevislib_net.Geometry.Point2Di.operator>= (Point2Di inPoint1, Point2Di inPoint2)
 
Parameters
inPoint1
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

See also
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

See also
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

See also
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

See also
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

See also
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.

Detailed Description

Function Documentation

◆ AnnotatedPoint2D() [1/2]

oevislib_net.Geometry.AnnotatedPoint2D.AnnotatedPoint2D ( )
inline

Creates an AnnotatedPoint2D in (0,0).

◆ AnnotatedPoint2D() [2/2]

oevislib_net.Geometry.AnnotatedPoint2D.AnnotatedPoint2D ( Point2D inPoint,
Point2D inAnnotation )
inline

Creates a new AnnotatedPoint2D given the coordinates.

Parameters
inPointX coordinate.
inAnnotationY coordinate.

◆ Arc2D() [1/4]

oevislib_net.Geometry.Arc2D.Arc2D ( )
inline

Creates an Arc2D object with default values.

◆ Arc2D() [2/4]

oevislib_net.Geometry.Arc2D.Arc2D ( float inX,
float inY,
float inRadius,
float inStartAngle,
float inSweepAngle )
inline

Creates a new Arc2D given center coordinates, radius, startAngle and sweepAngle.

Parameters
inXX coordinate of the center point.
inYY coordinate of the center point.
inRadiusInput radius.
inStartAngleInput start angle.
inSweepAngleInput sweep angle.

◆ Arc2D() [3/4]

oevislib_net.Geometry.Arc2D.Arc2D ( Point2D inCenter,
float inRadius,
float inStartAngle,
float inSweepAngle )
inline

Creates a new Arc2D given center, radius, startAngle and sweepAngle.

Parameters
inCenterInput center.
inRadiusInput radius.
inStartAngleInput start angle.
inSweepAngleInput sweep angle.

◆ Arc2D() [4/4]

oevislib_net.Geometry.Arc2D.Arc2D ( Point2D inPoint,
Anchor2D inPointAnchor,
float inRadius,
float inStartAngle,
float inSweepAngle )
inline

Creates a new Arc2D given radius, angles and anchor points.

Parameters
inPointInput point.
inPointAnchorInput point alignment with respect to arc's bounding box.
inRadiusInput radius.
inStartAngleInput start angle.
inSweepAngleInput sweep angle.

◆ Box() [1/2]

oevislib_net.Geometry.Box.Box ( )
inline

Creates a new empty box.

◆ Box() [2/2]

oevislib_net.Geometry.Box.Box ( int inX,
int inY,
int inWidth,
int inHeight )
inline

Creates a new box, given the top-left corner, width and height.

Parameters
inXX coordinate of the top-left corner.
inYY coordinate of the top-right corner.
inWidthWidth. Range: [0, +inf).
inHeightHeight. Range: [0, +inf).

◆ Circle2D() [1/6]

oevislib_net.Geometry.Circle2D.Circle2D ( )
inline

Creates a Circle2D with default values.

◆ Circle2D() [2/6]

oevislib_net.Geometry.Circle2D.Circle2D ( float inX,
float inY,
float inRadius )
inline

Creates a new Circle2D given center coordinates and radius.

Parameters
inXX coordinate of the center point.
inYY coordinate of the center point.
inRadiusInput radius. Range: [0, +inf).

◆ Circle2D() [3/6]

oevislib_net.Geometry.Circle2D.Circle2D ( int inX,
int inY,
int inRadius )
inline

Creates a new Circle2D given center coordinates and radius.

Parameters
inXX coordinate of the center point.
inYY coordinate of the center point.
inRadiusInput radius. Range: [0, +inf).

◆ Circle2D() [4/6]

oevislib_net.Geometry.Circle2D.Circle2D ( Point2D inCenter,
float inRadius )
inline

Creates a new Circle2D given center and radius.

Parameters
inCenterInput center.
inRadiusInput radius. Range: [0, +inf).

◆ Circle2D() [5/6]

oevislib_net.Geometry.Circle2D.Circle2D ( Point2D inCenter,
Point2D inPoint )
inline

Creates a new Circle2D given the center and a point on its circumference.

Parameters
inCenterCircle's center.
inPointA point on the object circumference.

◆ Circle2D() [6/6]

oevislib_net.Geometry.Circle2D.Circle2D ( Point2D inPoint,
Anchor2D inPointAnchor,
float inRadius )
inline

Creates a new Circle2D given the radius and an anchor point.

Parameters
inPointInput point.
inPointAnchorInput point alignment with respect to circle's bounding box.
inRadiusInput radius. Range: [0, +inf).

◆ CrossProduct()

float oevislib_net.Geometry.Vector2D.CrossProduct ( Vector2D inVector1,
Vector2D inVector2 )
inlinestatic

Returns the cross product of two vectors.

Parameters
inVector1First vector.
inVector2Second vector.
Returns
Cross product.

◆ Deserialize() [1/13]

AnnotatedPoint2D oevislib_net.Geometry.AnnotatedPoint2D.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a AnnotatedPoint2D buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Deserialize() [2/13]

Arc2D oevislib_net.Geometry.Arc2D.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize an Arc2D buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Deserialize() [3/13]

Box oevislib_net.Geometry.Box.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a Box buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Deserialize() [4/13]

Circle2D oevislib_net.Geometry.Circle2D.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a Circle2D buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Deserialize() [5/13]

Ellipse2D oevislib_net.Geometry.Ellipse2D.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize an Ellipse2D buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Deserialize() [6/13]

Line2D oevislib_net.Geometry.Line2D.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a Line2D buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Deserialize() [7/13]

Point2D oevislib_net.Geometry.Point2D.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a Point2D buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Deserialize() [8/13]

Point2Di oevislib_net.Geometry.Point2Di.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a Point2Di buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Deserialize() [9/13]

Rectangle2D oevislib_net.Geometry.Rectangle2D.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a Rectangle2D buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Deserialize() [10/13]

Ring2D oevislib_net.Geometry.Ring2D.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a Ring2D buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Deserialize() [11/13]

Segment2D oevislib_net.Geometry.Segment2D.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a Segment2D buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Deserialize() [12/13]

UCS2D oevislib_net.Geometry.UCS2D.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a UCS2D buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ Deserialize() [13/13]

Vector2D oevislib_net.Geometry.Vector2D.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize a Vector2D buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ DotProduct()

float oevislib_net.Geometry.Vector2D.DotProduct ( Vector2D inVector1,
Vector2D inVector2 )
inlinestatic

Returns the dot product of two vectors.

Parameters
inVector1First vector.
inVector2Second vector.
Returns
Dot product.

◆ Ellipse2D() [1/3]

oevislib_net.Geometry.Ellipse2D.Ellipse2D ( )
inline

Creates an Ellipse2D with default values.

◆ Ellipse2D() [2/3]

oevislib_net.Geometry.Ellipse2D.Ellipse2D ( float inX,
float inY,
float inAngle,
float inWidth,
float inHeight )
inline

Creates a new Ellipse2D given center coordinates, angle, width and height.

Parameters
inXX coordinate of the center point.
inYY coordinate of the center point.
inAngleInput orientation [deg].
inWidthInput width. Range: [0, +inf).
inHeightInput height. Range: [0, +inf).

◆ Ellipse2D() [3/3]

oevislib_net.Geometry.Ellipse2D.Ellipse2D ( Point2D inCenter,
float inAngle,
float inWidth,
float inHeight )
inline

Creates a new Ellipse2D given center, angle, width and height.

Parameters
inCenterInput center.
inAngleInput orientation [deg].
inWidthInput width. Range: [0, +inf).
inHeightInput height. Range: [0, +inf).

◆ FromDiameter() [1/2]

Circle2D oevislib_net.Geometry.Circle2D.FromDiameter ( Point2D inPoint1,
Point2D inPoint2 )
inlinestatic

Creates a new Circle2D given its diameter as two points.

Parameters
inPoint1First point of the diameter.
inPoint2Second point of the diameter.
Returns
The computed circle.

◆ FromDiameter() [2/2]

Circle2D oevislib_net.Geometry.Circle2D.FromDiameter ( Segment2D inDiameter)
inlinestatic

Creates a new Circle2D given its diameter.

Parameters
inDiameterCircle's diameter.
Returns
The computed circle.

◆ GetA()

float oevislib_net.Geometry.Line2D.GetA ( )
inline

Returns the coefficient A of the equation.

Returns
A.

◆ GetArea()

int oevislib_net.Geometry.Box.GetArea ( )
inline

Returns the area of the box.

Returns
Box's area.

◆ GetB()

float oevislib_net.Geometry.Line2D.GetB ( )
inline

Returns the coefficient B of the equation.

Returns
B.

◆ GetC()

float oevislib_net.Geometry.Line2D.GetC ( )
inline

Returns the coefficient C of the equation.

Returns
C.

◆ GetCenter()

Point2D oevislib_net.Geometry.Box.GetCenter ( )
inline

Returns the box's center point.

Returns
Box's center.

◆ GetDirection()

float oevislib_net.Geometry.Segment2D.GetDirection ( )
inline

Returns the segment direction.

Returns
Direction angle in the range [0, 360] [deg].

◆ GetM()

float oevislib_net.Geometry.Line2D.GetM ( )
inline

Returns the slope of the line.

Returns
The slope coefficient if the line is either horizontal or diagonal. The function returns NaN if the line is vertical.

◆ GetQ()

float oevislib_net.Geometry.Line2D.GetQ ( )
inline

Returns the intercept of the line.

Returns
The intercept on the y-axis if the line is either horizontal or diagonal. The function returns the x-axis intercept if the line is vertical.

◆ GetSlope()

float oevislib_net.Geometry.Segment2D.GetSlope ( )
inline

Returns the slope of the segment.

If the segment is vertical, returns NaN.

Returns
Slope of the segment.

◆ HasSlope() [1/2]

bool oevislib_net.Geometry.Line2D.HasSlope ( )
inline

Returns true if the line is neither vertical nor horizontal.

Returns
True if the line is neither vertical nor horizontal, false otherwise.

◆ HasSlope() [2/2]

bool oevislib_net.Geometry.Segment2D.HasSlope ( )
inline

Returns true if the segment is neither horizontal nor vertical, false otherwise.

Returns
True if the segment is neither horizontal nor vertical, false otherwise.

◆ IsHorizontal() [1/2]

bool oevislib_net.Geometry.Line2D.IsHorizontal ( )
inline

Returns true if the line is horizontal, false otherwise.

Returns
True if the line is horizontal, false otherwise.

◆ IsHorizontal() [2/2]

bool oevislib_net.Geometry.Segment2D.IsHorizontal ( )
inline

Returns true if the segment is horizontal, false otherwise.

Returns
True if the segment is horizontal, false otherwise.

◆ IsVertical() [1/2]

bool oevislib_net.Geometry.Line2D.IsVertical ( )
inline

Returns true if the line is vertical, false otherwise.

Returns
True if the line is vertical, false otherwise.

◆ IsVertical() [2/2]

bool oevislib_net.Geometry.Segment2D.IsVertical ( )
inline

Returns true if the segment is vertical, false otherwise.

Returns
True if the segment is vertical, false otherwise.

◆ Line2D() [1/4]

oevislib_net.Geometry.Line2D.Line2D ( )
inline

Creates a default Line2D.

◆ Line2D() [2/4]

oevislib_net.Geometry.Line2D.Line2D ( float inA,
float inB,
float inC )
inline

Creates a new Line2D from A, B and C values.

Parameters
inAInput A coefficient.
inBInput B coefficient.
inCInput C coefficient.

◆ Line2D() [3/4]

oevislib_net.Geometry.Line2D.Line2D ( Point2D inPoint,
float inAngle )
inline

Creates a new Line2D object passing through a point and having the provided direction.

Parameters
inPointReference point.
inAngleLine angle inclination [deg].

◆ Line2D() [4/4]

oevislib_net.Geometry.Line2D.Line2D ( Point2D inPoint1,
Point2D inPoint2 )
inline

Creates a new Line2D object passing through two points.

Parameters
inPoint1First point.
inPoint2Second point.

◆ operator*() [1/3]

Point2D oevislib_net.Geometry.Point2D.operator* ( Point2D inPoint,
float inVector )
inlinestatic

Multiples the point coordinates by a scalar.

Parameters
inPointPoint.
inVectorVector.
Returns
Scalar value.

◆ operator*() [2/3]

Vector2D oevislib_net.Geometry.Vector2D.operator* ( float inValue,
Vector2D inVector )
inlinestatic

Multiplies the vector coordinates by a scalar.

Parameters
inValueMultiplier.
inVectorVector object.
Returns
A new vector2D object with the calculated dimensions.

◆ operator*() [3/3]

Vector2D oevislib_net.Geometry.Vector2D.operator* ( Vector2D inVector,
float inValue )
inlinestatic

Multiplies the vector coordinates by a scalar.

Parameters
inVectorVector object.
inValueMultiplier.
Returns
A new vector2D object with the calculated dimensions.

◆ operator+() [1/3]

Point2D oevislib_net.Geometry.Point2D.operator+ ( Point2D inPoint,
Vector2D inVector )
inlinestatic

Sums the vector dimension to the point coordinates.

Parameters
inPointPoint.
inVectorVector.
Returns
A new Point2D object.

◆ operator+() [2/3]

Point2Di oevislib_net.Geometry.Point2Di.operator+ ( Point2Di inPoint1,
Point2Di inPoint2 )
inlinestatic

Sums points' coordinates.

Parameters
inPoint1First point.
inPoint2Second point.
Returns
A new Point2Di object.

◆ operator+() [3/3]

Vector2D oevislib_net.Geometry.Vector2D.operator+ ( Vector2D inVector1,
Vector2D inVector2 )
inlinestatic

Sums both vector dimensions.

Parameters
inVector1First vector.
inVector2Second vector.
Returns
A new Vector2D object.

◆ operator-() [1/6]

Point2D oevislib_net.Geometry.Point2D.operator- ( Point2D inPoint)
inlinestatic

Parameters
inPoint

◆ operator-() [2/6]

Point2D oevislib_net.Geometry.Point2D.operator- ( Point2D inPoint,
Vector2D inVector )
inlinestatic

Subtracts the vector dimension to the point coordinates.

Parameters
inPointPoint.
inVectorVector.
Returns
A new Point2D object.

◆ operator-() [3/6]

Vector2D oevislib_net.Geometry.Point2D.operator- ( Point2D inPoint1,
Point2D inPoint2 )
inlinestatic

Subtracts both points coordinates.

Parameters
inPoint1First point.
inPoint2Second point.
Returns
A new Vector2D object.

◆ operator-() [4/6]

Point2Di oevislib_net.Geometry.Point2Di.operator- ( Point2Di inPoint1,
Point2Di inPoint2 )
inlinestatic

Subtracts points' coordinates.

Parameters
inPoint1First point.
inPoint2Second point.
Returns
A new Point2Di object.

◆ operator-() [5/6]

Vector2D oevislib_net.Geometry.Vector2D.operator- ( Vector2D inVector)
inlinestatic

Returns a new vector rotated by 180 deg.

Parameters
inVector

◆ operator-() [6/6]

Vector2D oevislib_net.Geometry.Vector2D.operator- ( Vector2D inVector1,
Vector2D inVector2 )
inlinestatic

Subtracts both vector dimensions.

Parameters
inVector1First vector.
inVector2Second vector.
Returns
A new Vector2D object.

◆ operator/()

Point2D oevislib_net.Geometry.Point2D.operator/ ( Point2D inPoint,
float inVector )
inlinestatic

Divides the point coordinates by a scalar.

Parameters
inPointPoint.
inVectorVector.
Returns
Scalar value.

◆ operator<() [1/3]

bool oevislib_net.Geometry.AnnotatedPoint2D.operator< ( AnnotatedPoint2D inAnnotatedPoint1,
AnnotatedPoint2D inAnnotatedPoint2 )
inlinestatic

Compare both point's coordinates using the 'less than' logical operator.

Parameters
inAnnotatedPoint1First annotated point.
inAnnotatedPoint2Second annotated point.
Returns
True if the first object's real point's Y coordinate is smaller, or if Y coordinates are equal and X coordinate is smaller. False otherwise.

◆ operator<() [2/3]

bool oevislib_net.Geometry.Point2D.operator< ( Point2D inPoint1,
Point2D inPoint2 )
inlinestatic

Compare both coordinates using the 'less than' logical operator.

Parameters
inPoint1First point.
inPoint2Second point.
Returns
True if the first point's Y coordinate is smaller, or if Y coordinates are equal and X coordinate is smaller. False otherwise.

◆ operator<() [3/3]

bool oevislib_net.Geometry.Point2Di.operator< ( Point2Di inPoint1,
Point2Di inPoint2 )
inlinestatic

Compare both coordinates using the 'less than' logical operator.

Parameters
inPoint1First point.
inPoint2Second point.
Returns
True if the first object's Y coordinate is smaller, or if Y coordinates are equal and X coordinate is smaller. False otherwise.

◆ operator<=() [1/3]

bool oevislib_net.Geometry.AnnotatedPoint2D.operator<= ( AnnotatedPoint2D inAnnotatedPoint1,
AnnotatedPoint2D inAnnotatedPoint2 )
inlinestatic

Parameters
inAnnotatedPoint1
inAnnotatedPoint2

◆ operator<=() [2/3]

bool oevislib_net.Geometry.Point2D.operator<= ( Point2D inPoint1,
Point2D inPoint2 )
inlinestatic

Parameters
inPoint1
inPoint2

◆ operator<=() [3/3]

bool oevislib_net.Geometry.Point2Di.operator<= ( Point2Di inPoint1,
Point2Di inPoint2 )
inlinestatic

Parameters
inPoint1
inPoint2

◆ operator>() [1/3]

bool oevislib_net.Geometry.AnnotatedPoint2D.operator> ( AnnotatedPoint2D inAnnotatedPoint1,
AnnotatedPoint2D inAnnotatedPoint2 )
inlinestatic

Compare both point's coordinates using the 'greater than' logical operator.

Parameters
inAnnotatedPoint1First annotated point.
inAnnotatedPoint2Second annotated point.
Returns
True if the first object's real point's Y coordinate is greater, or if Y coordinates are equal and X coordinate is greater. False otherwise.

◆ operator>() [2/3]

bool oevislib_net.Geometry.Point2D.operator> ( Point2D inPoint1,
Point2D inPoint2 )
inlinestatic

Compare both coordinates using the 'greater than' logical operator.

Parameters
inPoint1First point.
inPoint2Second point.
Returns
True if the first point's Y coordinate is smaller, or if Y coordinates are equal and X coordinate is smaller. False otherwise.

◆ operator>() [3/3]

bool oevislib_net.Geometry.Point2Di.operator> ( Point2Di inPoint1,
Point2Di inPoint2 )
inlinestatic

Compare both coordinates using the 'greater than' logical operator.

Parameters
inPoint1First point.
inPoint2Second point.
Returns
True if the first object's Y coordinate is greater, or if Y coordinates are equal and X coordinate is greater. False otherwise.

◆ operator>=() [1/3]

bool oevislib_net.Geometry.AnnotatedPoint2D.operator>= ( AnnotatedPoint2D inAnnotatedPoint1,
AnnotatedPoint2D inAnnotatedPoint2 )
inlinestatic

Parameters
inAnnotatedPoint1
inAnnotatedPoint2

◆ operator>=() [2/3]

bool oevislib_net.Geometry.Point2D.operator>= ( Point2D inPoint1,
Point2D inPoint2 )
inlinestatic

Parameters
inPoint1
inPoint2

◆ operator>=() [3/3]

bool oevislib_net.Geometry.Point2Di.operator>= ( Point2Di inPoint1,
Point2Di inPoint2 )
inlinestatic

Parameters
inPoint1
inPoint2

◆ Point2D() [1/5]

oevislib_net.Geometry.Point2D.Point2D ( )
inline

Creates a Point2D in (0,0).

◆ Point2D() [2/5]

oevislib_net.Geometry.Point2D.Point2D ( float inX,
float inY )
inline

Creates a new Point2D given the coordinates.

Parameters
inXX coordinate.
inYY coordinate.

◆ Point2D() [3/5]

oevislib_net.Geometry.Point2D.Point2D ( float inX,
int inY )
inline

Creates a new Point2D given a float and an integer.

Parameters
inXX coordinate.
inYY coordinate.

◆ Point2D() [4/5]

oevislib_net.Geometry.Point2D.Point2D ( int inX,
float inY )
inline

Creates a new Point2D given an integer and a float.

Parameters
inXX coordinate.
inYY coordinate.

◆ Point2D() [5/5]

oevislib_net.Geometry.Point2D.Point2D ( int inX,
int inY )
inline

Creates a new Point2D given the coordinates.

Parameters
inXX coordinate.
inYY coordinate.

◆ Point2Di() [1/2]

oevislib_net.Geometry.Point2Di.Point2Di ( )
inline

Creates a new Point2Di object, with (0,0) coordinates.

◆ Point2Di() [2/2]

oevislib_net.Geometry.Point2Di.Point2Di ( int inX,
int inY )
inline

Creates a new Point2Di object using the provided coordinates.

Parameters
inXX coordinate.
inYY coordinate.

◆ Rectangle2D() [1/5]

oevislib_net.Geometry.Rectangle2D.Rectangle2D ( )
inline

Creates a Rectangle2D with default values.

◆ Rectangle2D() [2/5]

oevislib_net.Geometry.Rectangle2D.Rectangle2D ( float inX,
float inY,
float inAngle,
float inWidth,
float inHeight )
inline

Creates a new Rectangle2D given origin coordinates, angle, width and height.

Parameters
inXX coordinate of the origin point.
inYY coordinate of the origin point.
inAngleInput orientation angle [deg].
inWidthInput width. Range: [0, +inf).
inHeightInput height. Range: [0, +inf).

◆ Rectangle2D() [3/5]

oevislib_net.Geometry.Rectangle2D.Rectangle2D ( Point2D inOrigin,
float inAngle,
float inWidth,
float inHeight )
inline

Creates a new Rectangle2D given origin, angle, width and height.

Parameters
inOriginInput origin.
inAngleInput orientation angle [deg].
inWidthInput width. Range: [0, +inf).
inHeightInput height. Range: [0, +inf).

◆ Rectangle2D() [4/5]

oevislib_net.Geometry.Rectangle2D.Rectangle2D ( Point2D inOrigin,
Point2D inPoint,
float inAngle )
inline

Creates a new Rectangle2D given its origin, the opposite point and the angle.

Parameters
inOriginRectangle's origin.
inPointRectangle's corner opposite to the origin.
inAngleInput orientation angle [deg].

◆ Rectangle2D() [5/5]

oevislib_net.Geometry.Rectangle2D.Rectangle2D ( Point2D inPoint,
Anchor2D inPointAnchor,
float inAngle,
float inWidth,
float inHeight )
inline

Creates a new Rectangle2D using the provided anchor point.

Parameters
inPointInput point.
inPointAnchorPosition of input point.
inAngleInput orientation angle [deg].
inWidthInput width. Range: [0, +inf).
inHeightInput height. Range: [0, +inf).

◆ Ring2D() [1/5]

oevislib_net.Geometry.Ring2D.Ring2D ( )
inline

Creates a new Ring2D with default values.

◆ Ring2D() [2/5]

oevislib_net.Geometry.Ring2D.Ring2D ( Circle2D inCircle,
float inRingWidth,
BorderPosition inBorderPosition )
inline

Creates a new Ring2D given a circle and border width.

Parameters
inCircleInput circle.
inRingWidthRing width. Range: [0, +inf).
inBorderPositionBorder position.

◆ Ring2D() [3/5]

oevislib_net.Geometry.Ring2D.Ring2D ( float inX,
float inY,
float inRadius1,
float inRadius2 )
inline

Creates a new Ring2D given center coordinates and radii.

Parameters
inXX coordinate of the center point.
inYY coordinate of the center point.
inRadius1Inner radius. Range: [0, +inf).
inRadius2Outer radius. Range: [0, +inf).

◆ Ring2D() [4/5]

oevislib_net.Geometry.Ring2D.Ring2D ( Point2D inCenter,
float inRadius1,
float inRadius2 )
inline

Creates a new Ring2D given center and radii.

Parameters
inCenterCenter point.
inRadius1Inner radius. Range: [0, +inf).
inRadius2Outer radius. Range: [0, +inf).

◆ Ring2D() [5/5]

oevislib_net.Geometry.Ring2D.Ring2D ( Point2D inPoint,
Anchor2D inPointAnchor,
float inInnerRadius,
float inOuterRadius )
inline

Creates a new Ring2D given a point and its position relative to the ring bounding box.

Parameters
inPointInput point.
inPointAnchorPoint anchor.
inInnerRadiusInternal radius. Range: [0, +inf).
inOuterRadiusExternal radius. Range: [0, +inf).

◆ Segment2D() [1/4]

oevislib_net.Geometry.Segment2D.Segment2D ( )
inline

Creates a new Segment2D object where both points are (0, 0).

◆ Segment2D() [2/4]

oevislib_net.Geometry.Segment2D.Segment2D ( float inX1,
float inY1,
float inX2,
float inY2 )
inline

Creates a new Segment2D using the provided points coordinates.

Parameters
inX1X coordinate of the starting point.
inY1Y coordinate of the starting point.
inX2X coordinate of the ending point.
inY2Y coordinate of the ending point.

◆ Segment2D() [3/4]

oevislib_net.Geometry.Segment2D.Segment2D ( Point2D inPoint,
float inDirection,
float inLength,
float inPointAnchor = 0::5f )
inline

Creates a new Segment2D given direction, length and a contained point.

Parameters
inPointInput point.
inDirectionSegment direction.
inLengthSegment length. Range: [0, +inf).
inPointAnchorPosition of the point in the segment. If 0, the point is the starting point while, if 1, the point is the end point.

◆ Segment2D() [4/4]

oevislib_net.Geometry.Segment2D.Segment2D ( Point2D inPoint1,
Point2D inPoint2 )
inline

Creates a new Segment2D object using the provided points.

Parameters
inPoint1Starting point.
inPoint2Ending point.

◆ Serialize() [1/13]

ByteBuffer oevislib_net.Geometry.AnnotatedPoint2D.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.

◆ Serialize() [2/13]

ByteBuffer oevislib_net.Geometry.Arc2D.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.

◆ Serialize() [3/13]

ByteBuffer oevislib_net.Geometry.Box.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.

◆ Serialize() [4/13]

ByteBuffer oevislib_net.Geometry.Circle2D.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.

◆ Serialize() [5/13]

ByteBuffer oevislib_net.Geometry.Ellipse2D.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.

◆ Serialize() [6/13]

ByteBuffer oevislib_net.Geometry.Line2D.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.

◆ Serialize() [7/13]

ByteBuffer oevislib_net.Geometry.Point2D.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.

◆ Serialize() [8/13]

ByteBuffer oevislib_net.Geometry.Point2Di.Serialize ( )
inline

Serializes Point2Di object.

Returns
Buffer where the object is stored.

◆ Serialize() [9/13]

ByteBuffer oevislib_net.Geometry.Rectangle2D.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.

◆ Serialize() [10/13]

ByteBuffer oevislib_net.Geometry.Ring2D.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.

◆ Serialize() [11/13]

ByteBuffer oevislib_net.Geometry.Segment2D.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.

◆ Serialize() [12/13]

ByteBuffer oevislib_net.Geometry.UCS2D.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.

◆ Serialize() [13/13]

ByteBuffer oevislib_net.Geometry.Vector2D.Serialize ( )
inline

Serializes the object.

Returns
Buffer where the object is stored.

◆ SetA()

void oevislib_net.Geometry.Line2D.SetA ( float inA)
inline

Sets a new value for the coefficient A in the equation.

Parameters
inANew A.

◆ SetB()

void oevislib_net.Geometry.Line2D.SetB ( float inB)
inline

Sets a new value for the coefficient B in the equation.

Parameters
inBNew B.

◆ SetC()

void oevislib_net.Geometry.Line2D.SetC ( float inC)
inline

Sets a new value for the coefficient C in the equation.

Parameters
inCNew C.

◆ SetCoefficients()

void oevislib_net.Geometry.Line2D.SetCoefficients ( Optional< float > inA = null,
Optional< float > inB = null,
Optional< float > inC = null )
inline

Set all the coefficients of the line.

Parameters
inAInput A coefficient.
inBInput B coefficient.
inCInput C coefficient.

◆ UCS2D() [1/7]

oevislib_net.Geometry.UCS2D.UCS2D ( )
inline

Creates the default UCS2D with default values.

◆ UCS2D() [2/7]

oevislib_net.Geometry.UCS2D.UCS2D ( float inX,
float inY,
float inAngle,
float inScale = 1::0f )
inline

Creates a new UCS2D given origin coordinates, angle and scale.

Parameters
inXX coordinate of the origin point.
inYY coordinate of the origin point.
inAngleInput orientation [deg].
inScaleInput scale. Range: (0, +inf).

◆ UCS2D() [3/7]

oevislib_net.Geometry.UCS2D.UCS2D ( Point2D inOrigin,
float inAngle = 0::0f,
float inScale = 1::0f )
inline

Creates a new UCS2D given origin, angle and scale.

Parameters
inOriginInput origin.
inAngleInput orientation [deg].
inScaleInput scale. Range: (0, +inf).

◆ UCS2D() [4/7]

oevislib_net.Geometry.UCS2D.UCS2D ( Point2D inPoint1,
Point2D inPoint2,
float inAngle,
float inScale = 1::0f,
float inScaleDivisor = 1::0f )
inline

Creates a new UCS2D given two points on its axes.

Parameters
inPoint1First point.
inPoint2Second point.
inAngleInput orientation [deg].
inScaleRelative scale. Range: (0, +inf).
inScaleDivisorScale divisor. Range: (0, +inf).

◆ UCS2D() [5/7]

oevislib_net.Geometry.UCS2D.UCS2D ( Rectangle2D inRectangle,
float inRelativeAngle,
float inScale = 1::0f,
float inScaleDivisor = 1::0f,
Anchor2D inPointAnchor = Anchor2D::TopLeft )
inline

Creates a new UCS2D from a reference rectangle.

Parameters
inRectangleInput reference rectangle.
inRelativeAngleRelative angle [deg].
inScaleInput scale. Range: (0, +inf).
inScaleDivisorScale divisor. Range: (0, +inf).
inPointAnchorRelative position of the rectangle origin with respect to the coordinate system origin.

◆ UCS2D() [6/7]

oevislib_net.Geometry.UCS2D.UCS2D ( Segment2D inSegment,
float inRelativeAngle,
float inScale = 1::0f,
float inScaleDivisor = 1::0f,
float inPointAnchor = 0::0f )
inline

Creates a new UCS2D from a reference segment.

Parameters
inSegmentReference segment.
inRelativeAngleRelative angle [deg].
inScaleCoordinate system scale. Range: (0, +inf).
inScaleDivisorScale divisor. Range: (0, +inf).
inPointAnchorRelative position of the coordinate system origin between the segment points. Range [0, 1].

◆ UCS2D() [7/7]

oevislib_net.Geometry.UCS2D.UCS2D ( Vector2D inDelta,
float inAngle,
float inScale = 1::0f )
inline

Creates a new UCS2D given a translation vector, angle and scale.

Parameters
inDeltaShift from (0,0).
inAngleInput orientation [deg].
inScaleInput scale. Range: (0, +inf).

◆ Vector2D() [1/4]

oevislib_net.Geometry.Vector2D.Vector2D ( )
inline

Creates a default Vector2D with length 0.

◆ Vector2D() [2/4]

oevislib_net.Geometry.Vector2D.Vector2D ( float inDeltaX,
float inDeltaY )
inline

Creates a new Vector2D given its dimensions.

Parameters
inDeltaXVector length along the X axis.
inDeltaYVector length along the Y axis.

◆ Vector2D() [3/4]

oevislib_net.Geometry.Vector2D.Vector2D ( int inDeltaX,
int inDeltaY )
inline

Creates a new Vector2D given its dimensions.

Parameters
inDeltaXVector length along the X axis.
inDeltaYVector length along the Y axis.

◆ Vector2D() [4/4]

oevislib_net.Geometry.Vector2D.Vector2D ( Point2D inFrom,
Point2D inTo )
inline

Creates a new Vector2D using the provided points.

Parameters
inFromStarting point.
inToEnding point.