Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify spelling of "parametrize" #150

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/specializations/BezierCurve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Like [`integral`](@ref) but integrates along the domain defined by `curve`.
- `diff_method::DifferentiationMethod = Analytical()`: the method to use for
calculating Jacobians that are used to calculate differential elements
- `FP = Float64`: the floating point precision desired
- `alg = Meshes.Horner()`: the method to use for parameterizing `curve`. Alternatively,
- `alg = Meshes.Horner()`: the method to use for parametrizing `curve`. Alternatively,
`alg=Meshes.DeCasteljau()` can be specified for increased accuracy, but comes with a
steep performance cost, especially for curves with a large number of control points.
"""
Expand Down
4 changes: 2 additions & 2 deletions src/specializations/ConeSurface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Why Specialized?
# The parametric function that Meshes.jl currently implements for ConeSurface
# only parameterizes the rounded walls of the cone, but this Geometry surface is
# only parametrizes the rounded walls of the cone, but this Geometry surface is
# defined as including the circular base surface as well. These methods simply
# integrate both the base and walls and return the sum of the two integrals.
################################################################################
Expand All @@ -14,7 +14,7 @@ function integral(
rule::I;
kwargs...
) where {I <: IntegrationRule}
# The generic method only parameterizes the sides
# The generic method only parametrizes the sides
sides = _integral(f, cone, rule; kwargs...)

# Integrate the Disk at the base
Expand Down
4 changes: 2 additions & 2 deletions src/specializations/CylinderSurface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Why Specialized?
# The parametric function that Meshes.jl currently implements for CylinderSurface
# only parameterizes the rounded walls, but this Geometry surface is defined as
# only parametrizes the rounded walls, but this Geometry surface is defined as
# including the top and bottom circular base surfaces as well. These methods
# simply integrate the base and walls and return the sum of the three integrals.
################################################################################
Expand All @@ -14,7 +14,7 @@ function integral(
rule::I;
kwargs...
) where {I <: IntegrationRule}
# The generic method only parameterizes the sides
# The generic method only parametrizes the sides
sides = _integral(f, cyl, rule; kwargs...)

# Integrate the Disk at the top
Expand Down
4 changes: 2 additions & 2 deletions src/specializations/FrustumSurface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Why Specialized?
# The parametric function that Meshes.jl currently implements for FrustumSurface
# only parameterizes the rounded walls, but this Geometry surface is defined as
# only parametrizes the rounded walls, but this Geometry surface is defined as
# including the truncated top and bottom surfaces as well. These methods simply
# integrate both the walls and the ends and return the sum of the these integrals.
################################################################################
Expand All @@ -14,7 +14,7 @@ function integral(
rule::I;
kwargs...
) where {I <: IntegrationRule}
# The generic method only parameterizes the sides
# The generic method only parametrizes the sides
sides = _integral(f, frust, rule; kwargs...)

# Integrate the Disks at the top and bottom
Expand Down
2 changes: 1 addition & 1 deletion test/combinations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ end
if pkgversion(Meshes) >= v"0.51.20"
using CoordRefSystems: Polar

# Parameterize a circle centered on origin with specified radius
# Parametrize a circle centered on origin with specified radius
radius = 4.4
curve_cart = ParametrizedCurve(
t -> Point(radius * cos(t), radius * sin(t)), (0.0, 2π))
Expand Down
Loading