|
| | oevislib_net.Region.Region () |
| | Creates a new empty Region.
|
| | oevislib_net.Region.Region (int inWidth, int inHeight) |
| | Creates a new Region given frame dimensions.
|
| | oevislib_net.Region.Region (Size inFrame) |
| | Creates a new Region given a frame.
|
| | oevislib_net.Region.Region (Size inFrame, Array< PointsSequence > inPointsSequences) |
| | Creates a new Region using a frame and a set of points.
|
| ByteBuffer | oevislib_net.Region.Serialize () |
| | Serializes the object.
|
| static Region | oevislib_net.Region.Deserialize (ByteBuffer inBuffer) |
| | De-serialize a Region buffer.
|
| Size | oevislib_net.Region.GetFrame () |
| | Returns the region frame.
|
| int | oevislib_net.Region.GetSize () |
| | Returns the number of points sequence in the region.
|
| PointsSequence[] | oevislib_net.Region.GetData () |
| | Returns the raw data pointer to the PointsSequence array.
|
| void | oevislib_net.Region.Reserve (int inNewCapacity) |
| | Reserves (but not allocates) space for the Region data.
|
| void | oevislib_net.Region.SetFrame (Size inFrame) |
| | Sets a new frame for the region.
|
| void | oevislib_net.Region.Swap (Region inRegion) |
| | Exchange the content of two regions.
|
| void | oevislib_net.Region.Add (PointsSequence inPointsSequence) |
| | Adds a new PointsSequence to the region.
|
| void | oevislib_net.Region.Add (Point2Di inOffset, int inLength) |
| | Adds a new PointsSequence to the region, given the starting point and its length.
|
| Array< Point2Di > | oevislib_net.Region.GetPoints () |
| | Returns all the points contained in the region.
|
| static Region | oevislib_net.Region.FromPoints (Array< Point2Di > inPositions, Size inFrame) |
| | Creates a new region compressing the provided points into sequences.
|
| static Region | oevislib_net.Region.FromBox (Box inBox, Size inFrame) |
| | Creates a new region from a box.
|
| static Region | oevislib_net.Region.FromBoxBorders (Box inBox, Size inFrame, int inBorderWidth=1, BorderPosition inBorderPosition=BorderPosition.Centered) |
| | Creates a new region starting from the borders of a box.
|
| static Region | oevislib_net.Region.FromEllipse (Ellipse2D inEllipse, Size inFrame, Optional< UCS2D > inEllipseAlignment=null, Optional< Ellipse2D > outAlignedEllipse=null) |
| | Creates a new region from an ellipse object.
|
| static Region | oevislib_net.Region.FromRing (Ring2D inRing, Size inFrame, Optional< UCS2D > inRingAlignment=null, Optional< Ring2D > outAlignedRing=null) |
| | Creates a new region from a ring.
|
| static Region | oevislib_net.Region.FromCross (Box inCrossBoundingBox, Size inFrame) |
| | Creates a new region from a cross shape.
|
| static Region | oevislib_net.Region.FromGrid (Box inGridBoundingBox, Size inFrame, int inHorizontalStep=1, int inVerticalStep=1) |
| | Creates a new region with a grid shape.
|
| static Region | oevislib_net.Region.FromCircle (Circle2D inCircle, Size inFrame, Optional< UCS2D > inCircleAlignment=null, Optional< Circle2D > outAlignedCircle=null) |
| | Creates a new region given a circle.
|
| static Region | oevislib_net.Region.FromPolygon (Path inPolygon, Size inFrame, Optional< UCS2D > inPolygonAlignment=null, Optional< Path > outAlignedPolygon=null) |
| | Creates a new region given a polygon.
|
| static Region | oevislib_net.Region.FromPath (Path inPath, Size inFrame, float inWidth=1.0f, Optional< UCS2D > inPathAlignment=null, Optional< Path > outAlignedPath=null) |
| | Creates a new region given a path and a width.
|
| static Region | oevislib_net.Region.FromRectangle (Rectangle2D inRectangle, Size inFrame, Optional< UCS2D > inRectangleAlignment=null, Optional< Rectangle2D > outAlignedRectangle=null) |
| | Creates a new region given a rectangle.
|
| bool | oevislib_net.Region.IsOnFrame () |
| | Checks if the region is adjacent to its frame.
|
| bool | oevislib_net.Region.IsEmpty () |
| | Checks if the region contains any point.
|
| static Region | oevislib_net.Region.FromSegment (Segment2D inSegment, Size inFrame, float inWidth=1.0f, Optional< UCS2D > inSegmentAlignment=null, Optional< Segment2D > outAlignedSegment=null) |
| | Creates a new region from a segment.
|
| static Region | oevislib_net.Region.FromLine (Line2D inLine, Size inFrame, float inWidth=1, Optional< UCS2D > inLineAlignment=null, Optional< Line2D > outAlignedLine=null) |
| | Creates a new region from a line.
|
| void | oevislib_net.Region.Verify () |
| | Checks if the region is valid.
|