Point2D#
- class ansys.geometry.core.math.point.Point2D(input: numpy.ndarray | ansys.geometry.core.typing.RealSequence = DEFAULT_POINT2D_VALUES, unit: pint.Unit | None = None)#
- Bases: - numpy.ndarray,- ansys.geometry.core.misc.units.PhysicalQuantity- Provides geometry primitive representation for a 2D point. - Parameters:
- inputndarray|RealSequence, default:DEFAULT_POINT2D_VALUES
- Direction arguments, either as a - numpy.ndarrayclass or as a- RealSequence.
- unitUnit|None, default:DEFAULT_UNITS.LENGTH
- Units for defining 2D point values. If not specified, the default unit is - DEFAULT_UNITS.LENGTH.
 
- input
 
Overview#
Import detail#
from ansys.geometry.core.math.point import Point2D
Property detail#
- property Point2D.x: pint.Quantity#
- X plane component value. 
- property Point2D.y: pint.Quantity#
- Y plane component value. 
Attribute detail#
- Point2D.flat#
Method detail#
- Point2D.__add__(other: Point2D | ansys.geometry.core.math.vector.Vector2D) Point2D#
- Add operation for the - Point2Dclass.
 
    