Points

Meshes.PointType
Point{Dim,T}

A point in Dim-dimensional space with coordinates of type T. The coordinates of the point provided upon construction are with respect to the canonical Euclidean basis.

Example

O = Point(0.0, 0.0) # origin of 2D Euclidean space

Notes

  • Type aliases are Point1, Point2, Point3, Point1f, Point2f, Point3f
source
Meshes.embeddimMethod
embeddim(point)

Return the number of dimensions of the space where the point is embedded.

source
embeddim(domain)

Return the number of dimensions of the space where the domain is embedded.

source
embeddim(geometry)

Return the number of dimensions of the space where the geometry is embedded.

source
Meshes.coordtypeMethod
coordtype(point)

Return the machine type of each coordinate used to describe the point.

source
coordtype(domain)

Return the machine type of each coordinate used to describe the domain.

source
coordtype(geometry)

Return the machine type of each coordinate used to describe the geometry.

source
Meshes.coordinatesMethod
coordinates(A::Point)

Return the coordinates of the point with respect to the canonical Euclidean basis.

source
Base.:-Method
-(A::Point, B::Point)

Return the Vec associated with the direction from point A to point B.

source
Base.:+Method
+(A::Point, v::Vec)
+(v::Vec, A::Point)

Return the point at the end of the vector v placed at a reference (or start) point A.

source
Base.:-Method
-(A::Point, v::Vec)
-(v::Vec, A::Point)

Return the point at the end of the vector -v placed at a reference (or start) point A.

source
Base.isapproxMethod
isapprox(A::Point, B::Point)

Tells whether or not the coordinates of points A and B are approximately equal.

source