|
oevislib_net
0.14.3.0
|
Functions | |
| static Point2D | oevislib_net.Geometry.Features.Points.PointsMassCenter (Array< Point2D > inPoints) |
| Computes the mass center of the points array. | |
| static Box | oevislib_net.Geometry.Features.Points.PointsBoundingBox (Array< Point2D > inPoints) |
| Computes the smallest box that contains all the provided points. | |
| static Circle2D | oevislib_net.Geometry.Features.Points.PointsBoundingCircle (Array< Point2D > inPoints) |
| Computes the smaller circle that contains all the provided points. | |
| static Path | oevislib_net.Geometry.Features.Points.PointsConvexHull (Array< Point2D > inPoints) |
| Computes the convex hull of the provided points array. | |
| static Path | oevislib_net.Geometry.Features.Points.PointsConcaveHull (Array< Point2D > inPoints, int inNearestNeighbors) |
| Computes the concave hull of the provided points array. | |
| static Rectangle2D | oevislib_net.Geometry.Features.Points.PointsBoundingRect (Array< Point2D > inPoints, float inAngle) |
| Computes the smallest rectangle that contains the provided points and has the provided orientation. | |
| static Rectangle2D | oevislib_net.Geometry.Features.Points.PointsBoundingRect (Array< Point2D > inPoints, RectangleOrientation inRectangleOrientation=RectangleOrientation.Horizontal) |
| Computes the smallest rectangle that contains the provided points. | |
| static Segment2D | oevislib_net.Geometry.Features.Points.PointsDiameter (Array< Point2D > inPoints) |
| Computes the longest segment connecting two points of the provided array. | |
| static void | oevislib_net.Geometry.Features.Points.PointsCaliperDiameter (Array< Point2D > inPoints, Optional< Segment2D > outMinDiameter=null, Optional< Segment2D > outMaxDiameter=null) |
| Computes the longest and shortest segments connecting two points of the provided array. | |
Arc2D Features | |
| |
| Point2D | oevislib_net.Geometry.Arc2D.GetMidpoint () |
| Returns the arc midpoint. | |
| void | oevislib_net.Geometry.Arc2D.GetEndpoints (Point2D outPoint1, Point2D outPoint2) |
| Returns both arc endpoints. | |
| float | oevislib_net.Geometry.Arc2D.GetLength () |
| Returns the arc length. | |
| Circle2D | oevislib_net.Geometry.Arc2D.GetCircle () |
| Returns the circle containing the arc. | |
Circle2D Features | |
| |
| Point2D | oevislib_net.Geometry.Circle2D.GetAnchoredPoint (Anchor2D inPointAnchor) |
| Returns a circle characteristic point. | |
| float | oevislib_net.Geometry.Circle2D.GetArea () |
| Returns the circle area. | |
| float | oevislib_net.Geometry.Circle2D.GetPerimeter () |
| Returns the circle perimeter. | |
| Arc2D | oevislib_net.Geometry.Circle2D.GetArcSection (float inStartAngle, float inSweepAngle) |
| Returns an arc section from the circle using the provided angles. | |
| Box | oevislib_net.Geometry.Circle2D.GetBoundingBox () |
| Returns the box with minimum area that contains the entire circle. | |
| Rectangle2D | oevislib_net.Geometry.Circle2D.GetBoundingRect (Optional< float > inAngle=null) |
| Computes the rectangle with minium area that contains the entire circle. | |
| Array< Line2D > | oevislib_net.Geometry.Circle2D.GetTangents (Point2D inPoint) |
| Returns the lines that are tangents to the Circle2D object. | |
Ellipse2D Features | |
| |
| Rectangle2D | oevislib_net.Geometry.Ellipse2D.GetBoundingRect () |
| Returns the rectangle with minimum area that contains the entire ellipse. | |
| Box | oevislib_net.Geometry.Ellipse2D.GetBoundingBox () |
| Returns the box with minimum area that contains the entire ellipse. | |
Line2D Features | |
| |
| float | oevislib_net.Geometry.Line2D.GetOrientation () |
| Computes the line orientation. | |
| Vector2D | oevislib_net.Geometry.Line2D.GetNormalVector (bool inReverse) |
| Computes the vector normal to the line. | |
| Point2D | oevislib_net.Geometry.Line2D.GetPoint (float inCoordinate, Axis inAxis) |
| Returns a point on the line with the provided coordinate. | |
Rectangle2D Features | |
| |
| Point2D | oevislib_net.Geometry.Rectangle2D.GetCenter () |
| Returns the rectangle center. | |
| Point2D | oevislib_net.Geometry.Rectangle2D.GetCorner (RectangleCorner inRectangleCorner) |
| Returns a rectangle corner. | |
| void | oevislib_net.Geometry.Rectangle2D.GetCorners (Point2D outTopLeft, Point2D outTopRight, Point2D outBottomRight, Point2D outBottomLeft) |
| Computes all the rectangle corners. | |
| Point2D | oevislib_net.Geometry.Rectangle2D.GetAnchoredPoint (Anchor2D inPointAnchor) |
| Computes the rectangle points found at the provided anchor. | |
| float | oevislib_net.Geometry.Rectangle2D.GetArea () |
| Returns the rectangle area. | |
| float | oevislib_net.Geometry.Rectangle2D.GetPerimeter () |
| Returns the rectangle perimeter. | |
| Box | oevislib_net.Geometry.Rectangle2D.GetBoundingBox () |
| Returns the box with minimum area that contains the entire rectangle. | |
| Circle2D | oevislib_net.Geometry.Rectangle2D.GetBoundingCircle () |
| Returns the circle with minimum area that contains the entire rectangle. | |
Ring2D Features | |
| |
| Box | oevislib_net.Geometry.Ring2D.GetBoundingBox () |
| Returns the box with minimum area that contains the entire ring. | |
Segment2D Features | |
| |
| Point2D | oevislib_net.Geometry.Segment2D.GetCenter () |
| Returns the center of the segment. | |
| float | oevislib_net.Geometry.Segment2D.GetLength () |
| Returns the segment length. | |
| Line2D | oevislib_net.Geometry.Segment2D.GetBisector () |
| Returns the segment bisector. | |
| Vector2D | oevislib_net.Geometry.Segment2D.GetNormalVector (bool inReverse) |
| Returns a unary vector with direction normal to the segment. | |
| Line2D | oevislib_net.Geometry.Segment2D.GetLine () |
| Computes the line containing the segment. | |
| Vector2D | oevislib_net.Geometry.Segment2D.GetVector () |
| Returns the corresponding vector. | |
| float | oevislib_net.Geometry.Segment2D.GetOrientation (AngleRange inAngleRange) |
| Returns the segment direction normalized to the provided range. | |
Vector2D Features | |
| |
| float | oevislib_net.Geometry.Vector2D.GetDirection () |
| Computes the vector direction. | |
| float | oevislib_net.Geometry.Vector2D.GetLength () |
| Returns the vector length. | |
| float | oevislib_net.Geometry.Vector2D.GetLength2 () |
| Returns the vector squared length. | |
Returns a circle characteristic point.
| inPointAnchor | Anchor of the returned point. |
Computes the rectangle points found at the provided anchor.
| inPointAnchor | Selects the rectangle point that must be returned. |
|
inline |
Returns an arc section from the circle using the provided angles.
| inStartAngle | Input start angle. |
| inSweepAngle | Input sweep angle. |
|
inline |
Returns the circle area.
|
inline |
Returns the rectangle area.
|
inline |
Returns the segment bisector.
|
inline |
Returns the box with minimum area that contains the entire circle.
|
inline |
Returns the box with minimum area that contains the entire ellipse.
|
inline |
Returns the box with minimum area that contains the entire rectangle.
|
inline |
Returns the box with minimum area that contains the entire ring.
|
inline |
Returns the circle with minimum area that contains the entire rectangle.
|
inline |
Computes the rectangle with minium area that contains the entire circle.
| inAngle | The rectangle's orientation angle. If Null, the angle will be set to 0. |
|
inline |
Returns the rectangle with minimum area that contains the entire ellipse.
|
inline |
Returns the rectangle center.
|
inline |
Returns the center of the segment.
|
inline |
Returns the circle containing the arc.
|
inline |
Returns a rectangle corner.
| inRectangleCorner | Selects which corner must be returned. |
|
inline |
Computes all the rectangle corners.
| outTopLeft | Computed top left corner. |
| outTopRight | Computed top right corner. |
| outBottomRight | Computed bottom right corner. |
| outBottomLeft | Computed bottom left corner. |
|
inline |
Computes the vector direction.
Returns both arc endpoints.
| outPoint1 | First arc endpoint. |
| outPoint2 | Second arc endpoint. |
|
inline |
Returns the arc length.
|
inline |
Returns the segment length.
|
inline |
Returns the vector length.
|
inline |
Returns the vector squared length.
|
inline |
Computes the line containing the segment.
|
inline |
Returns the arc midpoint.
|
inline |
Computes the vector normal to the line.
| inReverse | If true, the computed vector is rotated by 180 degrees. |
|
inline |
Returns a unary vector with direction normal to the segment.
| inReverse | If true, the computed vector has the opposite direction. |
|
inline |
Computes the line orientation.
|
inline |
Returns the segment direction normalized to the provided range.
| inAngleRange | Range in which the computed angle is contained. |
|
inline |
Returns the circle perimeter.
|
inline |
Returns the rectangle perimeter.
Returns a point on the line with the provided coordinate.
If the line is vertical and the provided coordinate is on the X axis, the point's Y coordinate will be NaN. The same is true if the line is horizontal and the coordinate is on the Y axis.
| inCoordinate | Value of the fixed coordinate. |
| inAxis | Axis of the provided coordinate. |
|
inline |
Returns the corresponding vector.
|
inlinestatic |
Computes the smallest box that contains all the provided points.
| inPoints | Input points. |
|
inlinestatic |
Computes the smaller circle that contains all the provided points.
| inPoints | Input points. |
|
inlinestatic |
Computes the smallest rectangle that contains the provided points and has the provided orientation.
| inPoints | Input points. |
| inAngle | Rectangle orientation. |
|
inlinestatic |
Computes the smallest rectangle that contains the provided points.
| inPoints | Input points. |
| inRectangleOrientation | Orientation of the output rectangle |
|
inlinestatic |
Computes the longest and shortest segments connecting two points of the provided array.
| inPoints | Input points. |
| outMinDiameter | Shortest segment. |
| outMaxDiameter | Longest segment. |
|
inlinestatic |
Computes the concave hull of the provided points array.
| inPoints | Input points |
| inNearestNeighbors | Number of nearest-neighbors to search for at each step. Higher values yields a smoother polygon. |
|
inlinestatic |
Computes the convex hull of the provided points array.
| inPoints | Input points. |
|
inlinestatic |
Computes the longest segment connecting two points of the provided array.
| inPoints | Input points. |