|
oevislib_net
0.14.3.0
|
Functions | |
| static Conditional< Arc2D > | oevislib_net.Geometry.Constructions.ArcThroughPoints (Point2D inPoint1, Point2D inPoint2, Point2D inPoint3) |
| Creates an arc using 3 points. | |
| static Conditional< Circle2D > | oevislib_net.Geometry.Constructions.CircleBetweenTangents (Line2D inLine1, Line2D inLine2, Point2D inPoint, bool inGetMaxRadius) |
| Creates a circle using two tangent lines and a point on the circle. | |
| static Conditional< Circle2D > | oevislib_net.Geometry.Constructions.CircleThroughPoints (Point2D inPoint1, Point2D inPoint2, Point2D inPoint3) |
| Creates a circle passing through three points. | |
| static Array< Point2D > | oevislib_net.Geometry.Constructions.MakePointGrid (Point2D inPoint, int inRowCount, int inColumnCount, float inRowStep=1.0f, float inColumnStep=1.0f, Anchor2D inAnchor=Anchor2D.TopLeft) |
| Creates a point grid starting from an anchor point. | |
| static Array< Point2D > | oevislib_net.Geometry.Constructions.MakePointGrid (Rectangle2D inRectangle, int inRowCount, int inColumnCount, float inMarginWidth, float inMarginHeight, Optional< UCS2D > inAlignment=null, Optional< Rectangle2D > outAlignedRectangle=null) |
| Creates a point grid starting from an anchor point and the provided oriented rectangle. | |
| static Segment2D | oevislib_net.Geometry.Constructions.NormalSegment (Segment2D inSegment, Point2D inMidpoint, float inLength=1.0f) |
| Creates a new segment normal to the input segment, with a specific midpoint and length. | |
Rectangle2D Constructions | |
| |
| void | oevislib_net.Geometry.Rectangle2D.Split (Rectangle2D outRectangle1, Rectangle2D outRectangle2, SplitDirection inSplitDirection) |
| Splits the rectangle along the provided direction. | |
Vector2D Constructions | |
| |
| static Vector2D | oevislib_net.Geometry.Vector2D.FromDirection (float inLength, float inDirection) |
| Creates a new Vector 2D given length and direction. | |
|
inlinestatic |
Creates an arc using 3 points.
When the three points are collinear, the arc does not exist and the Conditional output will be null. Coincident points result in an arc with center set to inPoint1 and all the other dimensions set to 0. The arc's angles, when it exists, are computed starting in inPoint1 and ending in inPoint3, going clockwise.
| inPoint1 | First input point. |
| inPoint2 | Second input point. |
| inPoint3 | Third input point. |
|
inlinestatic |
Creates a circle using two tangent lines and a point on the circle.
| inLine1 | First tangent line. |
| inLine2 | Second tangent line. |
| inPoint | A point on the circumference. |
| inGetMaxRadius | If true, return the circle that has maximum radius. |
|
inlinestatic |
Creates a circle passing through three points.
If the three points are collinear, the circle does not exist and the Conditional output will be null.
| inPoint1 | First input point. |
| inPoint2 | Second input point. |
| inPoint3 | Third input point. |
|
inlinestatic |
Creates a new Vector 2D given length and direction.
| inLength | Desired length of the vector in pixels. Range: [0, +inf). |
| inDirection | Desired direction of the vector in degrees. |
|
inlinestatic |
Creates a point grid starting from an anchor point.
| inPoint | Reference point. |
| inRowCount | Number of rows. Range: [0, +inf). |
| inColumnCount | Number of columns. Range: [0, +inf). |
| inRowStep | Distance between grid rows. Range: [0, +inf). |
| inColumnStep | Distance between grid columns. Range: [0, +inf). |
| inAnchor | Position of the reference point with respect to the grid bounding box. |
|
inlinestatic |
Creates a point grid starting from an anchor point and the provided oriented rectangle.
| inRectangle | Input rectangle. |
| inRowCount | Number of rows. Range: [2, +inf). |
| inColumnCount | Number of columns. Range: [2, +inf). |
| inMarginWidth | Grid's margin width. Range: [0, +inf). |
| inMarginHeight | Grid's margin height. Range: [0, +inf). |
| inAlignment | Input rectangle alignment. |
| outAlignedRectangle | Input rectangle moved into the provided coordinate system. |
|
inlinestatic |
Creates a new segment normal to the input segment, with a specific midpoint and length.
| inSegment | Input segment. |
| inMidpoint | Midpoint of the new segment. |
| inLength | Length of the new segment. |
|
inline |
Splits the rectangle along the provided direction.
| outRectangle1 | First half of the rectangle. |
| outRectangle2 | Second half of the rectangle. |
| inSplitDirection | Split direction. |