Geometry2d Class
This is the base class all 2d primitives should inherit.
Public MustInherit Class Geometry2d
Implements IExtents2d
This language is not supported or no code example is available.
This language is not supported or no code example is available.
public ref class Geometry2d abstract : public IExtents2d^
This language is not supported or no code example is available.
public abstract class Geometry2d
implements IExtents2d
This language is not supported or no code example is available.
|
Name
|
Description
|
|
Extents
|
Gets the bounding box of this object.
|
Top
|
Name
|
Description
|
|
Distance(Point2d)
|
Computes the distance from a point to this object.
|
|
Mirror(Point2d, Point2d)
|
Reflects the object over a line specified by two points.
|
|
Rotate(double)
|
Rotates the object around origo.
|
|
Rotate(double, Point2d)
|
Rotates the object around a given point.
|
|
Scale(double)
|
Scales the object with a factor. A factor larger than 1.0
makes it larger, and less than 1.0 smaller.
|
|
Scale(double, Point2d)
|
Scales the object using a given scaling center. A factor larger than 1.0
makes it larger, and less than 1.0 smaller.
|
|
ToPoly()
|
Converts the object to a Poly2d representation. Some objects that cannot be represented using a Poly2d
only, eg. Region2d. Use with care!
|
|
ToPoly(double)
|
Converts the object to a Poly2d representation. Some objects that cannot be represented using a Poly2d
only, eg. Region2d. Use with care!
|
|
ToRegion(double)
|
Converts the object to a Region2d representation. Some objects that cannot be represented exactly uses
a tolerance to approximate themselves to a region.
|
|
Transform(Matrix2d)
|
Transforms the object with a matrix.
|
|
Translate(double, double)
|
Moves the object a specified distance.
|
|
Translate(Vector2d)
|
Moves the 2d object using a vector.
|
Top
|
Name
|
Description
|
|
Tag
|
User data for this object. This can be used freely for any purpose.
|
Top
.NET Framework
Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8