Class Point
Represents a point EntityObject.
Inherited Members
Namespace: netDxf.Entities
Assembly: CADability.dll
Syntax
public class Point : EntityObject, IHasXData, ICloneable
Constructors
| Improve this Doc View SourcePoint()
Initializes a new instance of the Point class.
Declaration
public Point()
Point(Vector2)
Initializes a new instance of the Point class.
Declaration
public Point(Vector2 position)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | position | Point Vector2. |
Point(Vector3)
Initializes a new instance of the Point class.
Declaration
public Point(Vector3 position)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | position | Point Vector3. |
Point(Double, Double, Double)
Initializes a new instance of the Point class.
Declaration
public Point(double x, double y, double z)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x | X coordinate. |
| System.Double | y | Y coordinate. |
| System.Double | z | Z coordinate. |
Properties
| Improve this Doc View SourcePosition
Gets or sets the point Vector3.
Declaration
public Vector3 Position { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
Rotation
Gets or sets the point local rotation in degrees along its normal.
Declaration
public double Rotation { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Thickness
Gets or sets the point thickness.
Declaration
public double Thickness { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Methods
| Improve this Doc View SourceClone()
Creates a new Point that is a copy of the current instance.
Declaration
public override object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A new Point that is a copy of this instance. |
Overrides
| Improve this Doc View SourceTransformBy(Matrix3, Vector3)
Moves, scales, and/or rotates the current entity given a 3x3 transformation matrix and a translation vector.
Declaration
public override void TransformBy(Matrix3 transformation, Vector3 translation)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3 | transformation | Transformation matrix. |
| Vector3 | translation | Translation vector. |
Overrides
Remarks
Matrix3 adopts the convention of using column vectors to represent a transformation matrix.