LavishNav:Point (Region Type)
What is a Point?
A point is a location with zero size in any dimension.
A point contains another point only if it is the same exact location. For example, a point defined at 0,0,0 contains a given point only if it is also 0,0,0.
The nearest point (and only point) within this region to any given point is the defined location of the point. For example, the nearest point within a point defined at 0,0,0 to a given point at 1,1,1 is 0,0,0.
The center point (and only point) within this region is the defined location of the point. For example, the center point of a point defined at 0,0,0 is 0,0,0.
- X-coordinate. Defaults to 0.
- Y-coordinate. Defaults to 0.
- Z-coordinate. Defaults to 0.
Programming with points
; This code creates a point region at point 1,1,1. It also uses automatic name generation. LavishNav.Tree:AddChild[point,"auto",1,1,1]
Example XML code
<Point Name="Banker"> <X>1.234</X> <Y>2.34567</Y> <Z>3.14159</Z> </Point>