// ValueOrZero will return the value of p if it is valid, or a newly constructed
// zero-value types.SFPoint otherwise.
ValueOrZero will return the value of p if it is valid, or a newly constructed
zero-value types.SFPoint otherwise.
// ValueOrZero will return the value of p if it is valid or a newly constructed // zero - value types . SFPoint otherwise .
func (p SFPoint) ValueOrZero() types.SFPoint {
	if !p.Valid {
		return types.SFPoint{}
	}
	return p.Point
}
func ( p SFPoint ) ValueOrZero ( ) types . SFPoint { if ! p . Valid { return types . SFPoint { } } return p . Point }
ValueOrZero will return the value of p if it is valid, or a newly constructed
zero-value types.SFPoint otherwise.
ValueOrZero will return the value of p if it is valid or a newly constructed zero - value types . SFPoint otherwise .