Пример #1
0
 /// <summary>
 /// Initializes new instance of <see cref="PointGeometry"/>.
 /// </summary>
 /// <param name="position">The position of the point.</param>
 /// <param name="boundingBox">The <see cref="GeometryBoundingBox"/> to use.</param>
 /// <param name="additionalProperties">The set of additional properties associated with the <see cref="Geometry"/>.</param>
 public PointGeometry(GeometryPosition position, GeometryBoundingBox?boundingBox, IReadOnlyDictionary <string, object?> additionalProperties) : base(boundingBox, additionalProperties)
 {
     Position = position;
 }
Пример #2
0
 /// <summary>
 /// Initializes new instance of <see cref="PointGeometry"/>.
 /// </summary>
 /// <param name="position">The position of the point.</param>
 public PointGeometry(GeometryPosition position) : this(position, null, DefaultProperties)
 {
 }